Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #974725
| From | Ansgar <ansgar@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#913061: systemd: stop shipping /bin/systemd |
| Date | 2019-09-11 19:40 +0200 |
| Message-ID | <yFeKZ-2d4-11@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <wRawG-2DA-13@gated-at.bofh.it> <wRawG-2DA-13@gated-at.bofh.it> <yBw3L-74j-5@gated-at.bofh.it> <wRawG-2DA-13@gated-at.bofh.it> <yBw3L-74j-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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. Ansgar Michael Biebl writes: >> 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 :-) Done so now, also for dracut.
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#913061: systemd: stop shipping /bin/systemd Michael Biebl <biebl@debian.org> - 2019-09-01 13:20 +0200
Bug#913061: systemd: stop shipping /bin/systemd Ansgar <ansgar@debian.org> - 2019-09-11 19:40 +0200
Bug#913061: systemd: stop shipping /bin/systemd Ansgar <ansgar@43-1.org> - 2019-09-12 09:10 +0200
csiph-web