
| Msg # 921 of 1179 on ZZLI4422, Monday 8-31-25, 3:19 |
| From: SIMON MCVITTIE |
| To: AGATHE PORTE |
| Subj: Re: how to test a systemd unit ? |
From: smcv@debian.org 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 --- SoupGate-Win32 v1.05 * Origin: you cannot sedate... all the things you hate (1:229/2) |
328,107 visits
(c) 1994, bbs@darkrealms.ca