Logic to restart services on NSS upgrade misses some
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
Fix Released
|
Undecided
|
Canonical Foundations Team | ||
Lucid |
Fix Released
|
Undecided
|
Canonical Foundations Team |
Bug Description
(Reading database ... 259187 files and directories currently installed.)
Preparing to replace libc6 2.11~20100104-
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6 ...
Setting up libc6 (2.11~20100104-
Checking for services that may need to be restarted...
Checking init scripts...
WARNING: init script for atd not found.
WARNING: init script for cron not found.
WARNING: init script for ssh not found.
WARNING: init script for gdm not found.
Restarting services possibly affected by the upgrade:
rsync: restarting...done.
postfix: restarting...done.
openbsd-inetd: restarting...done.
dovecot: restarting...done.
cups: restarting...done.
Services restarted successfully.
cron and the other daemons which received WARNINGs should have been restarted, but were not:
root 1261 0.0 0.0 2088 272 ? Ss 2009 0:03 cron
root 922 0.0 0.0 8172 1012 ? Ss 2009 2:08 gdm-binary
daemon 1260 0.0 0.0 1960 56 ? Ss 2009 0:00 atd
root 8246 0.0 0.0 5392 440 ? Ss Jan05 0:00 /usr/sbin/sshd
All of the ones which worked have plain init scripts:
mizar:[~] ls -l /etc/init.
-rwxr-xr-x 1 root root 3072 2009-10-15 20:15 /etc/init.d/cups
-rwxr-xr-x 1 root root 5427 2009-02-13 03:19 /etc/init.d/dovecot
-rwxr-xr-x 1 root root 2434 2009-11-25 20:01 /etc/init.
-rwxr-xr-x 1 root root 4695 2008-06-01 14:48 /etc/init.d/postfix
-rwxr-xr-x 1 root root 4310 2009-06-25 14:12 /etc/init.d/rsync
While the ones which failed have symlinks to /lib/init/
mizar:[~] ls -l /etc/init.
lrwxrwxrwx 1 root root 21 2009-10-02 09:49 /etc/init.d/atd -> /lib/init/
lrwxrwxrwx 1 root root 21 2009-10-02 09:49 /etc/init.d/cron -> /lib/init/
lrwxrwxrwx 1 root root 21 2010-01-11 10:40 /etc/init.d/gdm -> /lib/init/
Except ssh:
-rwxr-xr-x 1 root root 3899 2010-01-04 15:10 /etc/init.d/ssh
which has an upstart job but seems to have left its init script behind (no rc?.d symlinks though).
The code is:
mizar:[~] for d in atd cron gdm ssh; do invoke-rc.d --query $d start; echo "$d: $?"; done
atd: 105
cron: 105
gdm: 105
ssh: 105
ProblemType: Bug
Architecture: i386
Date: Mon Jan 11 10:42:19 2010
DistroRelease: Ubuntu 10.04
Package: libc6 2.11~20100104-
ProcEnviron:
LANGUAGE=
LC_COLLATE=C
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
ProcVersionSign
SourcePackage: eglibc
Tags: lucid
Uname: Linux 2.6.31-14-generic i686
Related branches
Changed in eglibc (Ubuntu): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in eglibc (Ubuntu Lucid): | |
milestone: | none → ubuntu-10.04-beta-2 |
This bug was fixed in the package eglibc - 2.11.1-0ubuntu5
---------------
eglibc (2.11.1-0ubuntu5) lucid; urgency=low
* Apply from the 2.11-x86 branch: i386/i686/ multiarch/ memcmp- ssse3.S.
- Append -U__i686 in ASFLAGS on x86.
- Backport 32bit SSSE3/SSE4 optimized memcmp and strcmp from trunk.
- Correct unwind info in strcmp-sse4.S.
- Fix sysdeps/
* Extend logic to restart upstart based services on NSS upgrade.
LP: #505838.
-- Matthias Klose <email address hidden> Sun, 21 Mar 2010 15:11:00 +0100