Package: sysvinit Version: 2.88dsf-13.1 Severity: wishlist Hi,
Having upgraded to squeeze I notice that mdadm and lvm are always turned on before checkroot.sh is run. This means that the swapon -a run in checkroot.sh will activate all md and lvm swap partitions. (Right?) In this case checkfs.sh does not need to run the swaponagain function, and /lib/init/swap-functions.sh can be deleted and the code inlined into mountall.sh (where it came from). This all assumes that the rcS ordering remains as-is in squeeze, and that swap partitions don't show up in other strange places (nfs!, fuse?!) that are brought up after checkroot.sh but before mountall.sh. This also assumes things of which I'm ignorant, like no race conditions where md and lvm devices come into existance asychronously with respect to their activation scripts. Since I sent in the patch to create the /lib/init/swap-functions.sh file I felt I should point out that it no longer _seems_ to be necessary for it's original purpose, activating lvm swap, and may not be needed at all. (On the other hand it does not hurt and may make the boot process more robust.) FYI I checked the code in svn but don't know what the latest rcS ordering is. Regards, -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages sysvinit depends on: ii initscripts 2.88dsf-13.1 scripts for initializing and shutt ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libselinux1 2.0.96-1 SELinux runtime shared libraries ii libsepol1 2.0.41-1 SELinux library for manipulating b ii sysv-rc 2.88dsf-13.1 System-V-like runlevel change mech ii sysvinit-utils 2.88dsf-13.1 System-V-like utilities sysvinit recommends no packages. sysvinit suggests no packages. -- no debconf information _______________________________________________ Pkg-sysvinit-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

