http://bugzilla.novell.com/show_bug.cgi?id=486710
User ralf@lahn.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=486710#c33
Ralf H changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ralf@lahn.net
--- Comment #33 from Ralf H 2009-04-23 11:52:36 MDT ---
I can confirm this bug as described by the creator of this report, Michael Tils
.
reboot and halt will hang with something like
"/etc/init.d/rc in line 317 killproc.... $link status"
One of the updates during the last days trigger it. But I don't know which one.
aaa_base-11.1-10007.15.1 + sysvinit-2.86-186.16.1 worked before, but now only
downgrading to the relaease versions from early december gives a normal reboot
or halt.
sysvinit-2.86-186.17.1 does not solve it.
further investigation shows that it is sufficient to revert
/etc/init.d/boot.localfs to the one from aaa_base-11.1-10007.5
in other words: aaa_base-11.1-10007.15.1 + sysvinit-2.86-186.17.1 + following
patch (boot.localfs version from aaa_base-11.1-10007.5) results in normal
reboot or shutdown.
--- /etc/init.d/boot.localfs.orig 2009-04-23 17:08:35.000000000 +0200
+++ /etc/init.d/boot.localfs 2009-04-23 17:10:23.000000000 +0200
@@ -310,14 +310,19 @@
esac
done
+ #
+ # Use fuser with option -w if available to terminate all
+ # processes having write access to the root file system.
+ #
+ if fuser -skmw -TERM / > /dev/null 2>&1 ; then
+ sleep 1
+ fi
+
if test -z "$ulist" ; then
rc_status -v1 -r
rc_exit
fi
- # If e.g. /var is on a different filesystem than / make sure we can
umount
- mkill -TERM $ulist
-
UMOUNT_FAILED=false
umount -rv $mtab -t no${tmpfs//,/,no},$nofs -O no_netdev $ulist || {
rc_status
@@ -349,9 +354,6 @@
case ",$netfs," in
*,$type,*) continue ;; # Avoid hanging reboot/halt
esac
- case "$fs" in
- /) continue ;; # leave rootfs alone here
- esac
mount -nv -o remount,ro $fs
done
Even if this bug is triggerd by the update of some other package I wonder if it
was a good idea to introduce a new program (mkill) into a stable system
(opensuse 11.1)
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.