Article View: linux.debian.devel
Article #123Re: How to indicate that a package won't work without systemd
From: Stephen Kitt
Date: Thu, 22 Oct 2026 19:40
Date: Thu, 22 Oct 2026 19:40
54 lines
3827 bytes
3827 bytes
--Sig_/FD5wR+0rDoRBtqDmZMI6Hl6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, On Tue, 20 Oct 2026 00:42:33 +0200, Marc Haber <mh+debian-devel@zugschlus.d= e> wrote: > I would like to write package dependencies that a certain package=20 > indicates that it won't work without systemd, most prominently that it=20 > would NOT work with sysvinit. >=20 > My gut feeling tells me to depend on systemd-sysv as that one is the one= =20 > setting the symlink from /sbin/init to systemd, but that seems kind of=20 > wrong for me since it has "sysv" in the name, the package description=20 > doesn't suggest that it is a package THIS central, and I don't know=20 > whether a, for example, dracut-based initramfs will care where=20 > /sbin/init points to at all. >=20 > How do I have a package depend on "this system uses systemd as init"? This doesn=E2=80=99t answer your question, but can the package be used sens= ibly *without* an init at all? For example, could it be used in a container? If so, then a (strong) dependency on systemd might not be desirable. Regards, Stephen --Sig_/FD5wR+0rDoRBtqDmZMI6Hl6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAmraX7kACgkQgNMC9Yht g5weehAAlavCaRA+r3O2cHbMUj092L4rRY6J3lNrfmc8UWV/Ak/RPC/D3bgasrBk Y6iUxzXZMfeI/pIuLRks2cS8KBlTkwdCIFa5TzuNclvB6699GtNiVTuNq9ljLauy R3/+yrR8x24mCjxeIWYplLmYjqbznvGDUO1H2XsLkx1Jxd21mLqNhsUQPsZKh11D RQ9CiCB1K4EJeGzIMEHz/BSD9+P2KDgG496/RdrpXsG35uSJXRyOU5tyVNMdyaWw ThEQEVdnwj8kFapzQ7EUmQGO3EFAZNVCjfVYX+nc29mvPQRY7f9SY8i7fYMh+dRh Kx2BLx+o8dDGpWFDv0QYd8qp5iSK3Uj4fPLL1xdxi+pRrgN9Rovpy+5iC1SeiXzq jF1BCOcIbvtHL4B+SvnH42M23xW3humaLASxuyou5lWVinwLhxioCjRU2aiCvF8+ PruZ7EkFs5gUWPQ1D3bgp6VC3W7zlb2ZKAbXkNHgo6Yp4fmXx2Sej9JeQajzvj11 zVasiQVksxZbY8IA0H9fYmq8CvJD+Ua/QEqwKOs8l1DSKP7D6ABfHr0pFneCI25j gac/w7qOlGDZCEOI6zv6khGPeiBCUNfmcWAzhcM/ut/Ti5ZBrfhp66D/hapWyyf2 TKIb0I5GzKQ4/KviJb4Qqv6He1VMV2l9yQU18uefsMxIk+txUcA= =zDV9 -----END PGP SIGNATURE----- --Sig_/FD5wR+0rDoRBtqDmZMI6Hl6--
Technical Details
Message-ID:
<NR6NP-7fcr-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NQ4Ep-6Ctz-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Stephen Kitt <skitt@debian.org> Newsgroups: linux.debian.devel Subject: Re: How to indicate that a package won't work without systemd Date: Thu, 22 Oct 2026 21:40:01 +0200 Message-ID: <NR6NP-7fcr-7@gated-at.bofh.it> References: <NQ4Ep-6Ctz-3@gated-at.bofh.it> X-Mailbox-Line: From debian-devel-request@lists.debian.org Thu Oct 22 19:30:26 2026 Old-Return-Path: <skitt@debian.org> X-Amavis-Spam-Status: No, score=-4.729 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.329, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no X-Mailer: Claws Mail 4.3.1 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/FD5wR+0rDoRBtqDmZMI6Hl6"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Debian-User: skitt X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/372765 List-ID: <debian-devel.lists.debian.org> List-URL: <https://lists.debian.org/debian-devel/> List-Archive: https://lists.debian.org/msgid-search/20261022211049.4f8d58c0@heffalump.sk2.org Approved: robomod@news.nic.it Lines: 54 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 22 Oct 2026 21:10:49 +0200 X-Original-Message-ID: <20261022211049.4f8d58c0@heffalump.sk2.org> X-Original-References: <atac2Wtu3RkizT42@torres.zugschlus.de>