Re: [Vserver] Re: future vserver on ubuntu
On Sun November 26 2006 12:15, Philippe Clérié wrote: > Gerald at uni-klu was kind enough to reply to a query I sent him. He will > not soon be building a vserver kernel for edgy because of lack of time. > > So I think I'll stick to dapper for a while yet. > > Regarding vserver and feisty, it's very likely that the patch is not in the > distribution because it's no longer in sid. And it makes sense not to > include it in sid since debian is building kernels with built-in vserver. > For all architectures too! All? Can't find the -ixp4xx (arm, little endian), nor pa-risc 32 or 64 bit. The ones posted only have the VServer Kconfig changes. Mike ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] kernel bug
On Fri, Nov 24, 2006 at 08:11:39AM +0100, Andreas Baetz wrote: > On Thursday 23 November 2006 18:49, Herbert Poetzl wrote: > > On Thu, Nov 23, 2006 at 02:43:13AM +0100, Herbert Poetzl wrote: > > > On Wed, Nov 22, 2006 at 01:28:42PM +0100, Andreas Baetz wrote: > > > > Because of the CPU scheduling problems I have with 2.6.18.2 and vserver > > > > vs2.0.2.2-rc6 I tried > > > > 2.6.18.3 and vs2.0.2.2-rc7. > > > > The patch applied cleanly to a vanilla kernel. > > > > The kernel compiled ok. > > > > After booting I tried "vserver deb4 start", that failed and I got > > > > > > > > kernel BUG at kernel/vserver/network.c:147! > > > > host kernel: invalid opcode: [#2] > > > > host kernel: PREEMPT > > > > host kernel: CPU:0 > > > > host kernel: EIP is at unhash_nx_info+0x6e/0x90 > > > > host kernel: eax: 0100 ebx: f6c7eee0 ecx: 0001 edx: > > > > e8326000 > > > > host kernel: esi: e824ba90 edi: 0010 ebp: c17efa90 esp: > > > > e8327f64 > > > > host kernel: ds: 007b es: 007b ss: 0068 > > > > host kernel: Process chbind (pid: 4168[#0], ti=e8326000 task=e824ba90 > > > > task.ti=e8326000) > > > > host kernel: Stack: f6c7eee0 0004 e8327f9c c012296e f6c7eee0 > > > > ff00 e8f1da40 > > > > host kernel: e8327f9c e824bb48 e824bb80 ff00 e8f1da40 e824bb48 > > > > e8327f9c e8327f9c > > > > host kernel: 00ff 0401a8c0 e8326000 c0122a4d c01031e1 > > > > 00ff 0804c81b > > > > host kernel: Call Trace: > > > > host kernel: Code: 04 c7 03 00 01 10 00 c7 43 04 00 02 20 00 b8 01 00 > > > > 00 00 e8 e5 ed fd ff 89 e0 25 00 e0 ff ff 8b 40 08 a8 08 75 0f 83 c4 08 > > > > 5b c3 <0f> 0b 93 00 1f 5a 43 c0 eb b8 83 c4 08 5b e9 5f 54 2c 00 eb 0d > > > > host kernel: EIP: [] unhash_nx_info+0x6e/0x90 SS:ESP > > > > 0068:e8327f64 > > > > > > > > I'm back to 2.6.18.2 now. > > > > > > thanks, should be fixed in the next release > > > > vs2.0.2.2-rc8 is out ... > > I tried vs2.0.2.2-rc8 with 2.6.18.3, the vserver starts ok, no > errors, but when I stopped it, the whole system freezed. > Right after "Deconfiguring network interfaces...done." hmm, on the guest or host? if on the guest, what does the 'Deconfiguring' do? > Nothing worked besides magic sysreq-boot. well, that is at least something ... would have been interesting to get a process dump (which should work with SYSRQ-T) > Nothing in the syslog. > Didn't try a second time due o lack of time. okay, maybe you get around, the stack trace of all processes would probably tell us more ... TIA, Herbert > Andreas > > > ** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ** > > ___ > 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] vserver cpu scheduling
On Fri, Nov 24, 2006 at 08:43:03AM +0100, Andreas Baetz wrote: > On Thursday 23 November 2006 20:29, Herbert Poetzl wrote: > > On Tue, Nov 21, 2006 at 10:05:07AM +0100, Andreas Baetz wrote: > > > Hi, > > > > > > I updated to another kernel (2.6.18.2) and another vserver version > > > (vs2.0.2.2-rc6), and I think the hard cpu scheduling doesn't work > > > as expected. > > > > works here as expected (with 2.6.18.3-vs2.0.2.2-rc8) > > > > > What I'm trying to do is to limit the CPU cycles for xid 8004 (deb4). > > > > > > In vserver 8004 the following command is running: > > > > > > cat /dev/zero | gzip | gzip | gzip > /dev/null > > > > hmm, strange, could you try with the following sequence > > (see links for the sources) and let me know what top > > and vtop report on that? > > > > vcmd -i 666 -BC ctx_create .flagword=^34^33^32^8 -- cpuhog > > I tested with 2.6.18.2-vs2.0.2.2-rc6, because 2.6.18.3-vs2.0.2.2-rc8 > freezed, see my other post CPU Scheduling doesn't seem to work. yes, I can confirm this, it is the result of introducing the __leav/enter functionality for irq handling, which in turn broke the scheduler accounting ... will be fixed shortly in stable and devel (we are currently trying to figure _what_ the best solution will be) stay tuned, Herbert > vtop: > op - 08:30:31 up 39 min, 6 users, load average: 0.38, 0.31, 0.20 > Tasks: 160 total, 7 running, 153 sleeping, 0 stopped, 0 zombie > Cpu(s): 98.7%us, 1.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st > Mem:904876k total, 559776k used, 345100k free,52368k buffers > Swap: 1003960k total,0k used, 1003960k free, 313956k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND > 8219 root 25 0 1424 244 192 R 94.7 0.0 0:17.17 cpuhog > > top: > top - 08:31:43 up 41 min, 6 users, load average: 1.14, 0.58, 0.30 > Tasks: 146 total, 3 running, 143 sleeping, 0 stopped, 0 zombie > Cpu(s): 98.0%us, 1.7%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st > Mem:904876k total, 561456k used, 343420k free,52552k buffers > Swap: 1003960k total,0k used, 1003960k free, 314244k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND > 3768 root 15 0 53680 11m 4680 S 2.0 1.3 1:07.79 Xorg > > > Maybe there is generally something wrong with my config ? > Do I need "Limit the idle task" in the kernel config ? > I always used a vanilla kernel for patching in all cases. > > Andreas > > > ** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ** > > ___ > 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
[Vserver] Re: future vserver on ubuntu
Gerald at uni-klu was kind enough to reply to a query I sent him. He will not soon be building a vserver kernel for edgy because of lack of time. So I think I'll stick to dapper for a while yet. Regarding vserver and feisty, it's very likely that the patch is not in the distribution because it's no longer in sid. And it makes sense not to include it in sid since debian is building kernels with built-in vserver. For all architectures too! They even have kernels with xen+vserver!!! Cheerio Philippe Herbert Poetzl wrote: > On Thu, Nov 23, 2006 at 11:30:33AM -0500, Philippe Clérié wrote: >> It looks like Ubuntu is no longer going to include >> kernel-patch-vserver in the distribution. It's not in feisty. >> >> The patch included in edgy does not apply to the stock linux sources >> (2.6.17) and edgy does not include 2.6.12/2.6.13/2.6.15 which the >> patch requires. And, there are no images at ubuntu.uni-klu.ac.at. >> >> Does anyone know what the plans are? > > would be good to contact ubuntu folks (maintainers), > they probably know more about that ... > (please CC us, if you do) > > best, > Herbert > >> Thanks >> Philippe >> >> >> >> >> ___ >> 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 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: AW: AW: [Vserver] kernel-2.6.17.13
On Sun November 26 2006 10:20, Roman Pretory wrote: > > > Find where your host distribution keeps its udev rules, > rename your nics using their hardware (mac) address, like: > > [Debian/Etch location but rule content should be the same] > in: /etc/udev/rules.d/z25_persistent-net.rules: > > # You can modify these, as long as you keep each rule on a single line. > > SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:e8:60:ba:8a", > NAME="eth0" > > SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:01:29:24:75:e9", > NAME="eth1" > > # USB device 0bda:8150 (rtl8150) > SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:4c:03:50:1d", > NAME="eth2" > > Mike > > > Thanks > > Usb not used and removed all modules > My PCI nics are not hot-swappable, the USB nic is - that entry just shows that things work as expected as I move the nic around the USB tree. > to bind ore fix nic/mag/driver makes troubles by cloning or changing nic :-( > True - but naming by hardware address is not the only choice. See: man udevinfo and the option: --attribute-walk > only useable diver module select and there to much :-) You can specify the driver module to be used (untested here). > could brake remote access so have to find differt way > but good to know keep it in mind > And if all the built-in features fail your needs, a rule can run an external script (untested here). > > > but by the way why a stable patch for a developer(unstable)Kernel(17)?? > ore are by information about not up to date? > I do not have a clue to that answer. The files on kernel.org show that 2.6.16 and 2.6.18 are being maintained more recently than 2.6.17 - I do not know why that is. > BRG > Roman > Mike ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
AW: AW: [Vserver] kernel-2.6.17.13
Daniel, the Kernel source is still installed on this node i only have to make module_install & install reboot if you give things to test or to look at i could do it BRG Roman > RP> .)Mailserver can't send mails with the new kernel > >>> Again - what do you mean by that, what was expected and what did you >>> get? > >>> A bit on information is necessary - a bit more always welcom. You >>> should > know that from your first "request session" > > mailserver fc3 trys to send mails and can't > take wron ip ,can't find host... > in bash all ok dns give correct answers > =>look for log > =>reboot sendmail > =>reboot guest > =>reboot node > =>reboot node with 2.6.12.3 == mail are send! > =>reboot node with 2.6.17 == error again > =>reboot node with 2.6.12.3 == mail are send! And why can't you send mail with 2.6.17? What does "take wrong IP" mean? yes this was confusing sendmail said to contact my mailserver by host mail.xy.at at xy.xy.xy.8 this a record don't exist on this ip it have xy.xy.xy.2 it was a used a time ago for a subdomain for testing, but exist not anymore in the bash by ping i get the correct a & mx record I can't test more because it was my intern mailserver. file, web, dns guests seems to work! i'm upgrading all nodes in the moment und a kernel update looks to be wise.. bevor so it' have to run with the old kernel until all is fixed. I was only confused because I canged the kernel now for many times, by the same prozedure without troubles. So this time i was careless making a quicker install. Thanks for Info/Help analysis/testing need now time and so a new Thread BRG Roman PS: Nice new Wiki if the DNS are up :-) Thanks to Owner/Admin -- Daniel Hokka Zakrisson GPG id: 06723412 GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412 ___ 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
AW: AW: [Vserver] kernel-2.6.17.13
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael S. Zick Gesendet: Sonntag, 26. November 2006 16:11 An: vserver@list.linux-vserver.org Betreff: Re: AW: [Vserver] kernel-2.6.17.13 On Sun November 26 2006 08:54, Daniel Hokka Zakrisson wrote: > Roman Pretory wrote: > > RP> ist a horror > > RP> .)modules for iptables have canged > > RP> have to search after use oldconfig > > > >>> What is the old version you compared it against? > > > > old Kernel = 2.6.12.3 = old .config > > Of course, things change, that is to be expected. Netfilter got a > rewrite a couple of versions ago (2.6.16, I think). > The udev event system also changed across 2.6.14/.15 > > RP> .)Nic's are turned very funny for remote work > > Find where your host distribution keeps its udev rules, rename your nics using their hardware (mac) address, like: [Debian/Etch location but rule content should be the same] in: /etc/udev/rules.d/z25_persistent-net.rules: # You can modify these, as long as you keep each rule on a single line. SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:e8:60:ba:8a", NAME="eth0" SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:01:29:24:75:e9", NAME="eth1" # USB device 0bda:8150 (rtl8150) SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:4c:03:50:1d", NAME="eth2" Mike Thanks Usb not used and removed all modules to bind ore fix nic/mag/driver makes troubles by cloning or changing nic :-( only useable diver module select and there to much :-) could brake remote access so have to find differt way but good to know keep it in mind but by the way why a stable patch for a developer(unstable)Kernel(17)?? ore are by information about not up to date? BRG Roman ___ 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
AW: AW: [Vserver] kernel-2.6.17.13
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Daniel Hokka Zakrisson Gesendet: Sonntag, 26. November 2006 15:54 An: vserver@list.linux-vserver.org Betreff: Re: AW: [Vserver] kernel-2.6.17.13 Roman Pretory wrote: > RP> ist a horror > RP> .)modules for iptables have canged > RP> have to search after use oldconfig > >>> What is the old version you compared it against? > > old Kernel = 2.6.12.3 = old .config Of course, things change, that is to be expected. Netfilter got a rewrite a couple of versions ago (2.6.16, I think). I already found such changes now by 2.14 will see > RP> .)Nic's are turned very funny for remote work > >>> What do you mean by that, what was expected and what did you get? > > 2 nic's in each server > Production1: 2x 3 Com90xx == not testet > Production2: Intel / Realtech == error > Testsystem: 2x 3 Com90xx == error > > after reboot with the new kernel > eth0 = eth1 > eth1 = eth0 You shouldn't rely on the kernel's naming. If you need eth0 to refer to a specific interface, you'll have to tell your distribution's network scripts to rename the interface with that hardware address. Thanks since now never used to could surly making troubless by canging nics > RP> .)Mailserver can't send mails with the new kernel > >>> Again - what do you mean by that, what was expected and what did you >>> get? > >>> A bit on information is necessary - a bit more always welcom. You >>> should > know that from your first "request session" > > mailserver fc3 trys to send mails and can't > take wron ip ,can't find host... > in bash all ok dns give correct answers > =>look for log > =>reboot sendmail > =>reboot guest > =>reboot node > =>reboot node with 2.6.12.3 == mail are send! > =>reboot node with 2.6.17 == error again > =>reboot node with 2.6.12.3 == mail are send! And why can't you send mail with 2.6.17? What does "take wrong IP" mean? yes this was confusing sendmail said to contact my mailserver by host mail.xy.at at xy.xy.xy.8 this a record don't exist on this ip it have xy.xy.xy.2 it was a used a time ago for a subdomain for testing, but exist not anymore in the bash by ping i get the correct a & mx record I can't test more because it was my intern mailserver. file, web, dns guests seems to work! i'm upgrading all nodes in the moment und a kernel update looks to be wise.. bevor so it' have to run with the old kernel until all is fixed. I was only confused because I canged the kernel now for many times, by the same prozedure without troubles. So this time i was careless making a quicker install. Thanks for Info/Help analysis/testing need now time and so a new Thread BRG Roman PS: Nice new Wiki if the DNS are up :-) Thanks to Owner/Admin -- Daniel Hokka Zakrisson GPG id: 06723412 GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412 ___ 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: AW: [Vserver] kernel-2.6.17.13
On Sun November 26 2006 08:54, Daniel Hokka Zakrisson wrote: > Roman Pretory wrote: > > RP> ist a horror > > RP> .)modules for iptables have canged > > RP> have to search after use oldconfig > > > >>> What is the old version you compared it against? > > > > old Kernel = 2.6.12.3 = old .config > > Of course, things change, that is to be expected. Netfilter got a > rewrite a couple of versions ago (2.6.16, I think). > The udev event system also changed across 2.6.14/.15 > > RP> .)Nic's are turned very funny for remote work > > Find where your host distribution keeps its udev rules, rename your nics using their hardware (mac) address, like: [Debian/Etch location but rule content should be the same] in: /etc/udev/rules.d/z25_persistent-net.rules: # You can modify these, as long as you keep each rule on a single line. SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:e8:60:ba:8a", NAME="eth0" SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:01:29:24:75:e9", NAME="eth1" # USB device 0bda:8150 (rtl8150) SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:4c:03:50:1d", NAME="eth2" Mike ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: AW: [Vserver] kernel-2.6.17.13
Roman Pretory wrote: RP> ist a horror RP> .)modules for iptables have canged RP> have to search after use oldconfig What is the old version you compared it against? old Kernel = 2.6.12.3 = old .config Of course, things change, that is to be expected. Netfilter got a rewrite a couple of versions ago (2.6.16, I think). RP> .)Nic's are turned very funny for remote work What do you mean by that, what was expected and what did you get? 2 nic's in each server Production1: 2x 3 Com90xx == not testet Production2: Intel / Realtech == error Testsystem: 2x 3 Com90xx == error after reboot with the new kernel eth0 = eth1 eth1 = eth0 You shouldn't rely on the kernel's naming. If you need eth0 to refer to a specific interface, you'll have to tell your distribution's network scripts to rename the interface with that hardware address. RP> .)Mailserver can't send mails with the new kernel Again - what do you mean by that, what was expected and what did you get? A bit on information is necessary - a bit more always welcom. You should know that from your first "request session" mailserver fc3 trys to send mails and can't take wron ip ,can't find host... in bash all ok dns give correct answers =>look for log =>reboot sendmail =>reboot guest =>reboot node =>reboot node with 2.6.12.3 == mail are send! =>reboot node with 2.6.17 == error again =>reboot node with 2.6.12.3 == mail are send! And why can't you send mail with 2.6.17? What does "take wrong IP" mean? -- Daniel Hokka Zakrisson GPG id: 06723412 GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
AW: [Vserver] kernel-2.6.17.13
update see below! -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Guenther Fuchs Gesendet: Sonntag, 26. November 2006 14:29 An: vserver@list.linux-vserver.org Betreff: Re: [Vserver] kernel-2.6.17.13 Hi there, on Sunday, November 26, 2006 at 12:54:08 PM there was posted: RP> just testet kernel-2.6.17.13 / patch-2.6.17.13-vs2.0.2.1.diff.bz2 RP> for 2 dayes >>On which distribution platfom? Node = FC3 cpu=AMD atlon GHZ=1.7- 2.1 Ram=512-2GB MB=A7V old Kernel = 2.6.12.3 util-vserver = 0.30.211 Guest= RH9,FC1-3, Centos4x RP> ist a horror RP> .)modules for iptables have canged RP> have to search after use oldconfig >>What is the old version you compared it against? old Kernel = 2.6.12.3 = old .config RP> .)Nic's are turned very funny for remote work >>What do you mean by that, what was expected and what did you get? 2 nic's in each server Production1: 2x 3 Com90xx == not testet Production2: Intel / Realtech == error Testsystem: 2x 3 Com90xx == error after reboot with the new kernel eth0 = eth1 eth1 = eth0 RP> .)Mailserver can't send mails with the new kernel >>Again - what do you mean by that, what was expected and what did you get? >>A bit on information is necessary - a bit more always welcom. You should know that from your first "request session" mailserver fc3 trys to send mails and can't take wron ip ,can't find host... in bash all ok dns give correct answers =>look for log =>reboot sendmail =>reboot guest =>reboot node =>reboot node with 2.6.12.3 == mail are send! =>reboot node with 2.6.17 == error again =>reboot node with 2.6.12.3 == mail are send! last .conf could be send if there is a need of BRG Roman -- regards 'n greez, Guenther Fuchs (aka "muh" and "powerfox") ___ 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] kernel-2.6.17.13
Hi there, on Sunday, November 26, 2006 at 12:54:08 PM there was posted: RP> just testet kernel-2.6.17.13 / patch-2.6.17.13-vs2.0.2.1.diff.bz2 RP> for 2 dayes On which distribution platfom? RP> ist a horror RP> .)modules for iptables have canged RP> have to search after use oldconfig What is the old version you compared it against? RP> .)Nic's are turned very funny for remote work What do you mean by that, what was expected and what did you get? RP> .)Mailserver can't send mails with the new kernel Again - what do you mean by that, what was expected and what did you get? A bit on information is necessary - a bit more always welcom. You should know that from your first "request session" -- regards 'n greez, Guenther Fuchs (aka "muh" and "powerfox") ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] kernel-2.6.17.13
Hi all just testet kernel-2.6.17.13 / patch-2.6.17.13-vs2.0.2.1.diff.bz2 for 2 dayes ist a horror .)modules for iptables have canged have to search after use oldconfig .)Nic's are turned very funny for remote work .)Mailserver can't send mails with the new kernel BRG Roman ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
AW: [Vserver] openpty(): No such file
Hello Oliver I have the same trouble by cange from vserver0.40 to util-vserver-0.30.21 fc1-2 work on 2.6.12.x my fix edit /etc/pam.d/sshd auth required pam_nologin.so => #auth required pam_nologin.so edit /etc/rc.d/rc true //set on end remove network from init hope it helps BRG Roman my fi -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Oliver Heinz Gesendet: Sonntag, 19. November 2006 15:21 An: Undisclosed.Recipients : Cc: vserver@list.linux-vserver.org Betreff: Re: [Vserver] openpty(): No such file Am Samstag, 18. November 2006 21:46 schrieb Herbert Poetzl: > On Sat, Nov 18, 2006 at 01:05:48PM +0100, Oliver Heinz wrote: > > Am Freitag, 17. November 2006 18:48 schrieb Oliver Heinz: > > > Am Freitag, 17. November 2006 17:49 schrieb Herbert Poetzl: > > > > On Fri, Nov 17, 2006 at 11:05:52AM +0100, Oliver Heinz wrote: > > > > > Am Donnerstag, 16. November 2006 13:11 schrieb Daniel Hokka Zakrisson: > > > > > > Oliver Heinz wrote: > > > > > > > Hello, > > > > > > > > > > > > > > yesterday I upgraded my development server from > > > > > > > vmlinuz-2.6.12.5-vs2.0 to 2.6.17.14-grsec2.1.9-vs2.0.2.1 > > > > > > > and util-vserver from util-vserver-0.30.210 to > > > > > > > util-vserver-0.30.211. > > > > > > > > > > > > > > All Debian/Ubuntu guests are running fine, but for the old > > > > > > > Suse9.0 guest when entering via vserver servername enter i > > > > > > > get an error: > > > > > > > > > > > > > > [EMAIL PROTECTED]:/usr/src/packages# vserver dakar enter vlogin: > > > > > > > openpty(): No such file or directory > > > > > > > [EMAIL PROTECTED]:/usr/src/packages# > > > > > > > > > > > > > > Any Idea what's wrong? Entering via ssh works fine, all > > > > > > > services are running, so it's not a major issue, just > > > > > > > annoing. > > > > > > > > > > > > Does it have /dev/ptmx and a mounted /dev/pts? When you log > > > > > > in through ssh, what tty are you on? > > > > > > > > > > dakar:~ # w > > > > > 10:56:59 up 1 day, 1:03, 2 users, load average: 0.16, 0.16, > > > > > 0.29 USER TTYLOGIN@ IDLE JCPU PCPU WHAT > > > > > oheinz ttyp1 10:28 11:22 0.10s 0.10s -bash > > > > > root ttyp2 10:560.00s 0.04s 0.00s w > > > > > > > > ~ > > > > looks like legacy ptys .. haven't seen them > > > > for some time now, not sure that is related though .. > > > > > > I was wondering too, when I ssh to a real physical host with suse > > > 9.0 and kernel 2.4 I get ptys > > > > > > > what does /dev contain in your guest? > > > > Just those few devices that are SuSE default ;-) > > > > - I tried to attach the List but: Message body is too big and nobody > > approved it yet. Is there someting special you are interessted? > > ttys?pts? > > ahem, this is what your guest should actually have in its /dev, > nothing more ... > > # ls /dev > console full log= null ptmx pts/ random tty urandom zero > > maybe an additional hdv1, but that's it, everything > else is not required and reduces your guest's security > which is why the tools do not put stuff there besides > the entries listed above ... Thanks for that advice, but this vserver is an internal development platform for a real server, which (of course) does have all those /dev entries . So security in this guest is not an issue. But it probably is not a good idea to have all that static dev entries that are for 2.4 kernels running with a 2.6 vserver enabled kernel, idn't it. So I did remove all that crap, left only crw--- 1 root tty 5, 1 2006-11-19 15:14 console crw-rw-rw- 1 root root 1, 7 2005-07-12 14:14 full prw--- 1 root root0 2006-11-19 15:14 initctl crw-rw-rw- 1 root root 1, 3 2005-07-12 14:14 null crw-rw-rw- 1 root tty 5, 2 2006-11-19 15:12 ptmx drwxr-xr-x 2 root root 4096 2006-11-15 18:34 pts crw-rw-rw- 1 root root 1, 8 2005-07-12 14:14 random crw-rw-rw- 1 root tty 5, 0 2006-11-19 15:04 tty -rw-r--r-- 1 root root 582 2006-11-19 15:13 tty10 cr--r--r-- 1 root root 1, 9 2006-11-15 18:34 urandom crw-rw-rw- 1 root root 1, 5 2005-07-12 14:14 zero But now I get an: [EMAIL PROTECTED]:~# vserver dakar enter vlogin: ioctl(): Not a typewriter [EMAIL PROTECTED]:~# and login via ssh is now broken too :-( Nov 19 15:08:56 dakar sshd[1912]: error: openpty: No such file or directory Nov 19 15:08:56 dakar sshd[1912]: error: session_pty_req: session 0 alloc failed Should I check with an non grsec vserver-kernel? Maybe it's grsec related? Thanks so far, Oliver > > best, > Herbert > > > TIA, > > Oliver > > > > > > TIA, > > > > Herbert > > > > > > > > > dakar:~ # mount > > > > > /dev/hda2 on / type reiserfs (rw) > > > > > proc on /proc type proc (rw) > > > > > devpts on /dev/pts type devpts (rw,mode=0620,gid=5) > > > > > > > > > > dakar:~ # ls -la /dev/ptmx > > > > > crw-rw-rw-1 root tty5, 2 Sep 23 2003 /dev/ptmx > > >