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


Groups > linux.debian.kernel > #65089 > unrolled thread

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

Started byBen Hutchings <ben@decadent.org.uk>
First post2019-09-12 01:30 +0200
Last post2019-09-12 01:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromBen Hutchings <ben@decadent.org.uk>
Date2019-09-12 01:30 +0200
SubjectRe: Bug#913061: systemd: stop shipping /bin/systemd
Message-ID<yFkdH-5YV-3@gated-at.bofh.it>

[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.


[toc] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web