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

(-)ChangeLog (+2 lines)
Lines 3-8 Link Here
3
3
4
  18 Sep 2007; Roy Marples <uberlord@gentoo.org>:
4
  18 Sep 2007; Roy Marples <uberlord@gentoo.org>:
5
5
6
    Only mount /sys if it's not mounted, #192436.
7
6
    API changes!
8
    API changes!
7
9
8
    rc_ls_dir, rc_get_config and rc_get_list no longer take a starting list
10
    rc_ls_dir, rc_get_config and rc_get_list no longer take a starting list
(-)sh.Linux/init.sh (-4 / +6 lines)
Lines 140-149 Link Here
140
140
141
if [ "${RC_UNAME}" != "GNU/kFreeBSD" -a "${RC_SYS}" != "VPS" -a "${K26}" = "0" ] ; then
141
if [ "${RC_UNAME}" != "GNU/kFreeBSD" -a "${RC_SYS}" != "VPS" -a "${K26}" = "0" ] ; then
142
	if [ -d /sys ] ; then
142
	if [ -d /sys ] ; then
143
		ebegin "Mounting sysfs at /sys"
143
		if ! mountinfo --quiet /sys ; then
144
		mntcmd="$(fstabinfo --mountcmd /sys)"
144
			ebegin "Mounting sysfs at /sys"
145
		try mount -n ${mntcmd:--t sysfs -o noexec,nosuid,nodev sysfs /sys}
145
			mntcmd="$(fstabinfo --mountcmd /sys)"
146
		eend $?
146
			try mount -n ${mntcmd:--t sysfs -o noexec,nosuid,nodev sysfs /sys}
147
			eend $?
148
		fi
147
	else
149
	else
148
		ewarn "No /sys to mount sysfs needed in 2.6 and later kernels!"
150
		ewarn "No /sys to mount sysfs needed in 2.6 and later kernels!"
149
	fi
151
	fi

Return to bug 192436