Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Petter Reinholdtsen <pere <at> hungry.com>
Subject: Bug#635627: Bug#635627: zvol (ZFS volumes) should be available before checkroot.sh
Newsgroups: gmane.linux.debian.devel.sysvinit
Date: Wednesday 27th July 2011 18:10:10 UTC (over 5 years ago)
reassign 635627 zfsutils
thanks

[Robert Millan]
> 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.

While this approch would work, I believe the dependency should be put
in the /etc/init.d/zfs script instead, as it is the less common
script.  Put 'X-Start-Before: checkroot' in it to get the ordering you
want (if I remember correctly).

Happy hacking,
-- 
Petter Reinholdtsen
 
CD: 24ms