[Pkg-sysvinit-devel] Bug#346329: swap on LVM

Joel Johnson mrjoel at lixil.net
Sat Jan 7 02:16:43 UTC 2006


Package: initscripts
Version: 2.86.ds1-6
Severity: minor

/etc/init.d/checkroot.sh -

The script checks where the swap is located to know how/if to enable it.
However, I have my swap located on an LVM volume, and the dm_mod isn't
loaded until later (libdevmapper1.02) so attempting to activate the swap
is futile. The script should check if the fstab entry is /dev/mapper/* and
swap (similiar to the current check with /dev/md* and not attempt to
enable swap if so.




More information about the Pkg-sysvinit-devel mailing list