FS#71625 - [util-linux] Upgrading to 2.37.1-1 breaks rescue mode / single user mode

Attached to Project: Arch Linux
Opened by David Rosenstrauch (darose) - Tuesday, 27 July 2021, 01:52 GMT
Last edited by Christian Hesse (eworm) - Monday, 02 August 2021, 12:31 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

Not sure exactly how/why, but for some reason Linux rescue mode doesn't work after upgrading to util-linux 2.37.1. (And/or util-linux-libs.)

When I try to either drop into rescue mode (i.e. using "systemctl rescue") - or to boot directly into single user mode - it doesn't work. For example, when I try to boot to single user mode, the kernel loads, and then looks like it's entering single user mode, prompting me to enter my root password to proceed (as it should). But when I do enter the root password at the prompt - or even just press enter - the system quickly flashes "Reloading system manager configuration", followed by something about switching to default target, and then switches into full interactive mode complete with graphical login prompt.

Downgrading back to v2.37 fixes the issue.
This task depends upon

Closed by  Christian Hesse (eworm)
Monday, 02 August 2021, 12:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  util-linux 2.37.1-2
Comment by Bruno (bob23450) - Thursday, 29 July 2021, 19:11 GMT
I filed an issue upstream: https://github.com/karelzak/util-linux/issues/1400
I also attached a patch that seems to restore back the normal behaviour.

Comment by Bruno (bob23450) - Friday, 30 July 2021, 08:02 GMT
It is fixed now in upstream git.
Comment by Eivind (mokkurkalve) - Sunday, 01 August 2021, 00:02 GMT
rescue mode breaks with util-linux 2.37.1-1 as sulogin (or sulogin --force) just returns, giving you nothing, while sulogin in util-linux 2.37-3 gives you a root shell.

Loading...