[Pkg-sysvinit-devel] Cosmetic Issue: initscripts/sendsigs

Pascal de Bruijn pmjdebruijn at gmail.com
Sun Dec 23 14:31:45 UTC 2007


Hi,

When using Debian Etch in a linux-vserver environment, I get an error
message while shutting down the vserver:

overlord:/opt/vservers# vserver knight stop
Stopping periodic command scheduler: crond.
Stopping rsync daemon: rsync.
Stopping system log daemon: syslogd.
Asking all remaining processes to terminate...done.
Killing all remaining processes...done.
cat: /proc/cmdline: No such file or directory
Cleaning up ifupdown....
overlord:/opt/vservers#

This happens in the /etc/init.d/sendsigs script, in the following function:

splash_back() {
    # Restore usplash if it was enabled and killed by do_stop
    for x in $(cat /proc/cmdline); do
        case $x in
        splash*)


Here /proc/cmdline is checked whether usplash was used on boot. However the
vserver environment does not
virtualize the /proc/cmdline entry, and thus produces the above error.

For now I'm commenting out the splash_back () call, which suppresses the
error. However would it be possible
for the future to make the usplash check silent, even if it fails.

Regards,
Pascal de Bruijn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20071223/9635fcc6/attachment-0001.htm 


More information about the Pkg-sysvinit-devel mailing list