Re: [Vserver] Vservers under Debian
Hello On Mon, Apr 04, 2005 at 03:39:25PM -0400, Stephen Frost wrote: > * Ola Lundqvist ([EMAIL PROTECTED]) wrote: > > > >* util-vserver, do it work? > > > > > > > > > > > no > > > > Thanks a lot for the information. It is good to know so I can take > > actions so it will not be included (in that arch) if Debian ship with > > x86_64 as a release arch. > > x86_64 isn't a release arch for Debian/sarge anyway. However, > util-vserver (my own compiled one, I'm getting ready to try the version > in Debian/unstable very shortly) worked just fine on amd64/x86_64. I > havn't had any problems with it and would be suprised if I have any with > the Debian package. I certainly don't think amd64/x86_64 should be > excluded from util-vserver without alot more justification... I wont. If you have the time to test util-vserver compiled with dietlibc on amd64 it would be really great. Regards, // Ola > Stephen > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver -- - Ola Lundqvist --- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 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@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
* Herbert Poetzl ([EMAIL PROTECTED]) wrote: > On Mon, Apr 04, 2005 at 03:39:25PM -0400, Stephen Frost wrote: > > * Ola Lundqvist ([EMAIL PROTECTED]) wrote: > > > > >* util-vserver, do it work? > > > > no > > > > > > Thanks a lot for the information. It is good to know so I can take > > > actions so it will not be included (in that arch) if Debian ship with > > > x86_64 as a release arch. > > > > x86_64 isn't a release arch for Debian/sarge anyway. However, > > util-vserver (my own compiled one, I'm getting ready to try the version > > in Debian/unstable very shortly) worked just fine on amd64/x86_64. I > > havn't had any problems with it and would be suprised if I have any with > > the Debian package. I certainly don't think amd64/x86_64 should be > > excluded from util-vserver without alot more justification... > > could you please provide the dietlibc and > util-vserver which is working on x86_64? heh, I havn't got dietlibc working. :) Not working w/ dietlibc isn't a reason to drop util-vserver from Debian/amd64 though (which was what it looked like Ola was implying he was going to do). This was with regular glibc, and just for the record the Debian 0.30.204-4 package appears to be working quite nicly on amd64. Stephen signature.asc Description: Digital signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
On Mon, Apr 04, 2005 at 03:39:25PM -0400, Stephen Frost wrote: > * Ola Lundqvist ([EMAIL PROTECTED]) wrote: > > > >* util-vserver, do it work? > > > no > > > > Thanks a lot for the information. It is good to know so I can take > > actions so it will not be included (in that arch) if Debian ship with > > x86_64 as a release arch. > > x86_64 isn't a release arch for Debian/sarge anyway. However, > util-vserver (my own compiled one, I'm getting ready to try the version > in Debian/unstable very shortly) worked just fine on amd64/x86_64. I > havn't had any problems with it and would be suprised if I have any with > the Debian package. I certainly don't think amd64/x86_64 should be > excluded from util-vserver without alot more justification... could you please provide the dietlibc and util-vserver which is working on x86_64? TIA, Herbert > Stephen > ___ > 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
Re: [Vserver] Vservers under Debian
On Mon, Apr 04, 2005 at 08:05:47PM +0200, Ola Lundqvist wrote: > Hello > > On Mon, Apr 04, 2005 at 12:44:07PM -0400, Paul S. Gumerman wrote: > > dietlibc version 0.28 built fine on x86_64, but it simply didn't work > > (caused all kinds of problems with vserver). > > I did not really understand this. I understand that dietlibc compile > on x86_64 but: > * dietlibc, does it work? no idea, how to test? > * util-vserver, does it compile? yep, compiles fine on x86_64 > * util-vserver, does it work? with glibc yes, with dietlibc it produces strange permission denied on execvp() (which is part of dietlibc) HTC, Herbert > Regards, > > // Ola > > -- > - Ola Lundqvist --- > / [EMAIL PROTECTED] Annebergsslingan 37 \ > | [EMAIL PROTECTED] 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@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
Re: [Vserver] Vservers under Debian
* Ola Lundqvist ([EMAIL PROTECTED]) wrote: > > >* util-vserver, do it work? > > > > > > > > no > > Thanks a lot for the information. It is good to know so I can take > actions so it will not be included (in that arch) if Debian ship with > x86_64 as a release arch. x86_64 isn't a release arch for Debian/sarge anyway. However, util-vserver (my own compiled one, I'm getting ready to try the version in Debian/unstable very shortly) worked just fine on amd64/x86_64. I havn't had any problems with it and would be suprised if I have any with the Debian package. I certainly don't think amd64/x86_64 should be excluded from util-vserver without alot more justification... Stephen signature.asc Description: Digital signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
Hello On Mon, Apr 04, 2005 at 02:37:31PM -0400, Paul S. Gumerman wrote: > > > Ola Lundqvist wrote: > > >Hello > > > >On Mon, Apr 04, 2005 at 12:44:07PM -0400, Paul S. Gumerman wrote: > > > > > >>dietlibc version 0.28 built fine on x86_64, but it simply didn't work > >>(caused all kinds of problems with vserver). > >> > >> > > > >I did not really understand this. I understand that dietlibc compile > >on x86_64 but: > >* dietlibc, do it work? > > > > > not for util-vserver > > >* util-vserver, do it compile? > > > > > yes > > >* util-vserver, do it work? > > > > > no Thanks a lot for the information. It is good to know so I can take actions so it will not be included (in that arch) if Debian ship with x86_64 as a release arch. Regards, // Ola > >Regards, > > > >// Ola > > > > > > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver -- - Ola Lundqvist --- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 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@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
Ola Lundqvist wrote: Hello On Mon, Apr 04, 2005 at 12:44:07PM -0400, Paul S. Gumerman wrote: dietlibc version 0.28 built fine on x86_64, but it simply didn't work (caused all kinds of problems with vserver). I did not really understand this. I understand that dietlibc compile on x86_64 but: * dietlibc, do it work? not for util-vserver * util-vserver, do it compile? yes * util-vserver, do it work? no Regards, // Ola ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
Hello On Mon, Apr 04, 2005 at 12:44:07PM -0400, Paul S. Gumerman wrote: > dietlibc version 0.28 built fine on x86_64, but it simply didn't work > (caused all kinds of problems with vserver). I did not really understand this. I understand that dietlibc compile on x86_64 but: * dietlibc, do it work? * util-vserver, do it compile? * util-vserver, do it work? Regards, // Ola -- - Ola Lundqvist --- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 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@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
On Mon, Apr 04, 2005 at 05:45:25PM +0200, Ola Lundqvist wrote: > 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. we have a syscall for arm now ;) it is also supported with the latest kernel (but untested) ... I would be interested if the tools (compiled against dietlibc) actually 'work' on certain platforms (especially x86_64 and ppc), because I suspect that there are still dietlibc issues on those platforms ... maybe you could arrange something? > > 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. guess that should be no big problem, enrico? TIA, Herbert > 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 homelibmnt 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 63457000176252 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 procdefaults > > > > 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 cou
Re: [Vserver] Vservers under Debian
dietlibc version 0.28 built fine on x86_64, but it simply didn't work (caused all kinds of problems with vserver). Paul Ola Lundqvist wrote: 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 homelibmnt 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 63457000176252 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 procdefaults 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: [EMAIL PROTECTED] MSN: dragonv480 .--._)`. < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ > `.( `--' w: http://volvo480.northernscum.org.uk `--' ).' \w: http://www.northernscum.org.uk / ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver -- - Ola Lundqvist --- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 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 / -
Re: [Vserver] Vservers under Debian
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 homelibmnt 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 63457000176252 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 procdefaults > > > 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: [EMAIL PROTECTED] MSN: dragonv480 .--._)`. > > > < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ > > > > > > > `.( `--' w: http://volvo480.northernscum.org.uk `--' > > > ).' > > >\w: http://www.northernscum.org.uk / > > > ___ > > > Vserver mailing list > > > Vserver@list.linux-vserver.org > > > http://list.linux-vserver.org/mailman/listinfo/vserver > > > > > > > -- > > - Ola Lundqvist --- > > / [EMAIL P
Re: [Vserver] Vservers under Debian
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! 0.30.205 is out (but requires some changes) so I'd suggest waiting for 0.30.206 and update to that once done ... 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 homelibmnt 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 63457000176252 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 procdefaults > > 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: [EMAIL PROTECTED] MSN: dragonv480 .--._)`. > > < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ > > > `.( `--' w: http://volvo480.northernscum.org.uk `--' ).' > >\w: http://www.northernscum.org.uk / > > ___ > > Vserver mailing list > > Vserver@list.linux-vserver.org > > http://list.linux-vserver.org/mailman/listinfo/vserver > > > > -- > - Ola Lundqvist --- > / [EMAIL PROTECTED] Annebergsslingan 37 \ > | [EMAIL PROTECTED] 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@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
Re: [Vserver] Vservers under Debian
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. 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 homelibmnt 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 63457000176252 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 procdefaults > 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: [EMAIL PROTECTED] MSN: dragonv480 .--._)`. > < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ > > `.( `--' w: http://volvo480.northernscum.org.uk `--' ).' >\w: http://www.northernscum.org.uk / > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver > -- - Ola Lundqvist --- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 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@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
On Fri, 1 Apr 2005, Herbert Poetzl wrote: > hmm, looks the the x25 issues strikes again ... > > if you do not have a strong reason for compiling x25 > into the kernel, I would advise to remove it ... > (I already fixed one x25 issue, but obviously the > code is more broken, will look into it soon) > Yep, you're right - have disabled .X25 and bingo - ifconfig suddenly starts working! Many thanks! You've made me happy once again, ready for the weekend :D -- / Gary Wilson, aka dragon/dragonlord/dragonv480\ .'(_.--. e: [EMAIL PROTECTED] MSN: dragonv480 .--._)`. < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ > `.( `--' w: http://volvo480.northernscum.org.uk `--' ).' \w: http://www.northernscum.org.uk / ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
On Fri, Apr 01, 2005 at 09:34:04AM +0100, Gaz Wilson wrote: > On Thu, 31 Mar 2005, Bjoern Steinbrink wrote: > > > Hello, > > > > On 2005.03.31 17:56:22 +0100, Gaz Wilson wrote: > > > On Thu, 31 Mar 2005, Gilles wrote: > > > > > > > > > test01:/# ifconfig > > > > > > Segmentation fault > > > > > > test01:/# ifconfig -a > > > > > > Segmentation fault > > > > > > > ifconfig is old and only knows about named interface addresses. stable > > tools always created named interface addresses using ifconfig, but the > > alpha tools use iproute to setup networking and thus can create nameless > > interface addresses. Those are not listed by ifconfig, but you can use > > "ip addr show" or just "ip a" instead. If you want named interfaces > > addresses, you have to tell the tools about that, please check the flower > > page for details, i don't remember them ;) > > ifconfig shouldn't segfault though... strace available? > > > > Morning Bjoern (and everyone else). I put a copy of strace within the vserver > and the output wasn't as big as I expected, and doesn't really tell me much, > other than the process gets sent a SEGV directly after a socket action - > see what you think: > > execve("/sbin/ifconfig", ["ifconfig"], [/* 16 vars */]) = 0 > uname({sys="Linux", node="test01.mydomain", ...}) = 0 > brk(0) = 0x8057b28 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0 > x40017000 > access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or > directory) > open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or > directory) > open("/etc/ld.so.cache", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=7470, ...}) = 0 > old_mmap(NULL, 7470, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000 > close(3)= 0 > access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or > directory) > open("/lib/tls/libc.so.6", O_RDONLY)= 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360Y\1"..., 512) = > 512 > fstat64(3, {st_mode=S_IFREG|0644, st_size=1253924, ...}) = 0 > old_mmap(NULL, 1260140, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001a000 > old_mmap(0x40143000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, > 0x12 > 9000) = 0x40143000 > old_mmap(0x4014b000, 10860, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANON > YMOUS, -1, 0) = 0x4014b000 > close(3)= 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0 > x4014e000 > set_thread_area({entry_number:-1 -> 6, base_addr:0x4014e2a0, limit:1048575, > seg_ > 32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, > usea > ble:1}) = 0 > munmap(0x40018000, 7470)= 0 > open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No > suc > h file or directory) > brk(0) = 0x8057b28 > brk(0x8078b28) = 0x8078b28 > brk(0) = 0x8078b28 > brk(0x8079000) = 0x8079000 > open("/usr/share/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such file or > di > rectory) > brk(0) = 0x8079000 > brk(0) = 0x8079000 > brk(0x8078000) = 0x8078000 > brk(0) = 0x8078000 > open("/usr/lib/locale/en_GB/LC_IDENTIFICATION", O_RDONLY) = -1 ENOENT (No such > f > ile or directory) > open("/usr/lib/locale/en/LC_IDENTIFICATION", O_RDONLY) = -1 ENOENT (No such > file > or directory) > uname({sys="Linux", node="test01.mydomain", ...}) = 0 > access("/proc/net", R_OK) = 0 > access("/proc/net/unix", R_OK) = 0 > socket(PF_FILE, SOCK_DGRAM, 0) = 3 > socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4 > access("/proc/net/if_inet6", R_OK) = 0 > socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not > s > upported by protocol) > access("/proc/net/ax25", R_OK) = 0 > socket(PF_AX25, SOCK_DGRAM, 0) = 5 > access("/proc/net/nr", R_OK)= 0 > socket(PF_NETROM, SOCK_SEQPACKET, 0)= 6 > access("/proc/net/rose", R_OK) = 0 > socket(PF_ROSE, SOCK_DGRAM, 0) = -1 ESOCKTNOSUPPORT (Socket type not > su > pported) > access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or > directory) > access("/proc/net/appletalk", R_OK) = -1 ENOENT (No such file or > directory) > access("/proc/sys/net/econet", R_OK)= -1 ENOENT (No such file or > directory) > access("/proc/sys/net/ash", R_OK) = -1 ENOENT (No such file or > directory) > access("/proc/net/x25", R_OK) = 0 > socket(PF_X25, SOCK_SEQPACKET, 0 > +++ killed by SIGSEGV +++ hmm, looks the the x25 issues strikes again ... if you do not have a strong reason for compiling x25 into the kernel, I would advise to remove it ... (I already fixed one x25 issue, but obviously
Re: [Vserver] Vservers under Debian
On Thu, 31 Mar 2005, Bjoern Steinbrink wrote: > Hello, > > On 2005.03.31 17:56:22 +0100, Gaz Wilson wrote: > > On Thu, 31 Mar 2005, Gilles wrote: > > > > > > > test01:/# ifconfig > > > > > Segmentation fault > > > > > test01:/# ifconfig -a > > > > > Segmentation fault > > > > > ifconfig is old and only knows about named interface addresses. stable > tools always created named interface addresses using ifconfig, but the > alpha tools use iproute to setup networking and thus can create nameless > interface addresses. Those are not listed by ifconfig, but you can use > "ip addr show" or just "ip a" instead. If you want named interfaces > addresses, you have to tell the tools about that, please check the flower > page for details, i don't remember them ;) > ifconfig shouldn't segfault though... strace available? > Morning Bjoern (and everyone else). I put a copy of strace within the vserver and the output wasn't as big as I expected, and doesn't really tell me much, other than the process gets sent a SEGV directly after a socket action - see what you think: execve("/sbin/ifconfig", ["ifconfig"], [/* 16 vars */]) = 0 uname({sys="Linux", node="test01.mydomain", ...}) = 0 brk(0) = 0x8057b28 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0 x40017000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=7470, ...}) = 0 old_mmap(NULL, 7470, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000 close(3)= 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/libc.so.6", O_RDONLY)= 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360Y\1"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=1253924, ...}) = 0 old_mmap(NULL, 1260140, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001a000 old_mmap(0x40143000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12 9000) = 0x40143000 old_mmap(0x4014b000, 10860, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON YMOUS, -1, 0) = 0x4014b000 close(3)= 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0 x4014e000 set_thread_area({entry_number:-1 -> 6, base_addr:0x4014e2a0, limit:1048575, seg_ 32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, usea ble:1}) = 0 munmap(0x40018000, 7470)= 0 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No suc h file or directory) brk(0) = 0x8057b28 brk(0x8078b28) = 0x8078b28 brk(0) = 0x8078b28 brk(0x8079000) = 0x8079000 open("/usr/share/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such file or di rectory) brk(0) = 0x8079000 brk(0) = 0x8079000 brk(0x8078000) = 0x8078000 brk(0) = 0x8078000 open("/usr/lib/locale/en_GB/LC_IDENTIFICATION", O_RDONLY) = -1 ENOENT (No such f ile or directory) open("/usr/lib/locale/en/LC_IDENTIFICATION", O_RDONLY) = -1 ENOENT (No such file or directory) uname({sys="Linux", node="test01.mydomain", ...}) = 0 access("/proc/net", R_OK) = 0 access("/proc/net/unix", R_OK) = 0 socket(PF_FILE, SOCK_DGRAM, 0) = 3 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4 access("/proc/net/if_inet6", R_OK) = 0 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not s upported by protocol) access("/proc/net/ax25", R_OK) = 0 socket(PF_AX25, SOCK_DGRAM, 0) = 5 access("/proc/net/nr", R_OK)= 0 socket(PF_NETROM, SOCK_SEQPACKET, 0)= 6 access("/proc/net/rose", R_OK) = 0 socket(PF_ROSE, SOCK_DGRAM, 0) = -1 ESOCKTNOSUPPORT (Socket type not su pported) access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or directory) access("/proc/net/appletalk", R_OK) = -1 ENOENT (No such file or directory) access("/proc/sys/net/econet", R_OK)= -1 ENOENT (No such file or directory) access("/proc/sys/net/ash", R_OK) = -1 ENOENT (No such file or directory) access("/proc/net/x25", R_OK) = 0 socket(PF_X25, SOCK_SEQPACKET, 0 +++ killed by SIGSEGV +++ Luck :) GW -- / Gary Wilson, aka dragon/dragonlord/dragonv480\ .'(_.--. e: [EMAIL PROTECTED] MSN: dragonv480 .--._)`. < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ > `.( `--' w: http://volvo480.northernscum.org.uk `--' ).' \w: http://www.northernscum.org.uk / ___ Vserver mailing list Vserver@list.linux-vserver.
Re: [Vserver] Vservers under Debian
On Thu, Mar 31, 2005 at 05:42:00PM +0100, Gaz Wilson wrote: > On Thu, 31 Mar 2005, alexander goeres - lieblinxNET wrote: > > > The problem with /proc inside a vserver looks as if you might have forgotten > > to "unhide" the proc entries. > > > > Compiling util-vservers from source and installing them gave > > an /etc/init.d/vprocunhide script on the main server, that solved the > > problem > > for me > > Thanks for that - it certainly fixed the "w" issue :-), but ifconfig is still > segfaulting - does anyone have any more ideas? yeah, try to strace -fF it and/or inspect the core dump with gdb (command where) to see why it segfaults ... (this is something which we can do together on the irc channel #vserver @ irc.oftc.net ) best, Herbert > ___ > 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
Re: [Vserver] Vservers under Debian
Hello, On 2005.03.31 17:56:22 +0100, Gaz Wilson wrote: > On Thu, 31 Mar 2005, Gilles wrote: > > > > > test01:/# ifconfig > > > > Segmentation fault > > > > test01:/# ifconfig -a > > > > Segmentation fault > > > > > > Forbidden (network hardware) inside the vserver. > > > > Sorry, this should work (as long as you don't want to set up the > > interface...). > > > Hehe - I was just about to write a reply about your previous reply, Gilles! > > Yes, I simply want to use ifconfig to show the interface, not configure > it. Interestingly enough, the IP _IS_ configured as I can ping it from > within the vserver - yet ifconfig refuses to work for as yet unknown > reasons. ifconfig is old and only knows about named interface addresses. stable tools always created named interface addresses using ifconfig, but the alpha tools use iproute to setup networking and thus can create nameless interface addresses. Those are not listed by ifconfig, but you can use "ip addr show" or just "ip a" instead. If you want named interfaces addresses, you have to tell the tools about that, please check the flower page for details, i don't remember them ;) ifconfig shouldn't segfault though... strace available? HTH Bjoern ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
On Thu, 31 Mar 2005, Gilles wrote: > > > test01:/# ifconfig > > > Segmentation fault > > > test01:/# ifconfig -a > > > Segmentation fault > > > > Forbidden (network hardware) inside the vserver. > > Sorry, this should work (as long as you don't want to set up the > interface...). Hehe - I was just about to write a reply about your previous reply, Gilles! Yes, I simply want to use ifconfig to show the interface, not configure it. Interestingly enough, the IP _IS_ configured as I can ping it from within the vserver - yet ifconfig refuses to work for as yet unknown reasons. In a previous incarnation, I tested with Debian under 2.4 kernel and the packaged vserver software, and I do recall it worked there, showing a virtual interface as well as the main eth0 of the host. Unfortunately I need the more rich featureset offered in the 2.6/devel vserver setup, which is why I'm struggling :( -- / Gary Wilson, aka dragon/dragonlord/dragonv480\ .'(_.--. e: [EMAIL PROTECTED] MSN: dragonv480 .--._)`. < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ > `.( `--' w: http://volvo480.northernscum.org.uk `--' ).' \w: http://www.northernscum.org.uk / ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
> > test01:/# ifconfig > > Segmentation fault > > test01:/# ifconfig -a > > Segmentation fault > > Forbidden (network hardware) inside the vserver. Sorry, this should work (as long as you don't want to set up the interface...). ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
> 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 procdefaults > 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//fstab Best, Gilles ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
On Thu, 31 Mar 2005, alexander goeres - lieblinxNET wrote: > The problem with /proc inside a vserver looks as if you might have forgotten > to "unhide" the proc entries. > > Compiling util-vservers from source and installing them gave > an /etc/init.d/vprocunhide script on the main server, that solved the problem > for me Thanks for that - it certainly fixed the "w" issue :-), but ifconfig is still segfaulting - does anyone have any more ideas? ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vservers under Debian
The problem with /proc inside a vserver looks as if you might have forgotten to "unhide" the proc entries. Compiling util-vservers from source and installing them gave an /etc/init.d/vprocunhide script on the main server, that solved the problem for me Have success. Alexander Am Donnerstag, 31. März 2005 18:16 schrieb Gaz Wilson: > Does anyone have any experience with the development branch of Vserver > and Debian? > > 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 homelibmnt 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 63457000176252 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 procdefaults > 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 -- netzwerk- & systemadministrator --- agoeres at lieblinx. net tel.: +49 (0)30 / 61 20 26 87 fax: +49 (0)30 / 69 00 46 03 --- lieblinxNET we do software a marwood & thiele GbR --- reichenberger straße 125 10999 berlin http://lieblinx.net --- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Vservers under Debian
Does anyone have any experience with the development branch of Vserver and Debian? 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 homelibmnt 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 63457000176252 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 procdefaults 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: [EMAIL PROTECTED] MSN: dragonv480 .--._)`. < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ > `.( `--' w: http://volvo480.northernscum.org.uk `--' ).' \w: http://www.northernscum.org.uk / ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver