[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#570382: after upgrade: "vlogin: openpty(): No such file or directory"



Package: linux-2.6
Version: 2.6.26-21lenny3
Severity: normal

After upgrading the kernel from linux-image-2.6.26-2-vserver-686 2.6.26-21 to 2.6.26-21lenny3 and rebooting we could not log into the vservers any more and got the mentioned error instead:

   # vserver foo enter
   vlogin: openpty(): No such file or directory
   #

since we had some instance where the procedure had worked we compared /dev and added the devices that were not on the instances where it did not work and restarted the vserver instances. Now everything seemed to behave as expected.

We're not sure whether adding the devices cured the problem or whether it was restarting the vserver instances or both.

We add the following devices under /var/lib/vserver/foo

lrwxrwxrwx 1 root root   13 fd -> /proc/self/fd
lrwxrwxrwx 1 root root    4 stderr -> fd/2
lrwxrwxrwx 1 root root    4 stdin -> fd/0
lrwxrwxrwx 1 root root    4 stdout -> fd/1

Additionally /var/lib/vserver/foo/dev/[u]random had different permissions (only owner had write permussion). So we added "group" and "other" write permissions:

# chmod og+w /var/lib/vserver/foo/dev/*random

crw-rw-rw- 1 root root 1, 8 random
crw-rw-rw- 1 root root 1, 9 urandom

*t

-- Package-specific info:
** Version:
Linux version 2.6.26-2-vserver-686 (Debian 2.6.26-21lenny3) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Feb 10 10:39:33 UTC 2010

** Command line:
root=/dev/sda6 ro console=tty0

** Not tainted

** Kernel log:
[    4.249273] scsi: waiting for bus probes to complete ...
[    5.596939] scsi[0]: scanning scsi channel 1 [virtual] for logical drives
[    5.596939] scsi 0:1:0:0: Direct-Access     MegaRAID LD 0 RAID1   69G 521S PQ: 0 ANSI: 2
[    5.632088] scsi 0:0:6:0: Attached scsi generic sg0 type 3
[    5.632195] scsi 0:1:0:0: Attached scsi generic sg1 type 0
[    5.636929] Driver 'sd' needs updating - please use bus_type methods
[    5.636929] sd 0:1:0:0: [sda] 143114240 512-byte hardware sectors (73274 MB)
[    5.636929] sd 0:1:0:0: [sda] Write Protect is off
[    5.636929] sd 0:1:0:0: [sda] Mode Sense: 00 00 00 00
[    5.636929] sd 0:1:0:0: [sda] Asking for cache data failed
[    5.636929] sd 0:1:0:0: [sda] Assuming drive cache: write through
[    5.636929] sd 0:1:0:0: [sda] 143114240 512-byte hardware sectors (73274 MB)
[    5.636929] sd 0:1:0:0: [sda] Write Protect is off
[    5.636929] sd 0:1:0:0: [sda] Mode Sense: 00 00 00 00
[    5.636929] sd 0:1:0:0: [sda] Asking for cache data failed
[    5.636929] sd 0:1:0:0: [sda] Assuming drive cache: write through
[    5.636929]  sda: sda1 sda2 < sda5 sda6 sda7 sda8 >
[    5.654206] sd 0:1:0:0: [sda] Attached SCSI disk
[    5.908237] device-mapper: uevent: version 1.0.3
[    5.908681] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: dm-devel@redhat.com
[    5.931368] PM: Starting manual resume from disk
[    5.956270] kjournald starting.  Commit interval 5 seconds
[    5.956270] EXT3-fs: mounted filesystem with ordered data mode.
[    7.046533] udevd version 125 started
[    7.403059] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
[    7.651747] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    7.667746] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    7.835942] EDAC MC: Ver: 2.1.0 Feb 10 2010
[    7.839944] Contact your BIOS vendor to see if the E752x error registers can be safely un-hidden
[    7.891943] input: Power Button (FF) as /class/input/input0
[    7.916333] ACPI: Power Button (FF) [PWRF]
[    8.555946] ACPI Exception (video-1631): AE_NOT_FOUND, Evaluating _DOD [20080321]
[    8.555946] input: Video Bus as /class/input/input1
[    8.575975] ACPI: Video Device [EVGA] (multi-head: no  rom: yes  post: no)
[    8.581115] input: PC Speaker as /class/input/input2
[    8.719815] usb-storage: device scan complete
[    8.727946] scsi 1:0:0:0: Direct-Access     Seagate  FreeAgent        102C PQ: 0 ANSI: 4
[    8.727946] sd 1:0:0:0: [sdb] 2930277168 512-byte hardware sectors (1500302 MB)
[    8.731946] sd 1:0:0:0: [sdb] Write Protect is off
[    8.731946] sd 1:0:0:0: [sdb] Mode Sense: 1c 00 00 00
[    8.731946] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    8.731946] sd 1:0:0:0: [sdb] 2930277168 512-byte hardware sectors (1500302 MB)
[    8.735945] sd 1:0:0:0: [sdb] Write Protect is off
[    8.735945] sd 1:0:0:0: [sdb] Mode Sense: 1c 00 00 00
[    8.735945] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    8.735945]  sdb: sdb1
[    8.735945] sd 1:0:0:0: [sdb] Attached SCSI disk
[    8.735945] sd 1:0:0:0: Attached scsi generic sg2 type 0
[    8.885172] intel_rng: FWH not detected
[    8.971590] Error: Driver 'pcspkr' is already registered, aborting...
[    9.779221] Adding 3903752k swap on /dev/sda5.  Priority:-1 extents:1 across:3903752k
[   50.071401] EXT3 FS on sda6, internal journal
[   50.317679] ipmi message handler version 39.2
[   50.320128] IPMI System Interface driver.
[   50.320194] ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xca8, slave address 0x20, irq 0
[   50.445158] ipmi: Found new BMC (man_id: 0x0002a2,  prod_id: 0x0000, dev_id: 0x20)
[   50.445158] IPMI kcs interface initialized
[   50.468666] ipmi device interface
[  129.910307] kjournald starting.  Commit interval 5 seconds
[  129.913010] EXT3 FS on dm-0, internal journal
[  129.913010] EXT3-fs: mounted filesystem with ordered data mode.
[  129.934522] kjournald starting.  Commit interval 5 seconds
[  129.935180] EXT3 FS on dm-1, internal journal
[  129.935279] EXT3-fs: mounted filesystem with ordered data mode.
[  129.956288] kjournald starting.  Commit interval 5 seconds
[  129.957010] EXT3 FS on dm-2, internal journal
[  129.957010] EXT3-fs: mounted filesystem with ordered data mode.
[  129.968059] kjournald starting.  Commit interval 5 seconds
[  129.968467] EXT3 FS on dm-3, internal journal
[  129.968570] EXT3-fs: mounted filesystem with ordered data mode.
[  130.027056] kjournald starting.  Commit interval 5 seconds
[  130.029699] EXT3-fs warning: checktime reached, running e2fsck is recommended
[  130.036425] EXT3 FS on sdb1, internal journal
[  130.036532] EXT3-fs: mounted filesystem with ordered data mode.
[  130.615058] Ethernet Channel Bonding Driver: v3.2.5 (March 21, 2008)
[  130.615058] bonding: Warning: miimon (100) and arp_interval (1000) can't be used simultaneously, disabling ARP monitoring
[  130.615058] bonding: MII link monitoring set to 100 ms
[  130.619056] ADDRCONF(NETDEV_UP): bond0: link is not ready
[  130.637861] bonding: bond0: enslaving eth0 as a backup interface with a down link.
[  130.640374] e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX
[  130.643970] bonding: bond0: enslaving eth1 as a backup interface with a down link.
[  130.648380] e1000: eth1: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX
[  130.719373] bonding: bond0: link status up for interface eth0, enabling it in 200 ms.
[  130.719466] bonding: bond0: link status up for interface eth1, enabling it in 200 ms.
[  130.919803] bonding: bond0: link status definitely up for interface eth0.
[  130.919882] bonding: bond0: link status definitely up for interface eth1.
[  130.919950] bonding: bond0: making interface eth0 the new active one.
[  130.921678] bonding: bond0: first active interface up!
[  130.921864] ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
[  138.576939] Not cloning cgroup for unused subsystem ns
[  138.603760] Not cloning cgroup for unused subsystem ns
[  138.953994] secure-mount[3841]: segfault at 0 ip 08049a40 sp bfffdb08 error 6 in secure-mount[8048000+4000]
[  139.243686] Not cloning cgroup for unused subsystem ns
[  139.251074] Not cloning cgroup for unused subsystem ns
[  141.674047] bond0: no IPv6 routers present
[  164.515214] warning: `proftpd' uses 32-bit capabilities (legacy support in use)
[340130.493112] Not cloning cgroup for unused subsystem ns
[340130.817082] Not cloning cgroup for unused subsystem ns
[340150.189801] Not cloning cgroup for unused subsystem ns
[340150.413266] Not cloning cgroup for unused subsystem ns

** Model information
not available

** Loaded modules:
Module                  Size  Used by
bonding                69604  0
ipmi_devintf            6216  4
ipmi_si                33228  2
ipmi_msghandler        29560  2 ipmi_devintf,ipmi_si
ide_disk               10496  0
evdev                   8000  0
psmouse                32336  0
serio_raw               4740  0
snd_pcm                62660  0
snd_timer              17800  1 snd_pcm
snd                    45636  2 snd_pcm,snd_timer
soundcore               6368  1 snd
snd_page_alloc          7816  1 snd_pcm
rng_core                3940  0
pcspkr                  2432  0
video                  16464  0
output                  2912  1 video
button                  6096  0
e752x_edac             10824  0
edac_core              36144  1 e752x_edac
shpchp                 25528  0
pci_hotplug            23460  1 shpchp
dcdbas                  6272  0
ext3                  108264  6
jbd                    39476  1 ext3
mbcache                 7108  1 ext3
dm_mirror              15136  0
dm_log                  8452  1 dm_mirror
dm_snapshot            14340  0
dm_mod                 46632  12 dm_mirror,dm_log,dm_snapshot
sd_mod                 22200  7
sg                     26964  0
ide_cd_mod             27684  0
cdrom                  30176  1 ide_cd_mod
ide_pci_generic         3908  0 [permanent]
usb_storage            77120  1
piix                    6568  0 [permanent]
ide_core               96168  4 ide_disk,ide_cd_mod,ide_pci_generic,piix
floppy                 47844  0
ata_generic             4676  0
libata                140448  1 ata_generic
e100                   28908  0
dock                    8304  1 libata
mii                     4896  1 e100
megaraid_mbox          25872  4
scsi_mod              129548  5 sd_mod,sg,usb_storage,libata,megaraid_mbox
megaraid_mm             8284  1 megaraid_mbox
ehci_hcd               28428  0
uhci_hcd               18672  0
usbcore               118192  4 usb_storage,ehci_hcd,uhci_hcd
e1000                 102656  0
thermal                15228  0
processor              32576  1 thermal
fan                     4196  0
thermal_sys            10856  4 video,thermal,processor,fan

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.26-2-vserver-686 depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  initramfs-tools [linux-initra 0.92o      tools for generating an initramfs
ii  module-init-tools             3.4-1      tools for managing Linux kernel mo

Versions of packages linux-image-2.6.26-2-vserver-686 recommends:
ii  libc6-i686                  2.7-18lenny2 GNU C Library: Shared libraries [i

Versions of packages linux-image-2.6.26-2-vserver-686 suggests:
ii  grub                       0.97-47lenny2 GRand Unified Bootloader (Legacy v
pn  linux-doc-2.6.26           <none>        (no description available)

Versions of packages linux-image-2.6.26-2-vserver-686 is related to:
pn  firmware-bnx2                 <none>     (no description available)
pn  firmware-bnx2x                <none>     (no description available)
pn  firmware-ipw2x00              <none>     (no description available)
pn  firmware-ivtv                 <none>     (no description available)
pn  firmware-iwlwifi              <none>     (no description available)
pn  firmware-linux                <none>     (no description available)
pn  firmware-linux-nonfree        <none>     (no description available)
pn  firmware-qlogic               <none>     (no description available)
pn  firmware-ralink               <none>     (no description available)

-- debconf information:
  shared/kernel-image/really-run-bootloader: true

linux-image-2.6.26-2-vserver-686/postinst/depmod-error-initrd-2.6.26-2-vserver-686: false
linux-image-2.6.26-2-vserver-686/preinst/abort-install-2.6.26-2-vserver-686:
linux-image-2.6.26-2-vserver-686/preinst/lilo-initrd-2.6.26-2-vserver-686: true
linux-image-2.6.26-2-vserver-686/postinst/bootloader-test-error-2.6.26-2-vserver-686:
linux-image-2.6.26-2-vserver-686/prerm/would-invalidate-boot-loader-2.6.26-2-vserver-686: true
linux-image-2.6.26-2-vserver-686/postinst/old-initrd-link-2.6.26-2-vserver-686: true
linux-image-2.6.26-2-vserver-686/preinst/failed-to-move-modules-2.6.26-2-vserver-686:
linux-image-2.6.26-2-vserver-686/postinst/bootloader-error-2.6.26-2-vserver-686:
linux-image-2.6.26-2-vserver-686/postinst/create-kimage-link-2.6.26-2-vserver-686: true
linux-image-2.6.26-2-vserver-686/preinst/overwriting-modules-2.6.26-2-vserver-686: true
linux-image-2.6.26-2-vserver-686/preinst/lilo-has-ramdisk: linux-image-2.6.26-2-vserver-686/preinst/bootloader-initrd-2.6.26-2-vserver-686: true
linux-image-2.6.26-2-vserver-686/postinst/old-system-map-link-2.6.26-2-vserver-686: true
linux-image-2.6.26-2-vserver-686/preinst/elilo-initrd-2.6.26-2-vserver-686: true
linux-image-2.6.26-2-vserver-686/postinst/old-dir-initrd-link-2.6.26-2-vserver-686: true
linux-image-2.6.26-2-vserver-686/preinst/initrd-2.6.26-2-vserver-686: linux-image-2.6.26-2-vserver-686/preinst/abort-overwrite-2.6.26-2-vserver-686:
linux-image-2.6.26-2-vserver-686/postinst/depmod-error-2.6.26-2-vserver-686: false
linux-image-2.6.26-2-vserver-686/prerm/removing-running-kernel-2.6.26-2-vserver-686: true
linux-image-2.6.26-2-vserver-686/postinst/kimage-is-a-directory:




Reply to: