Package: needrestart
Version: 2.1-1
Severity: normal
Dear Patrick,
I tested sddm display manager and had it restarted several times
accidentally, loosing my desktop session.
I now saw how to add it myself to config file in:
# Override service default selection (hash of regex).
$nrconf{override_rc} = {
# DBus
q(^dbus) => 0,
# display managers
q(^gdm) => 0,
q(^kdm) => 0,
q(^nodm) => 0,
q(^wdm) => 0,
q(^xdm) => 0,
q(^lightdm) => 0,
but I suggest you add it by default.
Thank you,
Martin
*** End of the template - remove these template lines ***
-- Package-specific info:
needrestart output:
checkrestart output:
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-tp520-btrfstrim-pstatetrace+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages needrestart depends on:
ii dpkg 1.18.1
ii libmodule-find-perl 0.12-1
ii libmodule-scandeps-perl 1.19-1
ii libproc-processtable-perl 0.51-1
ii libsort-naturally-perl 1.03-1
ii libterm-readkey-perl 2.32-2
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:
$nrconf{sendnotify} = 0;
$nrconf{blacklist} = [
# ignore sudo (not a daemon)
q(^/usr/bin/sudo(\.dpkg-new)?$),
# ignore DHCP clients
q(^/sbin/(dhclient|dhcpcd5|pump|udhcpc)(\.dpkg-new)?$),
# ignore apt-get (Debian Bug#784237)
q(^/usr/bin/apt-get(\.dpkg-new)?$),
];
$nrconf{override_rc} = {
# DBus
q(^dbus) => 0,
# display managers
q(^gdm) => 0,
q(^kdm) => 0,
q(^nodm) => 0,
q(^wdm) => 0,
q(^xdm) => 0,
q(^lightdm) => 0,
# networking stuff
q(^network-manager) => 0,
q(^NetworkManager) => 0,
q(^wpa_supplicant) => 0,
q(^openvpn) => 0,
q(^quagga) => 0,
q(^tinc) => 0,
# gettys
q(^getty@.+\.service) => 0,
# misc
q(^zfs-fuse) => 0,
q(^mythtv-backend) => 0,
# workaround for broken systemd-journald
# (see also Debian Bug#771122 & #771254)
q(^systemd-journald) => 0,
# more systemd stuff
# (see also Debian Bug#784238 & #784437)
q(^emergency\.service$) => 0,
q(^rescue\.service$) => 0,
};
if(-d q(/etc/needrestart/conf.d)) {
foreach my $fn (sort </etc/needrestart/conf.d/*.conf>) {
print STDERR "$LOGPREF eval $fn\n" if($nrconf{verbose});
eval do { local(@ARGV, $/) = $fn; <>};
die "Error parsing $fn: $@" if($@);
}
}
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]