[Pkg-sysvinit-devel] Bug report (and fix) for /lib/init/vars.sh

andrew at rngresearch.com andrew at rngresearch.com
Mon Apr 11 12:10:14 UTC 2011


Hello all,

I could not figure out who maintains the script: /lib/init/vars.sh
Does anyone know?  I want to get this bug report/fix to them:

The one modified Aug 15 2010 has the following bug:
If the boot cmdline contains both "quiet" and "noswap", only the one which
appears first on the cmdline is recognized.  The effect of this is that if
"noswap" follows "quiet", the variable NOSWAP is not set to "yes", but is
left unset.  (The reason for this is that the "break"s exit from the
enclosing for loop.)

The fix: revert to version modified Oct 25 2009.  (This uses if-thens
instead of a case.  It explicitly sets NOSWAP=no if the boot cmdline does
not contain "noswap", but otherwise behaves as the new version was
intended to.)

Thanks!

-Andrew




More information about the Pkg-sysvinit-devel mailing list