Hi Axel, could you please provide your needrestart config (if changed from defaults)? Is the problem reproducable? Could you attach strace to needrestart while it hangs?
TIA & HTH, Thomas On Wed, Jun 01, 2016 at 10:20:58PM +0200, Axel Beckert wrote: > Package: needrestart > Version: 2.8-1 > Severity: important > > Dear Maintainer, > > after this evening's package upgraee run, needrestart did no more exit > when running during the apt hook. htop shows a needrestart zombie > process: > > 5803 root 20 0 25776 4224 2092 S 0.0 0.0 4:40.53 `- SCREEN -RdU > 8398 root 20 0 20408 3432 2800 S 0.0 0.0 0:00.10 | `- /bin/bash > 6327 root 20 0 20420 3460 2812 S 0.0 0.0 0:00.18 | `- /bin/bash > 6304 root 20 0 20408 3416 2780 S 0.0 0.0 0:00.10 | `- /bin/bash > 27888 root 20 0 25576 6124 2696 R 0.7 0.0 0:09.58 | | `- htop > 5804 root 20 0 20404 3456 2824 S 0.0 0.0 0:00.28 | `- /bin/bash > 12196 root 20 0 598M 189M 45008 S 0.0 0.3 0:08.04 | `- > aptitude -u > 24022 root 20 0 598M 146M 1056 S 0.0 0.2 0:00.00 | `- > aptitude -u > 24160 root 20 0 4308 800 716 S 0.0 0.0 0:00.00 | | `- > sh -c test -x /usr/lib/needrestart/apt-pinvoke && > /usr/lib/needrestart/apt-pinvoke || true > 24161 root 20 0 60748 17904 4172 S 0.0 0.0 0:00.14 | | > `- /usr/bin/perl -w /usr/share/debconf/frontend /usr/sbin/needrestart > 24169 root 20 0 0 0 0 Z 0.0 0.0 0:00.32 | | > `- needrestart > 12950 root 20 0 598M 189M 45008 S 0.0 0.3 0:00.03 | `- > aptitude -u > > -- Package-specific info: > needrestart output: > Your outdated processes: > at-spi-bus-laun[4320], at-spi2-registr[4327], autocutsel[4157], autossh[5455, > 7277], ccze[7278, > 6818], dbus-daemon[4119, 4325], dbus-launch[4118], dconf-service[5282], > emacs[19225], > gconfd-2[5169], gvfs-afc-volume[9291], gvfsd[4337], gvfsd-metadata[2930], > gvfs-goa-volume[9281], > gvfs-gphoto2-vo[9286], gvfs-mtp-volume[9276], gvfs-udisks2-vo[9270], > iceweasel[5134], i3[4090], > i3bar[23198], kded4[5223], kdeinit4[5218], keynav[4156], > kglobalaccel[23813], klauncher[5221], > knotify4[23815], kuiserver[2386], kwalletd[4348], kwalletd5[4344], > less[29138, 28543, 925, 6359], > liferea[5241], monkeysphere-va[4128], mupdf-x11[31981, 30942, 2413], > somethings.sh[7270], > qasmixer[4316], redshift[4332], redshift-gtk[4317], sh[19955, 29041, 17207, > 9311, 931, 9266, > 23196, 10005, 15544, 5322, 5505, 5296, 21319, 23162, 15312, 7326, 4354, > 30550, 13700, 7300, 5386, > 1777, 3129, 20251, 12472, 30276, 14582, 8125], smart-notifier[4296], > specto[9145], ssh[13024, > 5466], tail[6817], unclutter[4125], .xsession[4312, 4313], xsettingsd[4440], > xterm[5297, 1778, > 7301, 3130, 5387, 15313, 9267, 5323, 20252, 17208, 30277, 30551, 29042, > 8126, 12473, 15545, 14583, > 10006, 9312, 5506, 7327, 21320, 13701, 23163, 19956, 932, 4355], > yeahconsole[4170], zsh[5391, > 5327, 15549, 13705, 29046, 5510, 936, 8130, 4359, 1782, 9316, 5301, 14587, > 12477, 19960, 20256, > 9274, 7305, 7331, 30555, 21324, 30281, 17212, 4193, 10010, 3134, 15317, > 23167] > > checkrestart output: > > > -- System Information: > Debian Release: stretch/sid > APT prefers unstable > APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), > (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), > (1, 'buildd-experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.6.0-trunk-amd64 (SMP w/8 CPU cores) > Locale: LANG=C.UTF-8, LC_CTYPE=C.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.18.7 > ii gettext-base 0.19.7-2 > ii libintl-perl 1.24-1 > ii libmodule-find-perl 0.13-1 > ii libmodule-scandeps-perl 1.21-1 > ii libproc-processtable-perl 0.53-1+b1 > ii libsort-naturally-perl 1.03-1 > ii libterm-readkey-perl 2.33-1+b1 > ii perl 5.22.2-1 > ii xz-utils 5.1.1alpha+20120614-2.1 > > needrestart recommends no packages. > > Versions of packages needrestart suggests: > ii libnotify-bin 0.7.6-2 > ii needrestart-session 0.3-2 > > -- no debconf information -- :: WWW: https://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:tho...@jabber.fiasko-nw.net ::: :: flickr: https://www.flickr.com/photos/laugufe/ ::