[Pkg-sysvinit-devel] Bug#635627: zvol (ZFS volumes) should be available before checkroot.sh
Robert Millan
rmh at debian.org
Wed Jul 27 17:57:29 UTC 2011
Package: initscripts
Version: 2.88dsf-13.11
Severity: normal
Tags: patch
User: debian-bsd at lists.debian.org
Usertags: kfreebsd
checkroot.sh attempts to initialize swap and fsck the root filesystem,
either of which may be provided by zvol (/etc/init.d/zfs) if they're setup
as ZFS volumes. However, currently /etc/init.d/zfs may be started after
checkroot.sh, breaking the boot sequence.
Later checkfs.sh and mountall.sh have similar problems.
Attached patch resolves this by adding zvol to Should-Start.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 8.2-1-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initscripts depends on:
ii coreutils 8.5-1 GNU core utilities
ii debianutils 4.0.2 Miscellaneous utilities specific t
ii libc0.1 2.13-10 Embedded GNU C Library: Shared lib
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii sysv-rc 2.88dsf-13.11 System-V-like runlevel change mech
ii sysvinit-utils 2.88dsf-13.11 System-V-like utilities
Versions of packages initscripts recommends:
ii e2fsprogs 1.42~WIP-2011-07-02-1 ext2/ext3/ext4 file system utiliti
pn psmisc <none> (no description available)
initscripts suggests no packages.
-- Configuration Files:
/etc/init.d/checkroot.sh changed [not included]
-- no debconf information
-------------- next part --------------
--- /etc/init.d/checkroot.sh~ 2011-07-27 19:42:03.845440970 +0200
+++ /etc/init.d/checkroot.sh 2011-07-27 19:39:48.514156128 +0200
@@ -3,7 +3,7 @@
# Provides: checkroot
# Required-Start: mountdevsubfs hostname
# Required-Stop:
-# Should-Start: keymap hwclockfirst hdparm bootlogd
+# Should-Start: keymap hwclockfirst hdparm bootlogd zvol
# Should-stop:
# Default-Start: S
# Default-Stop:
More information about the Pkg-sysvinit-devel
mailing list