Anaconda Traceback when using %pre scripts

prasad tvs prasadtvs_2003 at yahoo.com
Tue Apr 29 18:00:16 UTC 2008


May I know which interpreter are you using..?Curios about "Is that interpreter actually supported..?"
   
  Thanks,
  Prasad.

Peter Åstrand <astrand at 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 at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20080429/8935fa80/attachment.htm>


More information about the Kickstart-list mailing list