Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #65089

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

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.kernel
Subject Re: Bug#913061: systemd: stop shipping /bin/systemd
Date 2019-09-12 01:30 +0200
Message-ID <yFkdH-5YV-3@gated-at.bofh.it> (permalink)
References <wRawG-2DA-13@gated-at.bofh.it> <wRawG-2DA-13@gated-at.bofh.it> <wRawG-2DA-13@gated-at.bofh.it> <yBw3L-74j-5@gated-at.bofh.it> <yFeKZ-2d4-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, 2019-09-11 at 19:20 +0200, Ansgar wrote:
> Control: clone -1 -2 -3
> Control: reassign -2 initramfs-tools
> Control: reassign -3 dracut
> Control: retitle -2 initramfs-tools: fallback to /lib/systemd/systemd if init=/bin/systemd
> Control: retitle -3 dracut: fallback to /lib/systemd/systemd if init=/bin/systemd
> Control: block -1 by -2
> Control: block -1 by -3
> 
> Dear initramfs maintainers,
> 
> would it be possible to add a fallback to try /lib/systemd/systemd if
> the user provided init=/bin/systemd and the file no longer exists?
> 
> I would like systemd to stop shipping the /bin/systemd symlink as this
> should not be run by users, however it was suggested to use
> init=/bin/systemd for testing purposes in the past (see below).  So just
> removing the symlink might make some systems unbootable.

I don't think it's appropriate for the initramfs to do this sort of
magic.  Even if they did, this wouldn't cover systems using a custom
kernel that doesn't need an initramfs.

I think that a better way to handle this would be for systemd itself to
warn on upgrade if /proc/cmdline contains init=/bin/systemd.

Ben.

-- 
Ben Hutchings
Unix is many things to many people,
but it's never been everything to anybody.


Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: Bug#913061: systemd: stop shipping /bin/systemd Ben Hutchings <ben@decadent.org.uk> - 2019-09-12 01:30 +0200

csiph-web