Debian 11 - chybí /var/run/reboot-required

Debian 11 - chybí /var/run/reboot-required
« kdy: 08. 04. 2022, 09:49:21 »
Ahoj,

zjistil jsem, ze mi chybi /var/run/reboot-required, ktery by mel byt vytvaren automaticky.  Je jedno, zda updatuju pres ansible, ci pres aptitude, proste chybi.

Nevi nekdo, co zkontrolovat? "needrestart -k" detekuje rozdil kernelu, ale pripadne resit, jak to dostat do ansible skriptu, je vetsi opruz...
« Poslední změna: 08. 04. 2022, 10:20:29 od Petr Krčmář »


robin martinez

  • *****
  • 1 138
  • Have you hugged your toilet today?
    • Zobrazit profil
    • Null Storage
    • E-mail
Re:Debian 11 - chybí /var/run/reboot-required
« Odpověď #1 kdy: 08. 04. 2022, 12:03:32 »
Citace
Note: for debian systems, /var/run/reboot-required does not get created unless the update-notifier-common (pokud chapu, tak je v baliku reboot-notifier) package is installed.

ale nevim, jak je to pravdive
One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man.

I do Linux, Hardware and spaghetti code in PHP, Python and JavaScript

Re:Debian 11 - chybí /var/run/reboot-required
« Odpověď #2 kdy: 11. 04. 2022, 12:39:17 »
Citace
Note: for debian systems, /var/run/reboot-required does not get created unless the update-notifier-common (pokud chapu, tak je v baliku reboot-notifier) package is installed.

ale nevim, jak je to pravdive

No prave, tahle vec neni uz od jessie, misto toho je reboot-notifier. Ale stejne mi uchazi, proc tato vec neni nikde znama...

Re:Debian 11 - chybí /var/run/reboot-required
« Odpověď #3 kdy: 16. 04. 2022, 15:40:09 »
Hoj,

pokud nejsi limitovan tim, co instalovat, tak jsem to resil pres balik unattended-upgrades, ktery by si mel sahnout na cestu /var/run/reboot-required (respektive to tak pres Ansible resim doted).

Dalsi HC moznost je sledevat, zda se instaluji baliky, ktere vyzaduji restartovat masinu, tech bude par (kernel/kernel-devel, glibc, systemd... a asi par dalsich), coz jde pres Ansible vychytat taky

Re:Debian 11 - chybí /var/run/reboot-required
« Odpověď #4 kdy: 19. 04. 2022, 11:08:02 »
Hoj,

pokud nejsi limitovan tim, co instalovat, tak jsem to resil pres balik unattended-upgrades, ktery by si mel sahnout na cestu /var/run/reboot-required (respektive to tak pres Ansible resim doted).

Dalsi HC moznost je sledevat, zda se instaluji baliky, ktere vyzaduji restartovat masinu, tech bude par (kernel/kernel-devel, glibc, systemd... a asi par dalsich), coz jde pres Ansible vychytat taky

Mam to chapat tak, ze spustis aktualizaci prikazem "unattended-upgrades"? Nebo jak?


k3dAR

  • *****
  • 2 837
  • porad nemam telo, ale uz mam hlavu... nobody
    • Zobrazit profil
    • E-mail
Re:Debian 11 - chybí /var/run/reboot-required
« Odpověď #5 kdy: 19. 04. 2022, 13:43:57 »
btw: v Xubuntu pouzivam needrestart, dokaze restartovat sluzby po instalaci knihoven
https://packages.debian.org/bullseye/needrestart

Re:Debian 11 - chybí /var/run/reboot-required
« Odpověď #6 kdy: 19. 04. 2022, 14:46:56 »
btw: v Xubuntu pouzivam needrestart, dokaze restartovat sluzby po instalaci knihoven
https://packages.debian.org/bullseye/needrestart

Ten ja pouzivam pro restart sluzeb, ale otestovani kernelu mi to zobrazuje jen v tui...cli verzi (obdobu aplikacniho list mode) jsem tam nevidel.