feat(services-restart): which services on the node still run replaced code, as root (NetOrk/netork#2750) #77

Merged
christianmanivong merged 4 commits from feature/services-need-restart into main 2026-11-26 19:41:29 +00:00
4 Commits
Author SHA1 Message Date
Christian Manivong f9088bae3a Merge remote-tracking branch 'origin/main' into feature/services-need-restart
driver / standard (pull_request) Successful in 18s
driver / lint (pull_request) Successful in 16s
driver / types (pull_request) Successful in 1m5s
driver / test (3.13) (pull_request) Successful in 1m9s
driver / test (3.12) (pull_request) Successful in 1m17s
driver / lowest (pull_request) Successful in 34s
driver / build (pull_request) Successful in 34s
driver / security (pull_request) Successful in 1m5s
CI / driver (pull_request) Successful in 2m33s
driver / publish (pull_request) Skipped
# Conflicts:
#	CHANGELOG.md
#	README.md
#	pyproject.toml
2026-11-26 19:52:53 +01:00
Christian Manivong b37672a269 Merge origin/main (0.14.0) into feature/services-need-restart
driver / standard (pull_request) Successful in 17s
driver / lint (pull_request) Successful in 14s
driver / types (pull_request) Failing after 25s
driver / test (3.12) (pull_request) Failing after 17s
driver / test (3.13) (pull_request) Failing after 17s
driver / lowest (pull_request) Failing after 18s
driver / security (pull_request) Failing after 37s
driver / build (pull_request) Successful in 32s
CI / driver (pull_request) Failing after 1m32s
driver / publish (pull_request) Skipped
Needs napalm-device-types 4.46.0: ServicesRestartMixin with an LXC
container's processes left out, and 0.14.0's CredentialExpiryMixin.
2026-11-26 19:26:58 +01:00
Christian Manivong 63ffc64050 chore(release): 0.16.0
driver / standard (pull_request) Successful in 19s
driver / lint (pull_request) Successful in 18s
driver / types (pull_request) Failing after 58s
driver / test (3.12) (pull_request) Failing after 57s
driver / test (3.13) (pull_request) Failing after 52s
driver / lowest (pull_request) Failing after 27s
driver / build (pull_request) Successful in 34s
driver / security (pull_request) Successful in 1m12s
CI / driver (pull_request) Failing after 2m45s
driver / publish (pull_request) Skipped
2026-11-26 19:01:33 +01:00
Christian Manivong b792f6d210 feat(services-restart): which services on the node still run replaced code, as root (NetOrk/netork#2750)
Both drivers mix in napalm-device-types' ServicesRestartMixin. The command
goes over the exec path, root's login as a rule, behind an id -u guard: a
login other than root would see only its own processes and read as
clean, so it prints nothing and the read raises. A running VM's QEMU is
listed as a process; an LXC container's processes are left out by the
parse, since a container updates itself. No stdin.
2026-11-26 18:55:13 +01:00