Re: Some questions around needrestart utility
17 janv. 2021 à 21:50 de didier.gau...@gmail.com: > from https://github.com/liske/needrestart-session : > "needrestart checks which processes need to be restarted after library > upgrades. needrestart-session implements a notification of user sessions > about their obsolete processes after system upgrades." > > In short: automatic notification instead of manual checking :-) > Ohh I see. So it's all about notification. This is the only way you get a notification that some services need to be restarted following your unattended-upgrades, right? Otherwise you would get nothing as unattended-upgrades is not interactive... As a single user with only interactive upgrades, I'm not sure needrestart-session is useful to me right now. needrestart is probably enough. Thanks l0f4r0
Re: Some questions around needrestart utility
Le 17/01/2021 à 21:37, l0f...@tuta.io a écrit : [...] I didn't pay attention there is a needrestart-session! Can you tell me please how it could be useful to me if I have already needrestart? Indeed, needrestart already lists me the "User sessions running outdated binaries"... What's more to expect? [...] from https://github.com/liske/needrestart-session : "needrestart checks which processes need to be restarted after library upgrades. needrestart-session implements a notification of user sessions about their obsolete processes after system upgrades." In short: automatic notification instead of manual checking :-)
Re: Some questions around needrestart utility
Hi, 17 janv. 2021 à 19:24 de didier.gau...@gmail.com: > I installed needrestart (and needrestart-session too) because it is suggested > by unattended-upgrades (installed and running on my system, with > apt-listbugs), so when something has been upgraded and needs to be restarted, > needrestart pops up on my display to warn me > I didn't pay attention there is a needrestart-session! Can you tell me please how it could be useful to me if I have already needrestart? Indeed, needrestart already lists me the "User sessions running outdated binaries"... What's more to expect? 17 janv. 2021 à 21:06 de s...@svenhartge.de: > All this is configured via /etc/needrestart/needrestart.conf. > > Services can be blacklisted and will never even show up and services can > be overridden and will show up but will be deselected, for the admin to > manually select them to be restarted should they so desire. > > The configuration provides a selection of pre-defined overrides, based > on experience of the author(s), bug reports and input from users. > > You will find networking stuff like "NetworkManager" or display managers > like "lightdm" in there to prevent you from sawing off the branch you > are sitting on. > Ok, I didn't get this is the meaning of "override". Clear now, thanks. Best regards, l0f4r0
Re: Some questions around needrestart utility
l0f...@tuta.io wrote: > Can someone explain me how needrestart (in interactive advanced mode) > preselects services to be restarted please? I mean when I launch it, > only some services are preselected while others are not.So according > to what criteria? Does it preselect those whose reboot has less > impact on the machine? All this is configured via /etc/needrestart/needrestart.conf. Services can be blacklisted and will never even show up and services can be overridden and will show up but will be deselected, for the admin to manually select them to be restarted should they so desire. The configuration provides a selection of pre-defined overrides, based on experience of the author(s), bug reports and input from users. You will find networking stuff like "NetworkManager" or display managers like "lightdm" in there to prevent you from sawing off the branch you are sitting on. All this can be of course tailored to your own liking. Grüße, Sven. -- Sigmentation fault. Core dumped.
Re: Some questions around needrestart utility
Hello, basically it seems to detect which service needs to be restarted after an upgrade I installed needrestart (and needrestart-session too) because it is suggested by unattended-upgrades (installed and running on my system, with apt-listbugs), so when something has been upgraded and needs to be restarted, needrestart pops up on my display to warn me You may read the README and explore/read the relevant files in /etc didier@hp-notebook14:~$ apt-file list needrestart needrestart: /etc/apt/apt.conf.d/99needrestart needrestart: /etc/dpkg/dpkg.cfg.d/needrestart needrestart: /etc/needrestart/conf.d/README.needrestart needrestart: /etc/needrestart/hook.d/10-dpkg needrestart: /etc/needrestart/hook.d/20-rpm needrestart: /etc/needrestart/hook.d/90-none needrestart: /etc/needrestart/needrestart.conf needrestart: /etc/needrestart/notify.conf needrestart: /etc/needrestart/notify.d/200-write needrestart: /etc/needrestart/notify.d/400-notify-send needrestart: /etc/needrestart/notify.d/600-mail needrestart: /etc/needrestart/notify.d/README.needrestart needrestart: /etc/needrestart/restart.d/README.needrestart needrestart: /etc/needrestart/restart.d/dbus.service needrestart: /etc/needrestart/restart.d/systemd-manager needrestart: /etc/needrestart/restart.d/sysv-init needrestart: /usr/lib/needrestart/apt-pinvoke needrestart: /usr/lib/needrestart/dpkg-status needrestart: /usr/lib/needrestart/iucode-scan-versions needrestart: /usr/lib/needrestart/notify.d.sh needrestart: /usr/lib/needrestart/vmlinuz-get-version needrestart: /usr/sbin/needrestart needrestart: /usr/share/bug/needrestart/script needrestart: /usr/share/doc/needrestart/NEWS.Debian.gz needrestart: /usr/share/doc/needrestart/NEWS.gz needrestart: /usr/share/doc/needrestart/README.Cont.md needrestart: /usr/share/doc/needrestart/README.Interp.md needrestart: /usr/share/doc/needrestart/README.batch.md needrestart: /usr/share/doc/needrestart/README.md needrestart: /usr/share/doc/needrestart/README.nagios.md needrestart: /usr/share/doc/needrestart/README.uCode.md needrestart: /usr/share/doc/needrestart/changelog.Debian.gz needrestart: /usr/share/doc/needrestart/changelog.gz needrestart: /usr/share/doc/needrestart/copyright needrestart: /usr/share/doc/needrestart/examples/needrestart-nagios needrestart: /usr/share/locale/cs/LC_MESSAGES/needrestart-notify.mo needrestart: /usr/share/locale/cs/LC_MESSAGES/needrestart.mo needrestart: /usr/share/locale/de/LC_MESSAGES/needrestart-notify.mo needrestart: /usr/share/locale/de/LC_MESSAGES/needrestart.mo needrestart: /usr/share/locale/ru/LC_MESSAGES/needrestart-notify.mo needrestart: /usr/share/locale/ru/LC_MESSAGES/needrestart.mo needrestart: /usr/share/man/man1/needrestart.1.gz needrestart: /usr/share/needrestart/needrestart.templates needrestart: /usr/share/perl5/NeedRestart.pm needrestart: /usr/share/perl5/NeedRestart/CONT.pm needrestart: /usr/share/perl5/NeedRestart/CONT/LXC.pm needrestart: /usr/share/perl5/NeedRestart/CONT/docker.pm needrestart: /usr/share/perl5/NeedRestart/CONT/machined.pm needrestart: /usr/share/perl5/NeedRestart/Interp.pm needrestart: /usr/share/perl5/NeedRestart/Interp/Java.pm needrestart: /usr/share/perl5/NeedRestart/Interp/Perl.pm needrestart: /usr/share/perl5/NeedRestart/Interp/Python.pm needrestart: /usr/share/perl5/NeedRestart/Interp/Ruby.pm needrestart: /usr/share/perl5/NeedRestart/Kernel.pm needrestart: /usr/share/perl5/NeedRestart/Kernel/Linux.pm needrestart: /usr/share/perl5/NeedRestart/Kernel/kFreeBSD.pm needrestart: /usr/share/perl5/NeedRestart/Strings.pm needrestart: /usr/share/perl5/NeedRestart/UI.pm needrestart: /usr/share/perl5/NeedRestart/UI/Debconf.pm needrestart: /usr/share/perl5/NeedRestart/UI/stdio.pm needrestart: /usr/share/perl5/NeedRestart/Utils.pm needrestart: /usr/share/perl5/NeedRestart/uCode.pm needrestart: /usr/share/perl5/NeedRestart/uCode/Intel.pm needrestart: /usr/share/polkit-1/actions/net.fiasko-nw.needrestart.policy didier@hp-notebook14:~$ apt-file list needrestart-session needrestart-session: /etc/dbus-1/system.d/net.ibh.NeedRestart.System.conf needrestart-session: /etc/needrestart/notify.d/300-needrestart-session needrestart-session: /etc/xdg/autostart/needrestart-dbus-session.desktop needrestart-session: /usr/bin/needrestart-session needrestart-session: /usr/lib/needrestart-session/needrestart-dbus-session needrestart-session: /usr/lib/needrestart-session/needrestart-dbus-system needrestart-session: /usr/lib/needrestart-session/needrestart-x11 needrestart-session: /usr/share/applications/needrestart-session.desktop needrestart-session: /usr/share/applications/needrestart.desktop needrestart-session: /usr/share/dbus-1/system-services/net.ibh.NeedRestart.System.service needrestart-session: /usr/share/doc/needrestart-session/README.md needrestart-session: /usr/share/doc/needrestart-session/changelog.Debian.gz needrestart-session: /usr/share/doc/needrestart-session/changelog.gz needrestart-session: /usr/share/doc/needrestart-session/copyright
Some questions around needrestart utility
Hi, Can someone explain me how needrestart (in interactive advanced mode) preselects services to be restarted please? I mean when I launch it, only some services are preselected while others are not.So according to what criteria? Does it preselect those whose reboot has less impact on the machine? It seems to be a great utility (hook with dpkg and configurable). Did you need some specific configuration or has it been working out of the box for you? Do you have good reasons to use checkrestart instead (in package debian-goodies)? Thanks in advance for your feedback :) Best regards, l0f4r0