登录到18.04.1LTS后,motd显示(除其他外):
- Livepatch server check failed.深入研究motd,我发现此消息是由驻留在
/etc/update-motd.d/80-livepatch这个脚本指的是:
/var/cache/ubuntu-advantage-tools/ubuntu-advantage-status.cache其中包括:
esm: disabled (not available)
fips: disabled (not available)
livepatch: enabled
client-version: 8.0.6
architecture: x86_64
cpu-model: Intel(R) Core(TM) i5 CPU 661 @ 3.33GHz
last-check: 2018-11-09T05:00:22.613601172-05:00
boot-time: 2018-11-09T05:29:20-05:00
uptime: 18h38m26s
status:
- kernel: 4.15.0-38.41-generic
running: true
livepatch:
checkState: check-failed
patchState: nothing-to-apply
version: ""
fixes: ""看起来这个缓存文件是昨天用canonical-livepatch status的输出更新的,但是我想知道是什么触发了这个文件的更新,以及是否有办法强制它更新?
注意:我知道为什么livepatch被禁用了,现在它又被启用了.当我登录时仍然会收到失败的消息,这就是我想要了解这里发生的事情的原因。
发布于 2019-02-12 18:27:47
/etc/cron.daily/ubuntu-advantage-tools有效地运行:
/usr/bin/ubuntu-advantage status > /usr/bin/ubuntu-advantage/ubuntu-advantage-status.cachehttps://askubuntu.com/questions/1091845
复制相似问题