[Vserver] No luck with chroot-barrier

From: Tony and Robyn Lewis <gnutered_at_yahoo.com.au>
Date: Tue 07 Mar 2006 - 22:10:39 GMT
Message-ID: <440E04DF.2050400@yahoo.com.au>

I can't seem to get the chroot-barrier to work.

== in guest, before setting chroot-barrier ==
tony@rice:~$ date
Tue Mar 7 21:43:19 UTC 2006

== in host, turning on chroot-barrier ==
tony@mystic:~$ sudo setattr --barrier /var/lib/vservers/rice

== in guest, after chroot-barrier ==
tony@rice:~$ date
-bash: /bin/date: Permission denied

I'm running Ubuntu Dapper Drake, with the kernels and tools from here:
    https://wiki.ubuntu.com/VServer
which links to here:
    http://www2.uni-klu.ac.at/support/VServer

tony@mystic:~$ dpkg -l | grep vserver
ii util-vserver
0.30.209-2 tools for Virtual private servers and
contex
ii vserver-debiantools
0.2.5 Tools to manage debian virtual servers

tony@mystic:~$ uname -a
Linux mystic 2.6.15-17-686 #1 SMP PREEMPT Tue Feb 21 22:10:08 CET 2006
i686 GNU/Linux

 From the Ubuntu wiki page, it appears the kernel has Vserver version
2.0.1.2 applied against the (near) latest Ubuntu Dapper kernel, as
listed above. Haven't confirmed that though.

Am I doing something wrong with the setattr command? Or is something
other than me broken?

Tony Lewis

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Mar 7 22:28:22 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 07 Mar 2006 - 22:28:27 GMT by hypermail 2.1.8