Package: needrestart
Version: 2.11-4
Severity: normal

After any upgrade, needrestart hangs, with a zombie child:

/--------
| root       929 27669  0 20:31 pts/2    00:00:00     aptitude install
| root       930   929  0 20:31 pts/2    00:00:00       sh -c test -x 
/usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke || true
| root       931   930  0 20:31 pts/2    00:00:00         /usr/bin/perl -w 
/usr/share/debconf/frontend /usr/sbin/needrestart
| root       939   931  0 20:31 pts/2    00:00:00           [needrestart] 
<defunct>
\--------

If I kill the perl process (931 above) my package upgrade completes
successfully.

It looks like it's not waiting properly for its children.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (400, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel

Kernel: Linux 3.16.7-ckt2-balti (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages needrestart depends on:
ii  dpkg                       1.19.0.5
ii  gettext-base               0.19.8.1-4
ii  libintl-perl               1.26-2
ii  libmodule-find-perl        0.13-1
ii  libmodule-scandeps-perl    1.24-1
ii  libproc-processtable-perl  0.53-3
ii  libsort-naturally-perl     1.03-1
ii  libterm-readkey-perl       2.37-1+b2
ii  perl                       5.26.1-5
ii  xz-utils                   5.2.2-1.3

Versions of packages needrestart recommends:
ii  sysvinit-core  2.88dsf-59.10

Versions of packages needrestart suggests:
pn  needrestart-session | libnotify-bin  <none>

-- Configuration Files:
/etc/needrestart/notify.conf changed:
NR_NOTIFYD_DISABLE_WRITE='1'
NR_NOTIFYD_DISABLE_MAIL='1'


-- no debconf information

Reply via email to