systemd: port to Go, and read a system unit's journal as root

The journal verb ran journalctl as the operator account, which outside the
journal's group sees only its own entries: every system service read
'-- No entries --', and a person reached for a shell. The read now
escalates with sudo -n like the acts; ported to Go with every test. hq
issue 255.
This commit is contained in:
jochen
2026-10-05 18:09:42 +02:00
parent 6a42bafb1c
commit c42f1ce45b
11 changed files with 806 additions and 519 deletions
+5
View File
@@ -0,0 +1,5 @@
module systemd-tools
go 1.25.0
require git.novox.be/novox/mesh-sdk/go v0.1.7