On Sun, 31 Aug 2025 at 15:45:35 +0200, Agathe Porte wrote:
How about installing the package locally (or in a chroot/VM) and check
that everything works as intended?
Not in a chroot: chroots don't have an init system (systemd or
otherwise). If you don't use systemd on actual hardware for whatever
reason, then you'll need to test systemd units on a virtual machine that
boots using systemd, or a "full system" container that boots using
systemd.
lxc/lxd/incus containers normally boot a full system using a full init
system (systemd or sysv-rc). Docker containers normally do not. Podman
and systemd-nspawn containers can be used either way.
smcv