Anaconda Traceback when using %pre scripts

Peter Åstrand astrand at cendio.se
Tue Apr 29 16:51:27 UTC 2008


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


More information about the Kickstart-list mailing list