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

Bug#826678: libc6: upgrade of libc6 overwrites libraries in active use by Upstart /sbin/init



Package: libc6
Version: 2.13-38+deb7u11
Severity: important

Dear Maintainer,

After an `apt-get upgrade` on a Debian stable system running with Upstart
as /sbin/init, `initctl list` no longer works, giving me the error "Failed
to connect to socket /com/ubuntu/upstart: Connection refused". Running
`lsof -p1` shows a number of the linked libraries were deleted and overwritten
during the libc6 upgrade.

root@vps39987:~# lsof -p1
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
init 1 root cwd DIR 182,564737 4096 2 /
init 1 root rtd DIR 182,564737 4096 2 /
init 1 root txt REG 182,564737 224568 2202 /sbin/init
init 1 root mem REG 182,564737 274084 (deleted)/lib/x86_64-linux-gnu/libnss_files-2.13.so (stat: No such file or directory)
init 1 root mem REG 182,564737 274087 (deleted)/lib/x86_64-linux-gnu/libnss_nis-2.13.so (stat: No such file or directory)
init 1 root mem REG 182,564737 273955 (deleted)/lib/x86_64-linux-gnu/libnsl-2.13.so (stat: No such file or directory)
init 1 root mem REG 182,564737 274061 (deleted)/lib/x86_64-linux-gnu/libnss_compat-2.13.so (stat: No such file or directory)
init 1 root mem REG 182,564737 273075 (deleted)/lib/x86_64-linux-gnu/libdl-2.13.so (stat: No such file or directory)
init 1 root mem REG 182,564737 265765 (deleted)/lib/x86_64-linux-gnu/libpthread-2.13.so (stat: No such file or directory)
init 1 root mem REG 182,564737 272111 (deleted)/lib/x86_64-linux-gnu/libc-2.13.so (stat: No such file or directory)
init 1 root mem REG 182,564737 274113 (deleted)/lib/x86_64-linux-gnu/librt-2.13.so (stat: No such file or directory)
init 1 root mem REG 182,564737 39744 262559 /lib/x86_64-linux-gnu/libjson.so.0.1.0
init 1 root mem REG 182,564737 126232 262470 /lib/x86_64-linux-gnu/libselinux.so.1
init 1 root mem REG 182,564737 286488 264017 /lib/x86_64-linux-gnu/libdbus-1.so.3.7.2
init 1 root mem REG 182,564737 38848 264236 /lib/libnih-dbus.so.1.0.0
init 1 root mem REG 182,564737 96216 264225 /lib/libnih.so.1.0.0
init 1 root mem REG 182,564737 272094 (deleted)/lib/x86_64-linux-gnu/ld-2.13.so (stat: No such file or directory)
init 1 root 0u CHR 1,3 0t0 95 /dev/null
init 1 root 1u CHR 1,3 0t0 95 /dev/null
init 1 root 2u CHR 1,3 0t0 95 /dev/null
init 1 root 3r FIFO 0,8 0t0 212010621 pipe
init 1 root 4w FIFO 0,8 0t0 212010621 pipe
init 1 root 5r DIR 0,10 0 1 inotify
init 1 root 6r DIR 0,10 0 1 inotify
init 1 root 8u unix 0xffff880425366100 0t0 212012641 socket
init 1 root 9r DIR 0,10 0 1 inotify
init 1 root 10r FIFO 0,8 0t0 978022228 pipe

`reboot` was ineffective. `reboot -f` may work, but I am waiting on my client's
go-ahead, as the server seems to be otherwise working, and it's now the middle
of the business day.

I'm not sure what the solution would be. Just making sure you're aware of the
situation.

-- System Information:
Debian Release: 7.11
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-042stab111.12 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libc-bin  2.13-38+deb7u11
ii  libgcc1   1:4.7.2-5

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]  1.5.49
pn  glibc-doc              <none>
ii  locales                2.13-38+deb7u11

-- debconf information:
  glibc/upgrade: true
  glibc/restart-services:
  libraries/restart-without-asking: false
  glibc/disable-screensaver:
  glibc/restart-failed:


Reply to: