Package: util-linux Version: 2.20.1-5.5 Severity: normal Dear Maintainer,
In /etc/insserv.conf, $local_fs is defined as $local_fs +mountall +mountall-bootclean +mountoverflowtmp +umountfs hwclock.sh starts before checkroot.sh (fsck needs a clock) which in turn is needed by mountall.sh (fsck before mount). If hwclock.sh depends on $local_fs (needs to save /etc/adjtime before remount / ro), there is a dependency loop. At present, the problem is hided by giving a partial dependency of Required-Stop, but not Required-Start. It's very nice if Required-Stop/Start pair is treated on the same foot, especially for OpenRC, which does not differentiate between the two. As hwclock.sh only need to be stopped before umountfs, not the other services in $local_fs, it is reasonable to replace "Required-Stop: $local_fs" with "Should-Stop: umountfs". ($local_fs optionally depends on +umountfs, therefore Should-Stop) Patch attached. Thanks, Benda -- System Information: Debian Release: 7.3 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages util-linux depends on: ii debconf [debconf-2.0] 1.5.49 ii dpkg 1.16.12 ii initscripts 2.88dsf-41+deb7u1 ii install-info 4.13a.dfsg.1-10 ii libblkid1 2.20.1-5.3 ii libc6 2.17-0experimental2 ii libncurses5 5.9-10 ii libselinux1 2.1.9-5 ii libslang2 2.2.4-15 ii libtinfo5 5.9-10 ii libuuid1 2.20.1-5.3 ii lsb-base 4.1+Debian9 ii tzdata 2013h-0wheezy1 ii zlib1g 1:1.2.7.dfsg-13 util-linux recommends no packages. Versions of packages util-linux suggests: ii dosfstools 3.0.13-1 ii kbd 1.15.3-9 pn util-linux-locales <none> -- Configuration Files: /etc/init.d/hwclock.sh changed [not included] -- debconf information: util-linux/noauto-with-nonzero-passnum:
--- hwclock.sh 2014-01-23 17:30:35.548726509 +0900 +++ hwclock.sh.new 2014-01-23 17:52:03.038154413 +0900 @@ -22,7 +22,7 @@ ### BEGIN INIT INFO # Provides: hwclock # Required-Start: mountdevsubfs -# Required-Stop: $local_fs +# Should-Stop: umountfs # Default-Start: S # X-Start-Before: checkroot # Default-Stop: 0 6