On Tue, 2023-06-13 at 18:36 +0200, Marco d'Itri wrote: > On Jun 13, Bill Allombert <ballo...@debian.org> wrote: > > > Conversely, sometimes I need to use chroots to test init scripts. > > start-stop-daemon should not refuse to run in a chroot if policy- > > rc.d allows > > it. > I suggest that you try systemd-nspawn for this purpose. >
Or podman or docker or various other things. Plain chroots and an unclean environment which violates various assumptions system startup scripts make are not a great way to test stuff. Ansgar