diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch b/sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch index badf33f570ae..4e39ec2f158f 100644 --- a/sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch +++ b/sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch @@ -1,20 +1,14 @@ -Index: sbin/rc -=================================================================== -RCS file: /var/cvsroot/gentoo-src/rc-scripts/sbin/rc,v -retrieving revision 1.112 -retrieving revision 1.113 -diff -u -r1.112 -r1.113 ---- sbin/rc 30 Jan 2005 20:12:31 -0000 1.112 -+++ sbin/rc 10 Mar 2005 23:38:28 -0000 1.113 -@@ -241,6 +241,11 @@ +--- sbin/rc ++++ sbin/rc +@@ -264,6 +259,11 @@ fi - fi + eend $? -+ # Selinux lovin; /selinux should be mounted by selinux-patched init -+ if [[ -x /sbin/restorecon ]] && [[ -c /selinux/null ]]; then -+ restorecon /dev &> /selinux/null -+ fi ++ # Selinux lovin; /selinux should be mounted by selinux-patched init ++ if [[ -x /sbin/restorecon ]] && [[ -c /selinux/null ]] ; then ++ restorecon /dev &> /selinux/null ++ fi + - # Actually start setting up /dev now - if [[ ${udev} = "yes" ]] ; then - # Setup temporary storage for /dev + # Actually get udev rolling + ebegin "Configuring system to use udev" + if [[ ${RC_DEVICE_TARBALL} = "yes" ]] && [[ -s /lib/udev-state/devices.tar.bz2 ]] |