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

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Fri 02 Feb 2007 - 22:11:48 GMT
Message-ID: <20070202221148.GB25807@MAIL.13thfloor.at>

On Fri, Feb 02, 2007 at 03:09:29PM -0600, Randall Smith wrote:
> 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
> >
>
> For the mount issue, I've commented out the do_stop line in
> /etc/rc0.d/S60umountroot. Don't know if that will have any negative
> side effects, but I have no error messages now.

I guess the RightThing(tm) to do here is to remove the
symlink (S60umountroot) and friends (all hardware related
scripts) from the guest, as they do not make sense anyways

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
Received on Fri Feb 2 22:46:58 2007

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