Bug#913061: systemd: stop shipping /bin/systemd

Michael Biebl biebl at debian.org
Sun Sep 1 12:12:15 BST 2019


Hi Ansgar

On Tue, 06 Nov 2018 15:24:18 +0100 Ansgar Burchardt <ansgar at debian.org>
wrote:
> Package: systemd
> Version: 239-11
> Severity: minor
> File: /bin/systemd
> 
> Running `systemd` in an interactive shell is not a good idea.  To
> avoid this happening by accident, the /bin/systemd ->
> /lib/systemd/systemd symlink should no longer be shipped.
> 
> Documentation such as [1] still suggests to use `init=/bin/systemd`
> which would result in non-bootable systems.  (The initramfs might be
> able to catch this and run /lib/systemd/systemd instead in most cases
> as unbootable systems are not nice.)

Continuing to ship the symlink is kinda cheap and I'm indeed a bit
worried that this change might cause unbootable systems.
We could either add some maintscript code to abort the upgrade if a
installation is detected that uses init=/bin/systemd (e.g. by checking
/proc/cmdline).
But your initramfs idea might indeed by nicer. The initramfs should
probably output a big, fat warning if it is found that the old
/bin/systemd symlink is used, so people will migrate to the "new"
location eventually.

Could you file a bug report against initramfs-tools and block this one
with it? I guess attaching a working patch for initramfs-tools will
speed up the process :-)

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190901/a047eeb2/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list