[Pkg-sysvinit-devel] Bug#635627: Bug#635627: zvol (ZFS volumes) should be available before checkroot.sh
Petter Reinholdtsen
pere at hungry.com
Wed Jul 27 18:10:10 UTC 2011
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
More information about the Pkg-sysvinit-devel
mailing list