Re: [Vserver] anybody has experience for Vserver on ARM

2007-05-06 Thread Wenbin Zhang

Hi All,

I can use vcmd command correctly on my ARM phone. However, I can only use
vcmd to
start a single isolated process, and no way to build a competed guest
machine. Anybody know
how to use vcmd to build a completed guest? I guess we might be achieve this
to copy a new
filesystem and start a init process by some approach.

Because the vserver build package does not work on my phone, If vcmd
cannot build a completed
guest, do we have any other approach to build a guest?

Thanks,
Wenbin


well, there are many different ways to 'build' a guest


 For example, I use below command to create the guest:
 #/sbin/vserver va780 build -m rpm --context 43 --hostname=va780
--interface
 va7800=eth0:192.168.1.2/24 --rootdir /vserver1 --pkgbase /vserver1/.pkg
--
 -d fc6

this is one of them, although it has some bugs, like the
--hostname= which should be --hostname va780.some.domain


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Relaxing the mount-nodev behavior

2007-05-06 Thread Enrico Scholz
Hi,

it would be nice when the current

| +   if (!capable(CAP_SYS_ADMIN))
| +   mnt_flags |= MNT_NODEV;

behavior can be relaxed a little bit.  I need it e.g. to bind-mount a
/dev filesystem into buildroots which will be created during runtime of
the vserver.

On first glance,

| +   if (!capable(CAP_SYS_ADMIN) 
| +   !(flags  (MS_BIND|MS_MOVE)))
| +   mnt_flags |= MNT_NODEV;

seems to have the wanted effect without lowering security.



Enrico


pgp7aSPgjF5G2.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver