Public bug reported:

(Reading database ... 259187 files and directories currently installed.)
Preparing to replace libc6 2.11~20100104-0ubuntu2 (using 
.../libc6_2.11~20100104-0ubuntu3_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6 ...
Setting up libc6 (2.11~20100104-0ubuntu3) ...
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.d/{rsync,postfix,openbsd-inetd,dovecot,cups}
-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.d/openbsd-inetd
-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/upstart-job:

mizar:[~] ls -l /etc/init.d/{atd,cron,ssh,gdm}                        
lrwxrwxrwx 1 root root   21 2009-10-02 09:49 /etc/init.d/atd -> 
/lib/init/upstart-job
lrwxrwxrwx 1 root root   21 2009-10-02 09:49 /etc/init.d/cron -> 
/lib/init/upstart-job
lrwxrwxrwx 1 root root   21 2010-01-11 10:40 /etc/init.d/gdm -> 
/lib/init/upstart-job

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:

                    invoke-rc.d --query ${service} start 2>/dev/null || 
status=$?
                    if [ "$status" = "104" ] ; then
                        services="$service $services"
                    else
                        echo "WARNING: init script for $service not found."
                    fi

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-0ubuntu3
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: eglibc
Tags: lucid
Uname: Linux 2.6.31-14-generic i686

** Affects: eglibc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid regression-potential

-- 
Logic to restart services on NSS upgrade misses some
https://bugs.launchpad.net/bugs/505838
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to