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

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

On Tue, 2005-12-06 at 22:03 +0200, Roché Compaan wrote:
> 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?

Ok, I just tried to create another vserver in the same method as
described above with the only difference being that I created it on a
DRBD block device, and it worked. My skeleton also resides on a DRBD
block device, so it seems that I cannot create a new vserver on another
block device or partition that is not a DRBD block device? I would have
guessed that it shouldn't make a difference.

-- 
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:15:48 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 06 Dec 2005 - 20:15:57 GMT by hypermail 2.1.8