SELinux & Permission Denied for /dev/null in glibc ch.6

Andrew Benton b3nt at ukonline.co.uk
Wed May 17 13:02:07 PDT 2006


Declan Moriarty wrote:
> There are two modes of SELinux, the full monty and a 'targeted' mode. By
> default distros are using the targeted mode, which targets a number of
> server daemons, including syslogd. 

You might be able to turn it off by setting it to permissive mode. Try

sed -i.bak 's,\(SELINUX=\).*,\1permissive,' /etc/selinux/config

It will make a backup copy as /etc/selinux/config.bak. If it doesn't 
work (may need a reboot) you can copy the original config file back

mv -f /etc/selinux/config.bak /etc/selinux/config

Andy



More information about the lfs-support mailing list