Re: [Vserver] Problem starting vserver vcontext: chroot(): Permission denied

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Thu 22 Dec 2005 - 17:08:58 GMT
Message-ID: <20051222170858.GC6819@MAIL.13thfloor.at>

On Thu, Dec 22, 2005 at 05:28:03PM +0100, Stephan Mueller wrote:
> Hi folks,
>
> * Herbert Poetzl <herbert@13thfloor.at> [051124 09:54]:
> > On Thu, Nov 24, 2005 at 08:48:15AM +0100, Manfred Heubach wrote:
> > > found it at last. The directories of the vservers had the barrier
> > > attribut set on all subdirectories. I haven't found a way to "unset"
> > > the attribute. so i made a tar archive of the vserver, deleted the
> > > directory structure and unpacked the archive again. this way the
> > > barrier vanished. the servers are running :-)
> >
> > hmm, how could that happen?
> >
> > > so i have still one question: how can i remove the barrier attribute?
> >
> > setattr --~barrier /path/to/dir
>
> just for the files: I had the same problem today. I was setting up a
> staging server for testing the migration of our vservers from the 1.2
> branch to to 2.0.1.

just to get the idea, what distro/tools where used
with the 1.2 branch-installation?

> Before I got this error I had several other problems (with incomplete
> configs etc.) so I can't tell what to do to reproduce this problem,
> sorry.
>
> At least the trick with taring and untaring worked, so I can continue

an incantation of setattr -R --~barrier /path/to/dir
should work too ...

best,
Herbert

> my tests.
>
>
> Cheers,
>
> Steph.
>
> PS: vserver-info says:
>
> Versions:
> Kernel: 2.6.14.4-vs2.0.1
> VS-API: 0x00020001
> util-vserver: 0.30.209; Dec 22 2005, 14:57:59
>
> Features:
> CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
> CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
> CPPFLAGS: ''
> CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W'
> CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
> -fmessage-length=0'
> build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
> Use dietlibc: yes
> Build C++ programs: yes
> Build C99 programs: yes
> Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
> ext2fs Source: e2fsprogs
> syscall(2) invocation: alternative
> vserver(2) syscall#: 273/glibc
>
> Paths:
> prefix: /usr
> sysconf-Directory: /etc
> cfg-Directory: /etc/vservers
> initrd-Directory: $(sysconfdir)/init.d
> pkgstate-Directory: ${prefix}/var/run/vservers
> vserver-Rootdir: /vservers
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Dec 22 17:09:17 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 22 Dec 2005 - 17:09:20 GMT by hypermail 2.1.8