Collect Ubuntu Livepatch status in the agent
CI / tests (Python 3.10) (pull_request) Successful in 22s
CI / tests (Python 3.11) (pull_request) Successful in 22s
CI / tests (Python 3.12) (pull_request) Successful in 21s
CI / tests (Python 3.13) (pull_request) Successful in 21s
CI / lint (pull_request) Successful in 2s
CI / tests (Python 3.10) (pull_request) Successful in 22s
CI / tests (Python 3.11) (pull_request) Successful in 22s
CI / tests (Python 3.12) (pull_request) Successful in 21s
CI / tests (Python 3.13) (pull_request) Successful in 21s
CI / lint (pull_request) Successful in 2s
kernelwatch-livepatch.service runs canonical-livepatch as root with no network and a read-only filesystem, and a small python3 helper keeps the running kernel's state, check state, support, end-of-support date and fix count in /run/kernelwatch/livepatch. The agent (0.4.0) reads that file the way it reads needrestart's and never runs the snap itself. NoNewPrivileges=yes can't be used: snap-confine fails under it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4fa86de11f
commit
b59336d7e2
11 files changed
+273
-8
No files matched your search
@@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
Description=Report kernel and update status to kernelwatch
|
||||
Wants=network-online.target kernelwatch-needrestart.service kernelwatch-apt-update.service
|
||||
After=network-online.target apt-daily.service kernelwatch-needrestart.service kernelwatch-apt-update.service
|
||||
Wants=network-online.target kernelwatch-needrestart.service kernelwatch-livepatch.service kernelwatch-apt-update.service
|
||||
After=network-online.target apt-daily.service kernelwatch-needrestart.service kernelwatch-livepatch.service kernelwatch-apt-update.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
Reference in new issue
Block a user