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 [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
