Re: [Vserver] VServer seems to work fine basicaly on hppa too ; -) (just some question)

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 13 Dec 2005 - 19:28:10 GMT
Message-ID: <20051213192810.GA6778@MAIL.13thfloor.at>

On Tue, Dec 13, 2005 at 05:20:22PM +0100, Joel Soete wrote:
> Hello All,
> Great the kernel was booting fine; just grep the upstream util-vserver
> tools and hack lib/syscall-faalback.h to match __NR_vserver 263 for
> hppa to build it with default debian pkg configure options ;-)
>
> As I already had some chroot disks that I used for severall test
> (glibc, ...) and I wouldn't like to re-install a debian debootstrap, I

sounds reasonable ...

> use a vserver build -m skeleton ;-) and gather some more info to start
> my vserver named DebSid:
>
> # vserver-stat
> CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME
> 0 68 134.3M 49.3M 7m32s62 28m01s19 4h14m54 root server
> 49153 15 76.8M 22.5M 0m05s31 0m14s53 2h47m02 DebSid
>
> enter it too:
>
> # ps -ef
> UID PID PPID C STIME TTY TIME CMD
> root 1 0 0 14:05 ? 00:00:52 init [2]
> root 5294 1 0 14:05 ? 00:00:00 /sbin/syslogd
> 103 5318 1 0 14:05 ? 00:00:00 /usr/bin/dbus-daemon-1 --system
> root 5340 1 0 14:05 ? 00:00:00 /usr/bin/netserver
> root 5355 1 0 14:05 ? 00:00:02 /usr/bin/X11/xfs -daemon
> root 5367 1 0 14:05 ? 00:00:00 /usr/sbin/xinetd -pidfile
> /var/run/xinetd.pid -stayalive
> daemon 5408 1 0 14:05 ? 00:00:00 /usr/sbin/atd
> root 5411 1 0 14:05 ? 00:00:00 /usr/sbin/cron
> root 5426 1 0 14:05 ? 00:00:00 /usr/sbin/gdm
> root 5704 5693 0 14:37 pts/1 00:00:01 /bin/bash -login
> root 6418 1 0 15:51 ? 00:00:00 /usr/sbin/sshd
> root 6421 6418 0 15:52 ? 00:00:00 sshd: jso [priv]
> jso 6423 6421 0 15:52 ? 00:00:00 sshd: jso@pts/6
> jso 6424 6423 0 15:52 pts/6 00:00:00 -bash
> root 6434 6424 0 15:52 pts/6 00:00:00 su -
> root 6435 6434 0 15:52 pts/6 00:00:00 -su
> root 7573 5704 0 17:02 pts/1 00:00:00 ps -ef
>
> and after stolen an ipv4 address and configure nic, ssh, ...:
> > ssh 10.24.252.111
> Linux patst007 2.6.15-rc1-pa3-d32up #8 Mon Nov 14 13:01:04 CET 2005
> parisc GNU/Linux

excellent, so the patch worked fine for you on 2.6.15-rc1-pa3?

could you give the testme.sh and testfs.sh a spin on
that machine?

> The programs included with the Debian GNU/Linux system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>
> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> permitted by applicable law.
> You have new mail.
> Last login: Tue Dec 13 15:50:52 2005 from wsjso.internal.mce.org
> debvs007:~ $ su -
> Password:
> root@debvs007:~# ls -lrt
> total 24
> drwx------ 2 root root 4096 Nov 23 2003 Mail
> -rw-r--r-- 1 root root 26 Apr 20 2005 Vjso
> drwxr-xr-x 2 root root 4096 Oct 5 15:26 tmp
> drwxr-xr-x 2 root root 4096 Oct 5 15:51 var
> drwxr-xr-x 2 root root 4096 Nov 3 19:09 bin
> drwxr-xr-x 2 root root 4096 Dec 13 14:19 Man
>
> [...]
> (well just basics, I still have to see which startup script I need to
> start/stop at the reboot/shutdown and other stuff I would like to test as
> xdmcp, ...)
>
> The additional question is (may be non sense but thought): those
> chroot disk was also bootable, so if I want to reboot I would
> just have to write and run a script which will would restore /dev
> /etc/init.d and corresponding rc?.d?

well, it might be an option to use udev to populate
the dev (on a real boot) and just clense them before
you use it as guest ...

> Or is it possible to instruct vserver to use better a /dev.vserver as
> well as /etc/init.d.vserver, ...?

you could also do some --bind mounting on guest
startup (see pre/post scripts and fstab) and of course
if security is not an issue for your guests, you could
also let them run with the fully populated /dev

HTH,
Herbert

> Or doesn't it make any more sense at all because of vserver itself?
>
> Thanks again for all help,
> Joel
>
> -------------------------------------------------------
> NOTE! My email address is changing to ... @scarlet.be
> Please make the necessary changes in your address book.
>
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Dec 13 19:28:31 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 13 Dec 2005 - 19:28:34 GMT by hypermail 2.1.8