Your message dated Thu, 4 Feb 2021 20:38:05 +0100
with message-id <[email protected]>
and subject line Re: Bug#981748: systemd-boot cmdline single
has caused the Debian Bug report #981748,
regarding systemd-boot cmdline single
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
981748: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981748
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd
Version: all
Hello,
I think that the script "src/kernel-install/90-loaderentry.install" does not
handle the special case if booted with
option "single".
Consider the following situation:
On bootup in the systemd-boot menu, edit the line and change "quiet" to
"single", to get into the recovery (aka single
user mode).
In recovery you just say "exit" or press ctrl-D. This will boot the system in
normal mode (usually multi-user).
BUT, in "/proc/cmdline" there is still the option "single" at the end of the
line.
Now install a kernel update or do "update-initramfs", which will update the
"systemd-boot" loader-entries by running the
kernel-install scripts including "90-loaderentry.install".
The updated loader-entry will have the entry "single" under "options".
On next reboot, the system will again go to recovery.
At the end, you will never get rid of the option "single".
The only way out is to create "/etc/kernel/cmdline" without the "single" in the
line.
I saw this in Debian 10 (buster), but did not see a change in the source of
newer versions.
Many thanks for reading this and thinking about it.
I really appreciate the work of Debian and the Debian package maintainers!
Greetings ...
Marco
--
UZH/ETH Zurich, Marco Schmidt, Functional Genomics Center Zurich
Y32 H06, Winterthurerstr. 190, 8057 Zurich
Tel +41 44 635 39 02, Fax +41 44 635 39 22, https://www.fgcz.ch/
- IT Coordinator -
--- End Message ---
--- Begin Message ---
Am 04.02.21 um 06:46 schrieb Marco Schmidt:
Hello,
A short discussion on the issue came to the result, that this is not a bug.
It is a matter of configuration, which is up to the administrator of the
computer.
Like with grub, where the kernel parameters are configured in
/etc/default/grub, in systemd-boot this is (or has to be)
configured in /etc/kernel/cmdline.
It might be worth thinking of creating the file /etc/kernel/cmdline during
package install.
This would make it more similar to grub.
I assume systemd-boot is not at the end of development and maybe in future
releases there will be an extended framework
on configuring the boot behavior.
We can close this.
Ok. Thanks for reporting back and engaging (with upstream) so
constructively.
Regards,
Michael
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---