About this list Date view Thread view Subject view Author view Attachment view

From: Sam Vilain (sam_at_vilain.net)
Date: Sun 12 Jan 2003 - 22:08:25 GMT


Are you setting no_root_squash on the NFS server?

If that doesn't help, give us:
  - your /etc/exports line on the NFS server
  - output from `ls -ld /vservers* /vservers*/test' on both
    servers, before and after any NFS mount operation (ie, what are the
    permissions of the directories under the mounts, sometimes relevant).
  - the exact commands you are running (cut and paste the shell session).

Prepending `strace -fae' should show you the actual system call that is
receiving EPERM, which might shed some light on the issue.

Good luck,
Sam.

On Mon, 13 Jan 2003 09:39, you wrote:
> Didn't help with me...
>
> I have
>
> on the local disk I have /vservers2
> on an nfs array I have /vservers-nfs
>
> In side of the /vservers2 I have 1 folder called test ( the vserver).
>
> In side of the /vservers-nfs the same.
>
> They have the same permissions.
>
> I then do a mount --bind /vservers2 /vservers
>
> vserver test start
>
> OK
>
> vserver test stop
>
> umount /vservers
> mount --bind /vservers-nfs /vservers
>
> vserver test start
>
> Fails with
> Starting the virtual server test
> Server test is not running
> ipv4root is now 210.54.14.116
> Host name is now test
> New security context is 10
> Can't chroot to directory . (Permission denied)
>
> Thoughts???
>
>
> Fran.
>
> On Mon, 2003-01-13 at 09:17, Dinesh Mistry wrote:
> > AHhh nope I am not but I was running a local loop back file system. I
> > figured out the problem though.
> >
> > They ask you to chmod 000 /vservers/VSERVERNAME
> >
> > This breaks the vserver if you just chmod 000 /vservers then it works.
> >
> >
> >
> > --------------------------------------------
> > Dinesh Mistry
> >
> > YourHostDirect
> > 1-800-210-6757
> >
> > Better, Faster and more Reliable Hosting
> > http://www.yourhostdirect.com
> > --------------------------------------------
> >
> >
> > -----Original Message-----
> > From: Fran Firman [mailto:fran.firman_at_ipsm.net.nz]
> > Sent: Sunday, January 12, 2003 3:13 PM
> > To: Dinesh Mistry
> > Subject: Re: Did you fix this?
> >
> > Are you also using a NFS array to store the vserver data/folder?
> >
> > If I run the vserver on the local HD it works ok.
> >
> > F.
> >
> > On Sun, 2003-01-12 at 10:49, Dinesh Mistry wrote:
> > > Just upgraded to 2.4.19ctx-15 and vserver 0.22
> > >
> > >
> > >
> > >
> > >
> > > I now get the error.
> > >
> > >
> > >
> > > server4:~# vserver knottsberry start
> > >
> > > Starting the virtual server knottsberry
> > >
> > > Server knottsberry is not running
> > >
> > > ipv4root is now 210.54.14.137
> > >
> > > Host name is now knottsberry
> > >
> > > New security context is 15
> > >
> > > Can't chroot to directory . (Permission denied)
> > >
> > >
> > >
> > >
> > >
> > > This is on a debian host.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > I am having the same problem L
> > >
> > >
> > >
> > > --------------------------------------------
> > >
> > > Dinesh Mistry
> > >
> > >
> > >
> > > YourHostDirect
> > >
> > > 1-800-210-6757
> > >
> > >
> > >
> > > Better, Faster and more Reliable Hosting
> > >
> > > http://www.yourhostdirect.com
> > >
> > > --------------------------------------------

-- 
Sam Vilain, sam_at_vilain.net

Bible Misinterpretations # 3: Motorcycles The roar of David's Triumph was heard through out the land...


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 15 Jan 2003 - 17:17:03 GMT by hypermail 2.1.3