feat(services-restart): which services still run replaced code, as root (NetOrk/netork#2700)

LinuxProcessReadingsMixin carries napalm-device-types' ServicesRestartMixin:
its command goes through the driver's sudo like the listening sockets, and
there is no unprivileged retry, since a reading of the login user's own
processes would read as clean.
This commit is contained in:
Christian Manivong committed 2026-11-26 17:40:04 +01:00
1 parent dfe084c4ad
commit 4268edc7a7
5 files changed
+69 -6

No files matched your search

+8
View File
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- `get_services_need_restart()` through napalm-device-types' `ServicesRestartMixin` (4.44.0):
the systemd services that still run code an update replaced on disk, so they keep the old
library until they restart (NetOrk/netork#2700). Read as root only, through the driver's
sudo like the listening sockets, in one fixed command that reads no stdin; without root
there is no reading, since one of the login user's own processes would read as clean.
OpenMediaVault and QNAP have it through `LinuxDriver`.
## [0.18.0] - 2026-11-26
### Added