Benutzer-Werkzeuge

Webseiten-Werkzeuge


tachtler:archlinux_-_needrestart

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
tachtler:archlinux_-_needrestart [2021/04/25 12:38] klaustachtler:archlinux_-_needrestart [2021/04/25 13:00] (aktuell) – [Beispielaufruf] klaus
Zeile 213: Zeile 213:
 ===== Konfiguration ===== ===== Konfiguration =====
  
-FIXME **Hier geht es weiter...** **To be continued...**+Zur Verwendung von [[https://github.com/liske/needrestart|needrestart]] ist grundsätzlich keine Konfiguration erforderlich
  
 +Die Konfigurationsdateien für etwaige Anpassungen befinden sich im Verzeichnis
 +  * ''/etc/needrestart''
 +
 +===== Beispielaufruf =====
 +
 +Nachfolgender Aufruf zeigt alle aktuellen Optionen und Parameter von [[https://github.com/liske/needrestart|needrestart]]:
 +
 +<code>
 +# needrestart --help
 +
 +needrestart 3.5 - Restart daemons after library updates.
 +
 +Authors:
 +  Thomas Liske <thomas@fiasko-nw.net>
 +
 +Copyright Holder:
 +  2013 - 2020 (C) Thomas Liske [http://fiasko-nw.net/~thomas/]
 +
 +Upstream:
 +  https://github.com/liske/needrestart
 +
 +This program is free software; you can redistribute it and/or modify
 +it under the terms of the GNU General Public License as published by
 +the Free Software Foundation; either version 2 of the License, or
 +(at your option) any later version.
 +
 +Usage:
 +
 +  needrestart [-vn] [-c <cfg>] [-r <mode>] [-f <fe>] [-u <ui>] [-bkl]
 +
 +    -v be more verbose
 +    -q be quiet
 +    -m <mode> set detail level
 + e (e)asy mode
 + a (a)dvanced mode
 +    -n set default answer to 'no'
 +    -c <cfg> config filename
 +    -r <mode> set restart mode
 + l (l)ist only
 + i (i)nteractive restart
 + a (a)utomatically restart
 +    -b enable batch mode
 +    -p          enable nagios plugin mode
 +    -f <fe> override debconf frontend (DEBIAN_FRONTEND, debconf(7))
 +    -u <ui>     use preferred UI package (-u ? shows available packages)
 +
 +  By using the following options only the specified checks are performed:
 +    -k          check for obsolete kernel
 +    -l          check for obsolete libraries
 +    -w          check for obsolete CPU microcode
 +
 +    --help      show this help
 +    --version   show version information
 +
 +</code>
 +
 +Ein möglicher Aufruf, um nur mögliche Neustart Anforderungen aufzulisten, **__ohne einen tatsächlich Neustart durchzuführen__**, kann mit nachfolgendem Befehl ausgeführt werden:
 +<code>
 +# needrestart -n -r l -k -l -w
 +Scanning processes...
 +Scanning linux images...
 +
 +Running kernel seems to be up-to-date.
 +
 +No services need to be restarted.
 +
 +No containers need to be restarted.
 +
 +No user sessions are running outdated binaries.
 +</code>
 +bzw. 
 +<code>
 +# needrestart -n -r l -k -l -w
 +Scanning processes...                                                           
 +Scanning candidates...                                                          
 +Scanning linux images...                                                        
 +
 +Running kernel seems to be up-to-date.
 +
 +Services to be restarted:
 +
 +Service restarts being deferred:
 + systemctl restart NetworkManager.service
 + systemctl restart accounts-daemon.service
 + systemctl restart avahi-daemon.service
 + systemctl restart colord.service
 + systemctl restart cups-browsed.service
 + systemctl restart cups.service
 + /etc/needrestart/restart.d/dbus.service
 + systemctl restart gdm.service
 + systemctl restart libvirtd.service
 + systemctl restart polkit.service
 + systemctl restart rtkit-daemon.service
 + systemctl restart systemd-journald.service
 + systemctl restart systemd-logind.service
 + systemctl restart systemd-machined.service
 + systemctl restart systemd-timesyncd.service
 + systemctl restart systemd-udevd.service
 + systemctl restart udisks2.service
 + systemctl restart upower.service
 + systemctl restart user@1000.service
 + systemctl restart wpa_supplicant.service
 +
 +No containers need to be restarted.
 +
 +No user sessions are running outdated binaries.
 +</code>
tachtler/archlinux_-_needrestart.1619347102.txt.gz · Zuletzt geändert: 2021/04/25 12:38 von klaus