Bug#339955: [Pkg-sysvinit-devel] Bug#339955: sysv-rc: /etc/init.d/*.sh should be sourced in runlevel S

Petter Reinholdtsen pere at hungry.com
Mon Nov 21 09:33:23 UTC 2005


I'm not sure how this could happen, but when I enabled sourcing of the
.sh scripts in rcS.d/, the boot failed because /etc/rcS.d/S01glibc.sh
uses 'exit 0' at the end of the script, and thus terminates the S
runlevel.  This script was added in glibc version 2.3.5-5 uploaded
2005-08-27.  The strange thing is that the sysv-rc version no longer
sourcing the .sh scripts was uploaded 2005-09-10.  Wonder how people
were booting in the mean time... :/

So it is not safe to source the .sh scripts at the moment.  Changing
the 'exit 0' to ': exit 0' solved that issue.  This should be reported
as a bug against glibc, I guess.




More information about the Pkg-sysvinit-devel mailing list