🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel
Article #74

Re: How to indicate that a package won't work without systemd

#74
From: Simon Richter
Date: Tue, 20 Oct 2026 03:10
27 lines
2952 bytes
Hi,

On 10/20/26 7:42 AM, Marc Haber wrote:

> My gut feeling tells me to depend on systemd-sysv as that one is the one 
> setting the symlink from /sbin/init to systemd, but that seems kind of 
> wrong for me since it has "sysv" in the name, the package description 
> doesn't suggest that it is a package THIS central, and I don't know 
> whether a, for example, dracut-based initramfs will care where /sbin/ 
> init points to at all.

It's the correct approach IMO.

Frankly, no one reads the package description of systemd-sysv. The only 
users who are ever confronted with this package are the ones who want to 
uninstall it for some reason, for the rest it's just one of twenty magic 
systemd components you don't need to understand (and that it's not a 
component is something you don't need to understand either).

If dracut builds an initramfs that doesn't work with non-systemd pid1, 
then dracut needs a dependency on systemd-sysv as well. "Doesn't work" 
includes "starts an incompletely installed systemd despite the user 
selecting a different pid1", because the result is going to be an 
unusable system -- such a system would, for example, not have the 
systemd NSS modules.

    Simon
Technical Details
Message-ID: <NQ8oF-6Etu-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <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!2.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Simon Richter <sjr@debian.org>
Newsgroups: linux.debian.devel
Subject: Re: How to indicate that a package won't work without systemd
Date: Tue, 20 Oct 2026 05:10:01 +0200
Message-ID: <NQ8oF-6Etu-5@gated-at.bofh.it>
References: <NQ4Ep-6Ctz-3@gated-at.bofh.it>
X-Original-To: debian-devel@lists.debian.org
X-Mailbox-Line: From debian-devel-request@lists.debian.org  Tue Oct 20 03:06:09 2026
Old-Return-Path: <sjr@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
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: sjr
X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/372681
List-ID: <debian-devel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-devel/>
List-Archive: https://lists.debian.org/msgid-search/5a7f48c0-d4f3-4d9c-86b3-df6cc6b3708d@debian.org
Approved: robomod@news.nic.it
Lines: 27
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 20 Oct 2026 11:48:12 +0900
X-Original-Message-ID: <5a7f48c0-d4f3-4d9c-86b3-df6cc6b3708d@debian.org>
X-Original-References: <atac2Wtu3RkizT42@torres.zugschlus.de>