Re: [Vserver] /dev/null: Permission denied

From: Roché Compaan <roche_at_upfrontsystems.co.za>
Date: Tue 06 Dec 2005 - 20:03:52 GMT
Message-Id: <1133899432.11770.53.camel@kwaaitjie>

On Tue, 2005-12-06 at 20:53 +0100, Herbert Poetzl wrote:
> On Tue, Dec 06, 2005 at 09:42:54PM +0200, Roché Compaan wrote:
> > Hi there
> >
> > I created a virtual server by first creating a skeleton and then
> > copying the files from an existing vserver to the new one.
> >
> > Whenever I start the vserver, init scripts accessing /dev/null (or
> > any subsequent commands) returns "Permission denied". Re-creating
> > /dev/null outside the vserver does not help. "ls -l" shows this is a
> > proper device file:
> >
> > crw-rw-rw- 1 root root 1, 3 2005-12-02 21:32 null
> >
> > Any idea how to fix this?
>
> well, looking deep into my crystal ball tells
> me that there is something wrong with the path
> leading to /dev/null, so check the following:
>
> ls -lad /. /dev

Inside the virtual server, "ls -lad /. /dev" returns:

drwxr-xr-x 20 root root 4096 2005-12-06 14:33 /.
drwxr-xr-x 3 root root 4096 2005-12-06 22:01 /dev

Anything wrong here?

-- 
Roché Compaan
Upfront Systems                   http://www.upfrontsystems.co.za
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Dec 6 20:04:28 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 06 Dec 2005 - 20:04:32 GMT by hypermail 2.1.8