I can't seem to get the chroot-barrier to work.
== in guest, before setting chroot-barrier ==
[EMAIL PROTECTED]:~$ date
Tue Mar 7 21:43:19 UTC 2006
== in host, turning on chroot-barrier ==
[EMAIL PROTECTED]:~$ sudo setattr --barrier /var/lib/vservers/rice
== in guest, after chroot-barrier ==
[EMAIL PROTECTED]:~$ 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
[EMAIL PROTECTED]:~$ 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
[EMAIL PROTECTED]:~$ 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
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver