Trigger needs-restart condition also on deleted files with still open file desciptor #1

Closed
opened 2024-06-07 15:20:08 +00:00 by hygienic-books · 0 comments

In cases such as a docker package upgrade /usr/bin/dockerd will be responsible for providing access to the newer version. The old /usr/bin/dockerd will still be loaded in memory and active after a package upgrade causing other invocations of docker to talk to daemon based on the old version until a restart is done.

Check lsof output for (deleted) strings and if found suggest a restart.

In cases such as a `docker` package upgrade `/usr/bin/dockerd` will be responsible for providing access to the newer version. The old `/usr/bin/dockerd` will still be loaded in memory and active after a package upgrade causing other invocations of docker to talk to daemon based on the old version until a restart is done. Check `lsof` output for `(deleted)` strings and if found suggest a restart.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: quico-os-setup/arch-needs-restart#1
No description provided.