Bug 26782

Summary: rescue mode seems broken
Product: Mageia Reporter: Pascal Terjan <pterjan>
Component: InstallerAssignee: Mageia tools maintainers <mageiatools>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: drakx-installer-rescue CVE:
Status comment:

Description Pascal Terjan 2020-06-12 21:15:08 CEST
Creating symlink /tmp/stage2/etc/inputrc -> /etc/inputrc
Creating symlink /tmp/stage2/etc/issue -> /etc/issue
Creating symlink /tmp/stage2/etc/ld.so.cache -> /etc/ld.so.cache
Creating symlink /tmp/stage2/etc/mke2fs.conf -> /etc/mke2fs.conf
Creating symlink /tmp/stage2/etc/netconfig -> /etc/netconfig
Creating symlink /tmp/stage2/etc/os-release -> /etc/os-release
Creating symlink /tmp/stage2/etc/passwd -> /etc/passwd
Creating symlink /tmp/stage2/etc/profile -> /etc/profile
Creating symlink /tmp/stage2/etc/protocols -> /etc/protocols
Creating symlink /tmp/stage2/etc/resolv.conf -> /etc/resolv.conf
Creating symlink /tmp/stage2/etc/services -> /etc/services
Creating symlink /tmp/stage2/etc/shells -> /etc/shells
Creating symlink /tmp/stage2/etc/ssh -> /etc/ssh
proceeding, please wait...

Welcome to Mageia Rescue 8!

[  OK  ] Reached target Local File Systems.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Swap.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Mageia Rescue.
[  OK  ] Reached target Rescue Mode.

At that point it gets stuck, pressing Ctrl-C causes a clean reboot
Comment 1 Lewis Smith 2020-06-12 21:56:42 CEST
Thanks for reporting this, but can you please give the background: the Classic ISO, 64-bit, Mageia 8 Alpha, from USB - for example; all guessed.

CC: (none) => lewyssmith

Comment 2 Pascal Terjan 2020-06-12 22:01:16 CEST
The cauldron netinstall iso x86_64, as a cdrom in kvm.
Pascal Terjan 2020-06-12 22:07:53 CEST

Source RPM: (none) => drakx-installer-stage2

Comment 3 Pascal Terjan 2020-06-12 22:12:53 CEST
I confirmed the problem is with the stage 2 by manually selecting mirror after booting on the cauldron image and pointing to http://ftp.free.fr/mirrors/mageia.org/distrib/7, it works well.
Comment 4 Lewis Smith 2020-06-13 20:51:13 CEST
Thank you for the extra information, which should help looking at this.

Assigning to the 'tools' team.

CC: lewyssmith => (none)
Assignee: bugsquad => mageiatools

Thierry Vignaud 2020-06-13 21:29:10 CEST

CC: (none) => thierry.vignaud
Source RPM: drakx-installer-stage2 => drakx-installer-rescue

Comment 5 Thierry Vignaud 2020-06-15 06:47:17 CEST
This looks to me more like the big systemd update broke rescue when it got rebuilt…
Comment 6 Pascal Terjan 2020-06-15 17:04:04 CEST
One thing I noticed is that mageia-rescue starts with:

systemctl start systemd-udevd
udevadm trigger --type=subsystems --action=add
udevadm trigger --type=devices --action=add

While I would expect systemd-udevd to already be running from the initrd.

I don't know if it could cause a problem but at least it doesn't seem useful anymore
Comment 7 Thierry Vignaud 2020-06-15 18:16:50 CEST
I was wondering if gcc 10 might miscompile rescue bits in mdk-stage1
Comment 8 Pascal Terjan 2020-06-15 18:24:58 CEST
Launching rescue-gui works fine on my machine so I think the problem is in the service (mageia-rescue) but not sure where it gets stuck
Comment 9 Thierry Vignaud 2020-06-16 13:56:01 CEST
Fixed

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 10 Lewis Smith 2020-06-24 20:55:42 CEST
A late addendum (been sitting around), for the record, even though the bug is fixed.
I tried this with the M8 alpha 1 Classic ISO, and the bug was true. I got the output shown in comment 0 on the Ctl/Alt/F1 console; and on the Ctl/Alt/F3 one:
* third party: no modules found
* killed shell
* stage 1: disconnecting life support system