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

+1 -1
View File
@@ -34,7 +34,7 @@ classifiers = [
]
dependencies = [
"napalm>=4.0",
"napalm-device-types>=4.43.0", # ZabbixAgentMixin, opened_ports
"napalm-device-types>=4.44.0", # ServicesRestartMixin
"netmiko>=4.0.0",
"paramiko>=5.0.0", # CVE-2026-44405
]