staging.inyokaproject.org

Für diese Funktion musst du eingeloggt sein.

Live Patch - Probleme

Status: Ungelöst | Ubuntu-Version: Ubuntu 20.04 (Focal Fossa)
Antworten |

Spacetaxi

Anmeldungsdatum:
24. Februar 2014

Beiträge: 2485

Das Live Patch System ist auf meinem Intel Laptop beim Start ständig ausgeschaltet, dann muss man erst aus und wieder anschalten, läuft nicht, beim AMD Desktoprechner gibts seltsamerweise keine Probleme. Nutze den Rechner über Lan, den DesktopPC (keine Probleme) über Kabelverbindung.

Ständig läuchtet das icon rot.

Fehlerhinweis in Anwendungen & Aktualisierungen:

Canonical Livepatch has experienced an internal error. Please refer to https://wiki.ubuntu.com/Kernel/Livepatch#CommonIssues for further information.

Bei jedem Neustart, System arbeitet nur nach ausschalten und wieder einschalten.

In Startprogramme eintragen hab ich nachgeschaut, geht nicht.

LG

seahawk1986

Anmeldungsdatum:
27. Oktober 2006

Beiträge: 10978

Hast du denn die im angegebenen Wiki-Artikel genannten Dinge gemacht - also das System von Hand auf den aktuellsten Stand gebracht und wenn SecureBoot aktiv ist, den Public Key für livepatch importiert?

Spacetaxi

(Themenstarter)

Anmeldungsdatum:
24. Februar 2014

Beiträge: 2485

seahawk1986 schrieb:

Hast du denn die im angegebenen Wiki-Artikel genannten Dinge gemacht - also das System von Hand auf den aktuellsten Stand gebracht und wenn SecureBoot aktiv ist, den Public Key für livepatch importiert?

Nein, wie mache ich das, ob Secure Boot aktiviertist, weiss ich nicht.

seahawk1986

Anmeldungsdatum:
27. Oktober 2006

Beiträge: 10978

Spacetaxi schrieb:

seahawk1986 schrieb:

Hast du denn die im angegebenen Wiki-Artikel genannten Dinge gemacht - also das System von Hand auf den aktuellsten Stand gebracht und wenn SecureBoot aktiv ist, den Public Key für livepatch importiert?

Nein, wie mache ich das,

sudo apt update
sudo apt full-upgrade 

Wie man den Public Key importiert steht in https://wiki.ubuntu.com/Kernel/Livepatch#CommonIssues, Abschnitt "Why isn't Livepatch working on my machine?"

ob Secure Boot aktiviertist, weiss ich nicht.

Das lässt sich schnell herausfinden:

sudo mokutil --sb-state​ 

Spacetaxi

(Themenstarter)

Anmeldungsdatum:
24. Februar 2014

Beiträge: 2485

Code

seahawk1986 schrieb:

Spacetaxi schrieb:

seahawk1986 schrieb:

Hast du denn die im angegebenen Wiki-Artikel genannten Dinge gemacht - also das System von Hand auf den aktuellsten Stand gebracht und wenn SecureBoot aktiv ist, den Public Key für livepatch importiert?

Nein, wie mache ich das,

sudo apt update
sudo apt full-upgrade 

Wie man den Public Key importiert steht in https://wiki.ubuntu.com/Kernel/Livepatch#CommonIssues, Abschnitt "Why isn't Livepatch working on my machine?"

ob Secure Boot aktiviertist, weiss ich nicht.

Das lässt sich schnell herausfinden:

sudo mokutil --sb-state​ 

EFI variables are not supported on this system

Das gilt aber für beide Rechner

 sudo apt update
OK:1 http://dl.google.com/linux/chrome/deb stable InRelease
OK:2 http://archive.ubuntu.com/ubuntu focal InRelease                          
OK:3 http://archive.canonical.com/ubuntu focal InRelease                       
OK:4 http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu focal InRelease       
OK:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease                  
OK:6 https://debian.openestate.org openestate InRelease                        
OK:7 https://deb.opera.com/opera-stable stable InRelease                       
Holen:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98,3 kB]   
OK:9 https://repo.skype.com/deb stable InRelease                               
Holen:10 http://archive.ubuntu.com/ubuntu focal-security InRelease [107 kB]    
Es wurden 205 kB in 2 s geholt (108 kB/s).
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Alle Pakete sind aktuell.
pat@pat-Aspire-5750G:~$ sudo apt full-upgrade 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
-Aspire-5750G:~$ 

