
| Msg # 920 of 1179 on ZZLI4422, Monday 8-31-25, 3:19 |
| From: JEROME BENOIT |
| To: SIMON MCVITTIE |
| Subj: Re: how to test a systemd unit ? |
From: sphericaltriangle@rezozer.net Hello, thanks for your reply. On 31/08/2025 17:02, Simon McVittie wrote: > 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, This is indeed my case. > 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. This was my fear. > > 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. So now I have to find/install a either a virtual machine or a container. > > €€€€€€ smcv > Thanks again, Jerome --- SoupGate-Win32 v1.05 * Origin: you cannot sedate... all the things you hate (1:229/2) |
328,121 visits
(c) 1994, bbs@darkrealms.ca