chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557cc4e
)
tests: Tell systemd that we're running hippotatd as root
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 Mar 2026 20:35:58 +0000
(20:35 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 Mar 2026 20:54:11 +0000
(20:54 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
adt/acommon
patch
|
blob
|
history
diff --git
a/adt/acommon
b/adt/acommon
index c1da88e0fd6f3d6aaa0c20f6eee833b209a35579..2fa93654af3e55f9bf746e5b55a63cc077bcdaa4 100644
(file)
--- a/
adt/acommon
+++ b/
adt/acommon
@@
-48,6
+48,14
@@
test-service-startup-prep () {
CHECK_FIREWALL=false
USER=root
END
+
+ # systemd needs to be told separately that we're running hipootatd as root
+ mkdir -p /etc/systemd/system/hippotatd.service.d
+ cat >>/etc/systemd/system/hippotatd.service.d/user.conf <<END
+[Service]
+User=root
+END
+ systemctl daemon-reload ||:
}
test-service-startup-main () {