a<lso würde das auch nicht viel helfen nehm ich an

sudo mokutil --import /snap/canonical-livepatch/current/keys/livepatch-kmod.x509

Ich traue mich auch nicht das auszuführen. Ich habe einen Bug an canonical geschickt mit groben Angaben meines Systems und Beschreibung des Problems.

seahawk1986

Anmeldungsdatum:
27. Oktober 2006

Beiträge: 10978

Wenn du nicht mal einen UEFI-Boot auf dem System nutzt, kann da kein Secure-Boot genutzt werden und es macht keinen Sinn zu versuchen da Schlüssel zu importieren.

Spacetaxi

(Themenstarter)

Anmeldungsdatum:
24. Februar 2014

Beiträge: 2485

seahawk1986 schrieb:

Wenn du nicht mal einen UEFI-Boot auf dem System nutzt, kann da kein Secure-Boot genutzt werden und es macht keinen Sinn zu versuchen da Schlüssel zu importieren.

Ja. Ich kenn mich da ehrlich gesagt nicht aus. Ein Bios habe ich. Aber wohl kein Uefi.

seahawk1986

Anmeldungsdatum:
27. Oktober 2006

Beiträge: 10978

Gibt es eventuell in den Logs einen Hinweis darauf, was da schief geht?

journalctl -u snap.canonical-livepatch.canonical-livepatchd 

Spacetaxi

(Themenstarter)

Anmeldungsdatum:
24. Februar 2014

Beiträge: 2485

seahawk1986 schrieb:

Gibt es eventuell in den Logs einen Hinweis darauf, was da schief geht?

journalctl -u snap.canonical-livepatch.canonical-livepatchd 

Ich bin gerade am Desktop PC, schaue sofort nach der Arbeit rein.

Danke, LG, bis später

Spacetaxi

(Themenstarter)

Anmeldungsdatum:
24. Februar 2014

Beiträge: 2485

Spacetaxi schrieb:

seahawk1986 schrieb:

Gibt es eventuell in den Logs einen Hinweis darauf, was da schief geht?

journalctl -u snap.canonical-livepatch.canonical-livepatchd 

Ich bin gerade am Desktop PC, schaue sofort nach der Arbeit rein.

Danke, LG, bis später

 journalctl -u snap.canonical-livepatch.canonical-livepatchd 
-- Logs begin at Wed 2020-04-29 13:29:16 CEST, end at Tue 2020-06-23 19:02:49 C>
Mai 01 02:10:03 pat-Aspire-5750G systemd[1]: Started Service for snap applicati>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting client da>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "miti>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "mitigatio>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "sock>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "socket se>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "refr>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "refresh l>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: client daemon star>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: error in livepatch>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No payload availab>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: during refresh: ca>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: error in livepatch>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Checking with live>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Updated last-check.
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No updates availab>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No payload availab>
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Checking with live>
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Updated last-check.

seahawk1986

Anmeldungsdatum:
27. Oktober 2006

Beiträge: 10978

Ok, die Zeilen sind so lang, dass man journalctl explizit sagen muss, dass es da nichts abschneiden darf - dann probiert es bitte noch mal so:

journalctl -u snap.canonical-livepatch.canonical-livepatchd -l 

Spacetaxi

(Themenstarter)

Anmeldungsdatum:
24. Februar 2014

Beiträge: 2485

journalctl -u snap.canonical-livepatch.canonical-livepatchd -l 
-- Logs begin at Wed 2020-04-29 13:29:16 CEST, end at Tue 2020-06-23 22:17:15 C>
Mai 01 02:10:03 pat-Aspire-5750G systemd[1]: Started Service for snap applicati>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting client da>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "miti>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "mitigatio>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "sock>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "socket se>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "refr>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "refresh l>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: client daemon star>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: error in livepatch>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No payload availab>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: during refresh: ca>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: error in livepatch>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Checking with live>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Updated last-check.
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No updates availab>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No payload availab>
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Checking with live>
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Updated last-check.
lines 1-23

seahawk1986

Anmeldungsdatum:
27. Oktober 2006

Beiträge: 10978

Da scheint der Pager immer noch etwas abzuschneiden, weil dein Terminal nicht breit genug ist...

Da bliebe noch die Ausgabe in eine Datei umzuleiten

journalctl -u snap.canonical-livepatch.canonical-livepatchd -l --no-pager > log.txt 

Spacetaxi

(Themenstarter)

Anmeldungsdatum:
24. Februar 2014

Beiträge: 2485

seahawk1986 schrieb:

Da scheint der Pager immer noch etwas abzuschneiden, weil dein Terminal nicht breit genug ist...

Da bliebe noch die Ausgabe in eine Datei umzuleiten

journalctl -u snap.canonical-livepatch.canonical-livepatchd -l --no-pager > log.txt 

Der Befehl spuckt gar nichts aus

Spacetaxi

(Themenstarter)

Anmeldungsdatum:
24. Februar 2014

Beiträge: 2485

aber Vollbildschirm

 journalctl -u snap.canonical-livepatch.canonical-livepatchd -l 
-- Logs begin at Wed 2020-04-29 13:29:16 CEST, end at Tue 2020-06-23 22:29:21 C>
Mai 01 02:10:03 pat-Aspire-5750G systemd[1]: Started Service for snap applicati>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting client da>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "miti>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "mitigatio>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "sock>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "socket se>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "refr>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "refresh l>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: client daemon star>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: error in livepatch>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No payload availab>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: during refresh: ca>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: error in livepatch>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Checking with live>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Updated last-check.
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No updates availab>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No payload availab>
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Checking with live>
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Updated last-check.
lines 1-23...skipping...
-- Logs begin at Wed 2020-04-29 13:29:16 CEST, end at Tue 2020-06-23 22:29:21 CEST. --
Mai 01 02:10:03 pat-Aspire-5750G systemd[1]: Started Service for snap application canonical-livepatch.canonical-livepatchd.
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting client daemon version 9.5.5
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "mitigation loop"
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "mitigation loop" started
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "socket servers"
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "socket servers" started
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: starting svc "refresh loop"
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: service "refresh loop" started
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: client daemon started
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: error in livepatch check state: needs-check
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No payload available.
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: during refresh: cannot check: No machine-token. Please run 'canonical-livepatch enable>
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: error in livepatch check state: needs-check
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Checking with livepatch service.
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: Updated last-check.
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No updates available at this time.
Mai 01 02:10:04 pat-Aspire-5750G canonical-livepatch[11658]: No payload available.
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Client.Check
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Checking with livepatch service.
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: Updated last-check.
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: No updates available at this time.
Mai 01 02:10:34 pat-Aspire-5750G canonical-livepatch[11658]: No payload available.
Mai 01 02:46:24 pat-Aspire-5750G canonical-livepatch[11658]: stopping client daemon
Mai 01 02:46:24 pat-Aspire-5750G canonical-livepatch[11658]: stopping service "mitigation loop"
Mai 01 02:46:24 pat-Aspire-5750G canonical-livepatch[11658]: service "mitigation loop" stopped
Mai 01 02:46:24 pat-Aspire-5750G canonical-livepatch[11658]: stopping service "socket servers"
Mai 01 02:46:24 pat-Aspire-5750G canonical-livepatch[11658]: while starting HTTP server: accept unix /var/snap/canonical-livepatch/95/livepatchd.so>
Mai 01 02:46:24 pat-Aspire-5750G canonical-livepatch[11658]: while starting HTTP server: accept unix /var/snap/canonical-livepatch/95/livepatchd-pr>
Mai 01 02:46:24 pat-Aspire-5750G canonical-livepatch[11658]: service "socket servers" stopped
Mai 01 02:46:24 pat-Aspire-5750G canonical-livepatch[11658]: stopping service "refresh loop"
Mai 01 02:46:24 pat-Aspire-5750G canonical-livepatch[11658]: service "refresh loop" stopped
Mai 01 02:46:24 pat-Aspire-5750G canonical-livepatch[11658]: client daemon stopped
Mai 01 02:46:24 pat-Aspire-5750G systemd[1]: Stopping Service for snap application canonical-livepatch.canonical-livepatchd...
Mai 01 02:46:24 pat-Aspire-5750G systemd[1]: snap.canonical-livepatch.canonical-livepatchd.service: Succeeded.
Mai 01 02:46:24 pat-Aspire-5750G systemd[1]: Stopped Service for snap application canonical-livepatch.canonical-livepatchd.
-- Reboot --
Mai 01 03:14:06 pat-Aspire-5750G systemd[1]: Started Service for snap application canonical-livepatch.canonical-livepatchd.
lines 1-40

Antworten |