tags 842512 upstream fixed-upstream thanks
Hi Antoine, Antoine Beaupré <anar...@debian.org> writes: > It is unclear to me whether installing this package alongside a > properly configured "unattended-upgrade" package will do the right > thing (that is, automatically restart services). it depends, I do not think that everybody will agree (security vs. stability). > I am unsure because the default config (needrestart.conf) has the > following entry, which I assume to be the default: > > # Restart services (l)ist only, (i)nteractive or (a)utomatically. > #$nrconf{restart} = 'i'; > > It *looks* like things work, because on the server where I have both > setup, running needrestart by hand tells me everything is fine. Is it > that "a" is the default, or that needrestart can tell there's no > terminal, or what? The default is interactive mode. Recently, several bugs have been fixed regarding the detection of non-interactive runs. So unfortunately needrestart 2.12+ might now behave different if run non-interactive while the list mode is configured (which is the default). > It would be great if this is documented better (i looked, without > luck, in the manpage and readme files). I've added a short warning to the manpage, the default config and the NEWS file. @Patrick: Maybe you should add a NEWS.Debian on this? HTH, Thomas > Thanks! > > -- Package-specific info: > needrestart output: > Your outdated processes: > chromium[13772] > > checkrestart output: > > > -- System Information: > Debian Release: 8.6 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, > 'stable'), (1, 'testing') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/2 CPU cores) > Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (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.17.27 > ii gettext-base 0.19.3-2 > ii libintl-perl 1.23-1+deb8u1 > 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-3+deb8u6 > ii xz-utils 5.1.1alpha+20120614-2+b3 > > needrestart recommends no packages. > > Versions of packages needrestart suggests: > ii libnotify-bin 0.7.6-2 > > -- no debconf information > -- :: WWW: https://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:tho...@jabber.fiasko-nw.net ::: :: flickr: https://www.flickr.com/photos/laugufe/ ::