From: Ola Lundqvist (opal_at_debian.org)
Date: Mon 04 Apr 2005 - 16:45:25 BST
Hello
On Mon, Apr 04, 2005 at 05:33:37PM +0200, Herbert Poetzl wrote:
> On Mon, Apr 04, 2005 at 07:35:40AM +0200, Ola Lundqvist wrote:
> > Hello
> >
> > On Thu, Mar 31, 2005 at 05:16:28PM +0100, Gaz Wilson wrote:
> > >
> > > Does anyone have any experience with the development branch of Vserver
> > > and Debian?
> >
> > Yes I'm the maintainer and yesterday util-vserver 0.30.204 finally
> > found it's way to sarge.
>
> hey, great!
Yes. There were a couple of issues with dietlibc but I have got help from
some people, including the dietlibc maintainer and now it build fine
on all arches, except hppa and arm, that it should not build on as
there is no reserved syscall.
> 0.30.205 is out (but requires some changes) so I'd suggest
> waiting for 0.30.206 and update to that once done ...
Ok, I'll wait for 0.30.206 to come out then.
I got a bug report on vserver-copy that it should have --numeric-ids added
to the rsync command to preserve permissions properly. It would be great
if that is added as well.
Regards,
// Ola
> best,
> Herbert
>
> > So if would be really nice if you could try this on this version of
> > util-vserver as well.
> >
> > If there is any problem, I would like bug reports so it can be fixed.
> >
> > Happy hacking!
> >
> > Regards,
> >
> > // Ola
> >
> > > 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...
> > >
> > > I have a totally clean build of Debian (Sarge), running kernel 2.6.11 and
> > > VS 1.9.5 built from source.
> > >
> > > I have built util-vserver-0.30.204 from source, with the following
> > > configure line:
> > >
> > > ./configure --with-vrootdir=/local/vservers
> > >
> > > Which went well, this was installed.
> > >
> > > I have then created a vserver with the following command line:
> > >
> > > vserver test01 build -m debootstrap --hostname test01 --netdev eth0
> > > --interface 172.29.31.242/16 -- -d sarge
> > >
> > > Which appeared to go well. I then started it up:
> > >
> > > host01:/# vserver test01 start
> > > Starting system log daemon: syslogd.
> > > Starting kernel log daemon: klogd.
> > > Starting MTA: exim4.
> > > Starting internet superserver: inetd.
> > > Starting deferred execution scheduler: atd.
> > > Starting periodic command scheduler: cron.
> > >
> > > All OK so far, but when I enter the server, I get all sorts of oddness...
> > >
> > > 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
> > > test01:/# ls
> > > bin dev home lib mnt proc sbin sys usr
> > > boot etc initrd media opt root srv tmp var
> > > test01:/# mount
> > > /dev/hdv1 on / type ufs (defaults)
> > > none on /proc type proc (defaults)
> > > none on /tmp type tmpfs (size=16m,mode=1777)
> > > none on /dev/pts type devpts (gid=5,mode=620)
> > > test01:/# df
> > > Filesystem 1K-blocks Used Available Use% Mounted on
> > > /dev/hdv1 63457000 176252 60057308 1% /
> > > none 16384 0 16384 0% /tmp
> > > 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
> > > test01:/# ifconfig
> > > Segmentation fault
> > > test01:/# ifconfig -a
> > > Segmentation fault
> > > test01:/# mount /proc
> > > mount: permission denied
> > > test01:/# id
> > > uid=0(root) gid=0(root) groups=0(root)
> > >
> > > I have read many many pages of documentation from various servers including:
> > >
> > > http://lena.franken.de/linux/debian_and_vserver/vserver.html
> > > http://linux-vserver.org/alpha+util-vserver
> > > http://www.13thfloor.at/vserver/*
> > > http://www.solucorp.qc.ca/miscprj/s_context.hc
> > > etc
> > > etc
> > >
> > > but to no avail.
> > >
> > > Has anyone seen this issue before and can they advise me what might be astray?
> > > I guess there could be something in the kernel that is missing or needed,
> > > but I couldn't say...
> > >
> > > GW
> > >
> > > --
> > > / Gary Wilson, aka dragon/dragonlord/dragonv480 \
> > > .'(_.------. e: dragon_at_northernscum.org.uk MSN: dragonv480 .------._)`.
> > > < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ >
> > > `.( `------' w: http://volvo480.northernscum.org.uk `------' ).'
> > > \ w: http://www.northernscum.org.uk /
> > > _______________________________________________
> > > Vserver mailing list
> > > Vserver_at_list.linux-vserver.org
> > > http://list.linux-vserver.org/mailman/listinfo/vserver
> > >
> >
> > --
> > --------------------- Ola Lundqvist ---------------------------
> > / opal_at_debian.org Annebergsslingan 37 \
> > | opal_at_lysator.liu.se 654 65 KARLSTAD |
> > | +46 (0)54-10 14 30 +46 (0)70-332 1551 |
> > | http://www.opal.dhs.org UIN/icq: 4912500 |
> > \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
> > ---------------------------------------------------------------
> > _______________________________________________
> > Vserver mailing list
> > Vserver_at_list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>
-- --------------------- Ola Lundqvist --------------------------- / opal_at_debian.org Annebergsslingan 37 \ | opal_at_lysator.liu.se 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver