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

From: Gilles (gilles_at_harfang.homelinux.org)
Date: Thu 31 Mar 2005 - 17:46:26 BST


> 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
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


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 Thu 31 Mar 2005 - 17:46:59 BST by hypermail 2.1.3