Package: needrestart
Version: 2.8-1
Severity: wishlist

Dear Maintainer,

currently the apt-pinvoke helper exec's needrestart without any
arguments when run from APT.

If you want to use different modes of operation when using APT and
when using needrestart interactively it's currently necessary to use
the standard config file for APT, which means the user has to add -c
<path-to-config> for each interactive calls, which is a bit burdensome.

My use case is the following: 

1.) by default when run from APT restart a less important services
automatically, the more important ones are blacklisted in a file in
/etc/needrestart/conf.d/

2.) the admin user can then use needrestart to list/restart the more
important services manually and while on the machine, by
providing a different config file (which is ignoring the blacklist in
conf.d/), which currently means calling it with -c <path-to-config>

It would be nice to be able to set a different config for APT, so the
interactive call of needrestart is could be plain 'needrestart' again.

Cheers
Wolfgang

-- Package-specific info:
needrestart output:
Your outdated processes:
ApacheDirectory[9304], at-spi-bus-laun[2309], at-spi2-registr[2346], bash[2241, 
2245, 2104, 2116, 2246, 2108, 2243, 2110], chromium[3537, 3545, 3587, 3576], 
dane-plug[3958],
 dbus-daemon[2340, 1846], dbus-launch[1845], dconf-service[19859], 
dnssec-plug[3843], gconfd-2[3638], gkrellm[2055], gvfsd[1952], 
gvfsd-metadata[20750], gvfsd-trash[19829],
 gvfs-udisks2-vo[19817], mosh-client[8020], panel-13-systra[1983], 
panel-16-action[1984], sh[1809], systemd[1796], Thunar[1881], 
thunderbird[9255], tpb[1854],
 wicd-client[2092], xfce4-panel[1883], xfce4-session[1871], 
xfce4-volumed[2100], xfconfd[1875], xfdesktop[1982], xfrun4[9247], 
xfsettingsd[1888], xfwm4[1879],
 xscreensaver[2097], xterm[2060, 2061, 2058, 2057, 2063, 2056, 2059, 2062], 
x-www-browser[3634]

checkrestart output:


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.5.0-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
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

-- no debconf information

Reply via email to