Re: Anaconda Traceback when using %pre scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Peter Åstrand <astrand@xxxxxxxxx> 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux