Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 546290
Collapse All | Expand All

(-)a/init.d/procfs.in (-9 lines)
Lines 60-73 start() Link Here
60
		fi
60
		fi
61
	fi
61
	fi
62
62
63
	# Setup Kernel Support for SELinux
64
	if [ -d /sys/fs/selinux ] && ! mountinfo -q /sys/fs/selinux; then
65
		if grep -qs selinuxfs /proc/filesystems; then
66
			ebegin "Mounting SELinux filesystem"
67
			mount -t selinuxfs selinuxfs /sys/fs/selinux
68
			eend $?
69
		fi
70
	fi
71
72
	return 0
63
	return 0
73
}
64
}
(-)a/init.d/sysfs.in (-1 / +9 lines)
Lines 82-87 mount_misc() Link Here
82
		fi
82
		fi
83
	fi
83
	fi
84
84
85
	# Setup Kernel Support for SELinux
86
	if [ -d /sys/fs/selinux ] && ! mountinfo -q /sys/fs/selinux; then
87
		if grep -qs selinuxfs /proc/filesystems; then
88
			ebegin "Mounting SELinux filesystem"
89
			mount -t selinuxfs selinuxfs /sys/fs/selinux
90
			eend $?
91
		fi
92
	fi
93
85
	# setup up kernel support for efivarfs
94
	# setup up kernel support for efivarfs
86
	# slightly complicated, as if it's build as a module but NOT yet loaded,
95
	# slightly complicated, as if it's build as a module but NOT yet loaded,
87
	# it will NOT appear in /proc/filesystems yet
96
	# it will NOT appear in /proc/filesystems yet
88
- 

Return to bug 546290