Oh, maybe i even configured it. I disabled the kernelhints some time
ago, i am not sure if i edited the config directly, but probably i did.

I guess it's still a bug, isn't it?

Here the current config, option on line 88:

  1
  2 # needrestart - Restart daemons after library updates.
  3 #
  4 # Authors:
  5 #   Thomas Liske <tho...@fiasko-nw.net>
  6 #
  7 # Copyright Holder:
  8 #   2013 - 2014 (C) Thomas Liske [http://fiasko-nw.net/~thomas/]
  9 #
 10 # License:
 11 #   This program is free software; you can redistribute it and/or modify
 12 #   it under the terms of the GNU General Public License as published by
 13 #   the Free Software Foundation; either version 2 of the License, or
 14 #   (at your option) any later version.
 15 #
 16
 17 # This is the configuration file of needrestart. This is perl syntax.
 18 # needrstart uses reasonable default values, you might not need to
 19 # change anything.
 20
 21 # Be more verbose (-v).
 22 #$nrconf{verbose} = 1;
 23
 24 # Path of the package manager hook scripts.
 25 #$nrconf{hook_d} = '/etc/needrestart/hook.d';
 26
 27 # Restart services (l)ist only, (i)nteractive or (a)utomatically.
 28 #$nrconf{restart} = 'i';
 29
 30 # Use prefered UI package.
 31 #$nrconf{ui} = 'NeedRestart::UI::stdio';
 32
 33 # Change default answer to 'no' in (i)nteractive mode.
 34 #$nrconf{defno} = 1;
 35
 36 # Blacklist binaries (list of regex).
 37 $nrconf{blacklist} = [
 38     # ignore sudo (not a daemon)
 39     q(^/usr/bin/sudo(\.dpkg-new)?$),
 40
 41     # ignore DHCP clients
 42     q(^/sbin/(dhclient|dhcpcd5|pump|udhcpc)(\.dpkg-new)?$),
 43 ];
 44
 45 # Blacklist services (list of regex) - USE WITH CARE.
 46 # You should prefere to put services to $nrconf{override_rc} instead.
 47 # Any service listed in $nrconf{blacklist_rc} we be ignored completely!
 48 #$nrconf{blacklist_rc} = [
 49 #];
 50
 51 # Override service default selection (hash of regex).
 52 $nrconf{override_rc} = {
 53     # DBus
 54     q(^dbus) => 0,
 55
 56     # display managers
 57     q(^gdm) => 0,
 58     q(^kdm) => 0,
 59     q(^nodm) => 0,
 60     q(^wdm) => 0,
 61     q(^xdm) => 0,
 62     q(^lightdm) => 0,
 63
 64     # networking stuff
 65     q(^network-manager) => 0,
 66     q(^NetworkManager) => 0,
 67     q(^wpa_supplicant) => 0,
 68     q(^openvpn) => 0,
 69     q(^quagga) => 0,
 70     q(^tinc) => 0,
 71
 72     # gettys
 73     q(^getty@.+\.service) => 0,
 74
 75     # misc
 76     q(^zfs-fuse) => 0,
 77     q(^mythtv-backend) => 0,
 78
 79     # workaround for broken systemd-journald
 80     # (see also Debian Bug#771122 & #771254)
 81     q(^systemd-journald) => 0,
 82 };
 83
 84 # Disable interpreter scanners.
 85 #$nrconf{interpscan} = 0;
 86
 87 # Disable hints on pending kernel upgrades.
 88 $nrconf{kernelhints} = 0
 89
 90 # Read additional config snippets.
 91 if(-d q(/etc/needrestart/conf.d)) {
 92       foreach my $fn (sort </etc/needrestart/conf.d/*.conf>) {
 93           print STDERR "$LOGPREF eval $fn\n" if($nrconf{verbose});
 94           eval do { local(@ARGV, $/) = $fn; <>};
 95           die "Error parsing $fn: $@" if($@);
 96       }
 97 }

Reply via email to