severity 787290 minor tags 786584 -moreinfo +fixed-upstream thanks
Hi, On 05/31/2015 06:30 AM, Christoph Anton Mitterer wrote: > Since a week or so, postfix.service is always detected as being > required to be restarted, even if it was just freshly started. this issue might be the same as in #786584. There was a code change in 2.1 using the /proc/PID/root symlink to access the binary files. This may fail for processes using chroots or mnt namespaces. Upstream has a workaround restoring the old behavior. Could you give https://github.com/liske/needrestart/commit/c18299ba5f5bd298c478979f01fdf2b3001ba699 a try (fetching the needrestart script from git head and running it from any directory should work, too). HTH, Thomas > # systemctl restart postfix.service > # needrestart -vn > [main] eval /etc/needrestart/needrestart.conf > [main] running in root-mode > [Core] Using UI 'NeedRestart::UI::stdio'... > [main] detected systemd > [main] #6301 uses obsolete /lib/x86_64-linux-gnu/libnss_files-2.19.so > [main] #6301 is a child of #6300 > [Core] #21461 is a NeedRestart::Interp::Python > [main] #6300 exe => /usr/lib/postfix/master > [main] #6300 is postfix.service > [Kernel] Linux: kernel release 4.0.0-1-amd64, kernel version #1 SMP Debian > 4.0.2-1 (2015-05-11) > [Kernel/Linux] /boot/vmlinuz-4.0.0-1-amd64 => 4.0.0-1-amd64 > (debian-ker...@lists.debian.org) #1 SMP Debian 4.0.2-1 (2015-05-11) > [4.0.0-1-amd64]* > [Kernel/Linux] Expected linux version: 4.0.0-1-amd64 > Running kernel seems to be up-to-date. > Services to be restarted: > Restart postfix.service? [yNas?] > No containers need to be restarted. > # ps ax > PID TTY STAT TIME COMMAND > ... > 6300 ? Ss 0:00 /usr/lib/postfix/master > 6301 ? S 0:00 pickup -l -t fifo -u -c > 6302 ? S 0:00 qmgr -l -t fifo -u > > > Cheers, > Chris > > > -- Package-specific info: > needrestart output: > Your outdated processes: > soffice.bin[3439] > > > > -- System Information: > Debian Release: stretch/sid > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.0.0-1-amd64 (SMP w/8 CPU cores) > Locale: LANG=en_DE.utf8, LC_CTYPE=en_DE.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages needrestart depends on: > ii dpkg 1.18.1 > ii libmodule-find-perl 0.12-1 > ii libmodule-scandeps-perl 1.16-1 > ii libproc-processtable-perl 0.51-1 > ii libsort-naturally-perl 1.03-1 > ii libterm-readkey-perl 2.32-1+b1 > ii perl 5.20.2-6 > > needrestart recommends no packages. > > Versions of packages needrestart suggests: > pn needrestart-session | libnotify-bin <none> > > -- Configuration Files: > /etc/needrestart/needrestart.conf changed [not included] > > -- no debconf information > -- :: WWW: http://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:tho...@jabber.fiasko-nw.net ::: :: flickr: http://www.flickr.com/photos/laugufe/ :: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org