最近,我收到一条通知,要求我重启笔记本电脑,原因是进行了一些更新。我总是检查导致重启的原因,今天我惊讶地发现了这一点:
$ > cat /var/run/reboot-required /var/run/reboot-required.pkgs
*** System restart required ***
docker.io
为什么 docker.io 更新需要重启系统?重启容器不就够了吗?
在我重新开始之前有什么想法吗?
更新 1:
docker.io 的更新日志如下:
docker.io-app (26.1.3-0ubuntu1~24.04.1) noble; urgency=medium
* Backport from oracular to noble. (LP: #2040461)
- d/t/docker-in-lxd: workaround Apparmor/kernel bug. (LP #2067900)
- Update AppArmor template to allow confined runc to kill containers
(LP: #2065423).
+ d/docker.io.postinst: notify that a reboot is required to apply the
fix (the AppArmor profile need to be reloaded).
-- Athos Ribeiro <[email protected]> Mon, 14 Oct 2024 11:29:26 -0300
对我来说,该postinst
过程应该重新启动,apparmor
而不是要求重新启动。我的想法有缺陷吗?
请参阅变更日志中提到的Launchpad 错误的评论#18中的点 c以了解其原因: