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

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 06 Dec 2005 - 20:19:24 GMT
Message-ID: <20051206201924.GB17431@MAIL.13thfloor.at>

On Tue, Dec 06, 2005 at 10:14:57PM +0200, Roché Compaan wrote:
> 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'd say that's some kind of coincidence ...

now please give me clue what kernel/tools/distro
you are using so that we can start tracking down
your specific issues ...

testme.sh output would be fine

> I would have guessed that it shouldn't make a difference.

and you would have guessed right ...

TIA,
Herbert

>
> --
> 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:19:47 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 06 Dec 2005 - 20:19:50 GMT by hypermail 2.1.8