> I'm having trouble with things not running within the vserver, most notably > "w" and "ifconfig", although my testing stopped there, there may be many > more...
Nothing hardware-related should be done inside the server. > If I enter the vserver, then execute in this order: ls, mount, df, w, > ifconfig, ifconfig -a, mount /proc and id - I get: > host01:/# vserver test01 enter > mesg: /dev/pts/0: Operation not permitted Execute "mesg n" before entering. Or connect to the vserver via ssh. > test01:/# w > Error: /proc must be mounted > To mount /proc at boot you need an /etc/fstab line like: > /proc /proc proc defaults > In the meantime, mount /proc /proc -t proc /proc is hidden from the vserver. If you want to access it, you can run (on the *host*) the "vprocunhide" script, provided with the tools. > test01:/# ifconfig > Segmentation fault > test01:/# ifconfig -a > Segmentation fault Forbidden (network hardware) inside the vserver. > test01:/# mount /proc > mount: permission denied Forbidden. You have to customize the file (on the host) /etc/vservers/<your-server-name>/fstab Best, Gilles _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
