We are using livecd-tools-13.4-2.el6.x86_64 rpm on RHEL6.We found a bug in the livecd-creator tool where he empties the /etc/resolv.conf while doing selinux configurations. In /usr/lib/python2.6/site-packages/imgcreate/kickstart.py(installed by python-imgcreate-13.4-2.el6.x86_64 rpm), class SelinuxConfig in the function relabel opens the listed files (/etc/resolv.conf) with mode "w+". This truncates the file as we have seen. Changing this to "a+" fixes the issue.
"""A class to apply a kickstart selinux configuration to a system."""
def relabel(self, ksselinux):
# touch some files which get unhappy if they're not labeled correctly
for fn in ("/etc/resolv.conf",):
path = self.path(fn)
f = file(path, "a+")
Did any one come across this issue?
Dit bericht is onderworpen aan de voorwaarden beschikbaar op onze website
Ce message est soumis aux conditions disponibles sur notre site web
This message is subject to the terms and conditions available on our website
I am using Fedora-18x86_64 downloaded from fedoraproject.org, I am
running in live cd(Try fedora mode) , When i am open the terminal and
use vi editor everything happens in order but, i cannot compile the
saved file using "gcc filename.c",Should i use any other compiler
Just rebuilt my F17 live USB with F18. It seems fine, except that
something weird is happening with mounting persistent /home. It asks for
the password, but then seems to carry on more or less immediately
without waiting for me to type it in. The consequence is that /home
doesn't get unencrypted and mounted.
The problem seems to be in /etc/rc.d/init.d/livesys. That's where the
password prompting happens, and nothing after that line gets executed.
I'd added a line to the end of that file to create a 'james' user, and
in F17, it got executed fine; but it's now never reaching that point.
I can Ctrl-Alt-F2, log in as root, manually mount /home, and manually
create the 'james' user, but that's not much fun. I'd have to do the
mounting bit every time.