[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Anaconda Traceback when using %pre scripts
- From: prasad tvs <prasadtvs_2003 yahoo com>
- To: Discussion list about Kickstart <kickstart-list redhat com>
- Subject: Re: Anaconda Traceback when using %pre scripts
- Date: Tue, 29 Apr 2008 11:00:16 -0700 (PDT)
May I know which interpreter are you using..?Curios about "Is that interpreter actually supported..?"
Thanks,
Prasad.
Peter Åstrand <astrand cendio se> wrote:
Suddenly, the Anaconda installer gives me tracebacks when using %pre
scripts. I can see the last part of the traceback:
File "/usr/lib/anaconda/kickstart.py", line 90,
os.chmod("%s" % messages, 0600)
OSError: [Errno 2] No such file or directory: 'False'
From looking at the code, I believe that the problem is that
"self.logfile" is False rather than None:
if self.logfile is not None:
messages = self.logfile
elif serial:
messages = "%s.log" % path
else:
messages = "/dev/tty3"
Any ideas?
Best regards,
---
Peter Åstrand ThinLinc Chief Developer
Cendio AB
http://www.cendio.se
Wallenbergs gata 4
583 30 Linköping Phone: +46-13-21 46 00_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://www.redhat.com/mailman/listinfo/kickstart-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]