Bug#826526: needrestart: systemctl_combine option does not work

2016-08-26 Thread Thomas Liske

tags 826526 upstream,fixed-upstream
thanks


Hi Paul,

Paul Wise  writes:
> [ Unknown signature status ]
> Package: needrestart
> Version: 2.8-1
> Severity: normal
>
> The systemctl_combine option does not appear to work:
>
> root@chianamo ~ # grep -r systemctl_combine /etc/needrestart/
> /etc/needrestart/needrestart.conf:$nrconf{systemctl_combine} = 1;
> /etc/needrestart/conf.d/pabs.conf:$nrconf{systemctl_combine} = 1;

there was a wrong perl 'local' statement hiding configuration options
where the command line string is build. Fix will be part of needrestart
2.9.


HTH,
Thomas


> root@chianamo ~ # needrestart
> Scanning processes...
> Scanning candidates...
> Scanning linux images...
> Running kernel seems to be up-to-date.
> Services to be restarted:
>  systemctl restart cron.service
>  systemctl restart dbus.service
>  systemctl restart NetworkManager.service
> No containers need to be restarted.
>
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers testing-debug
>   APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
> 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
> 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.6.0-trunk-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.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.7
> ii  gettext-base   0.19.7-2
> ii  libintl-perl   1.24-1
> ii  libmodule-find-perl0.13-1
> ii  libmodule-scandeps-perl1.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-bin0.7.6-2
> ii  needrestart-session  0.3-2
>
> -- no debconf information
>
> -- 
> bye,
> pabs
>
> https://wiki.debian.org/PaulWise

-- 

::  WWW:https://fiasko-nw.net/~thomas/  ::
   :::  Jabber:   xmpp:tho...@jabber.fiasko-nw.net  :::
::  flickr: https://www.flickr.com/photos/laugufe/  ::



Bug#826526: needrestart: systemctl_combine option does not work

2016-06-05 Thread Paul Wise
Package: needrestart
Version: 2.8-1
Severity: normal

The systemctl_combine option does not appear to work:

root@chianamo ~ # grep -r systemctl_combine /etc/needrestart/
/etc/needrestart/needrestart.conf:$nrconf{systemctl_combine} = 1;
/etc/needrestart/conf.d/pabs.conf:$nrconf{systemctl_combine} = 1;
root@chianamo ~ # needrestart
Scanning processes...
Scanning candidates...
Scanning linux images...
Running kernel seems to be up-to-date.
Services to be restarted:
 systemctl restart cron.service
 systemctl restart dbus.service
 systemctl restart NetworkManager.service
No containers need to be restarted.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.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.7
ii  gettext-base   0.19.7-2
ii  libintl-perl   1.24-1
ii  libmodule-find-perl0.13-1
ii  libmodule-scandeps-perl1.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-bin0.7.6-2
ii  needrestart-session  0.3-2

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part