From: Ian Jackson Date: Tue, 4 Feb 2025 19:53:18 +0000 (+0000) Subject: autopkgtest: setup-host server: fall back to starting rsyslogd by hand X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=d930bd63000bbbde334c8dc0e6b92db3f4bbdd16;p=hippotat.git autopkgtest: setup-host server: fall back to starting rsyslogd by hand Signed-off-by: Ian Jackson --- diff --git a/adt/acommon b/adt/acommon index 714245a..bd863c3 100644 --- a/adt/acommon +++ b/adt/acommon @@ -173,7 +173,14 @@ finish-setup-host-server () { in- server iptables -N empty ||: in- server iptables -I INPUT -j empty -s 192.0.2.0/24 rsyslog-capture-daemon in- server - in- server service rsyslog start + + in- server service rsyslog start || { + # When the outer system is systemd, `service` doesn't find it + # in the chroot, but the init script is in orphan-sysvinit-scripts + # which is also missing. Run it by hand. + in- server rsyslogd -n & + sleep 5 + } } in- () {