[Vserver] Re: /proc/cmdline error on shutdown

From: Randall Smith <randall_at_tnr.cc>
Date: Fri 02 Feb 2007 - 20:49:39 GMT
Message-ID: <eq0858$e2q$1@sea.gmane.org>

Herbert Poetzl wrote:
> On Tue, Nov 14, 2006 at 01:08:02PM -0600, Randall Smith wrote:
>> With a fresh vserver install on Debian Etch, here is my shutdown output:
>>
>> ~# vserver vs1 stop
>> Stopping web server (apache2)....
>> Shutting down WebKit: Success
>> Stopping periodic command scheduler: crond.
>> Stopping PostgreSQL 8.1 database server: main.
>> Stopping internet superserver: inetd.
>> Stopping rsync daemon: rsync.
>> Stopping OpenBSD Secure Shell server: sshd.
>> 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
>> mount: permission denied
>
> quite interesting ...
>
>> I have installed some apps, but I've been getting these errors
>> since I first created the vserver. Any idea why?
>
> basically your shutdown scripts try do do something
> and fail because of the limit capabilities, this
> something seems to involve the following operations:
>
> cat /proc/cmdline (which is hidden)
> mount (maybe proc or sys?)
>
> removing those lines from the shutdown script will
> eliminate those errors, which can as well be ignored
>
> HTH,
> Herbert
>
>> Randall
>>
>> _______________________________________________
>> Vserver mailing list
>> Vserver@list.linux-vserver.org
>> http://list.linux-vserver.org/mailman/listinfo/vserver
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

Check this out.

root@vs1:/# grep -r cmdline /etc
******
/etc/init.d/sendsigs: for x in $(cat /proc/cmdline); do
*******

So does this mean that sendsigs shutdown script will not be able to work
properly?

Randall

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Feb 2 21:13:01 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 02 Feb 2007 - 21:13:06 GMT by hypermail 2.1.8