FS#58665 - [mkinitcpio] Rescue target is not functional in systemd initrd

Attached to Project: Arch Linux
Opened by Tobias Hunger (hunger) - Saturday, 19 May 2018, 20:24 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 08 June 2018, 14:58 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When the rescue target is started in initrd I only get this message:

sulogin: cannot open password database

Root cause is that libnss_files can not get opened. sulogin tries to open /usr/lib/libnss_files.so.2, but in the initrd this symlink (to libnss_files-2.27.so) is missing. Adding this symlink fixes the rescue target again.

Additional info:
* systemd 238.76-1
* mkinitcpio 24-2


Steps to reproduce:
* Change the root device in your boot loader entry and reboot
* Wait for 90s till systemd gives up looking for the root device
* You should see "sulogind: cannot open password database"
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 08 June 2018, 14:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 238.133-1
Comment by Tobias Hunger (hunger) - Saturday, 19 May 2018, 20:29 GMT
I set severity to High since this bug makes debugging of initrd issues impossible.

Loading...