Red Hat Bugzilla – Bug 181752
/etc/sysconfig/selinux should be a relative symlink
Last modified: 2007-11-30 17:11:24 EST
Description of problem:
/etc/sysconfig/selinux is created as a symlink to /etc/selinux/config. Problem
is, if I mount an alternate root filesystem and proceed to edit
/etc/sysconfig/selinux, I'll end up modifying my current root's
/etc/selinux/config, instead of the one in the alternate root. Please change it
from -> /etc/selinux/config to -> ../selinux/config.
Version-Release number of selected component (if applicable):
Fixed in selinux-policy-2.2.16-1
I see the %post script is fixed, but that won't fix existing symlinks. Oh,
well... I guess that ought to be enough, as long as the selinux-policy packages
are not supposed to own /etc/sysconfig/selinux. But shouldn't they?
It probably should, even though this is an artifact of a much earlier version of
SELinux. Now we tell people to use /etc/selinux/config. I will add this to the