Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 181752 - /etc/sysconfig/selinux should be a relative symlink
/etc/sysconfig/selinux should be a relative symlink
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2006-02-16 01:54 EST by Alexandre Oliva
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 18:39:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alexandre Oliva 2006-02-16 01:54:34 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):
Comment 1 Daniel Walsh 2006-02-16 09:42:37 EST
Fixed in selinux-policy-2.2.16-1
Comment 2 Alexandre Oliva 2006-02-21 23:37:18 EST
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?
Comment 3 Daniel Walsh 2006-02-22 11:21:17 EST
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
spec file.

Note You need to log in before you can comment on or make changes to this bug.