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
+2
-1
@@ -19,7 +19,8 @@ here=$(cd "$(dirname "$0")" && pwd)
|
||||
CONF=${KERNELWATCH_DEPLOY_CONF:-$here/deploy.conf}
|
||||
HOSTS_FILE=${KERNELWATCH_HOSTS:-$here/hosts}
|
||||
FILES=(kernelwatch-agent kernelwatch-agent.service kernelwatch-agent.timer
|
||||
kernelwatch-needrestart.service kernelwatch-apt-update.service install.sh)
|
||||
kernelwatch-needrestart.service kernelwatch-livepatch kernelwatch-livepatch.service
|
||||
kernelwatch-apt-update.service install.sh)
|
||||
NAME_RE='^[A-Za-z0-9][A-Za-z0-9._-]{0,62}$'
|
||||
|
||||
SERVER_URL=
|
||||
|
||||
Reference in new issue
Block a user