Bug 10865 - mounted system's /dev is not populated in the recovery console (guessmounts should bind mount /dev & /run)
Summary: mounted system's /dev is not populated in the recovery console (guessmounts s...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2013-07-28 06:09 CEST by Patrick Hibbs
Modified: 2015-04-30 21:30 CEST (History)
4 users (show)

See Also:
Source RPM: drakx-installer-rescue
CVE:
Status comment:


Attachments

Description Patrick Hibbs 2013-07-28 06:09:27 CEST
In the recovery console on the installation dvds, when a system is mounted by the "mount filesystems under /mnt" option, the mounted system's /dev is not populated (only /dev/null is present.) 

This causes some issues, most notable is that changing the root password (via passwd) will fail. (Due to missing random number generator.) This also prevents package installation using urpmi as gnutls will fail as well. (Once again due to missing random number generator.)

This can be worked around by using mount to bind the recovery console's /dev to the mounted system.
Manuel Hiebel 2013-07-29 20:25:00 CEST

Keywords: (none) => Triaged
Component: Release (media or process) => Installer
Assignee: bugsquad => thierry.vignaud
Source RPM: (none) => drakx-installer-rescue

Comment 1 David Walser 2013-08-11 02:11:30 CEST
This was a known problem that was found late in the development cycle and couldn't be fixed in time for Mageia 3.  Unfortunately, bugs in the installer can't be fixed after the release.  Hopefully this will be fixed for Mageia 4.  Please test Alpha 2 when it becomes available (it seems the Installation DVD which includes the rescue mode won't be available for Alpha 1).

CC: (none) => ennael1

Comment 2 Patrick Hibbs 2013-08-16 08:02:52 CEST
I'll be happy to test it then. I was just reporting it as I had forgotten a root password, and had to spend a couple of hours scratching my head.

Hopefully if anyone else has this issue they might not need to spend as much time on it as I did.
Comment 3 Samuel Verschelde 2013-08-27 13:31:44 CEST
setting version to cauldron and keyword to NEEDINFO, waiting for your test results :)

Keywords: (none) => NEEDINFO
CC: (none) => stormi
Version: 3 => Cauldron

Comment 4 Patrick Hibbs 2013-09-18 06:24:04 CEST
Just tested Alpha 2, still has the same issue. /dev is not populated in the mounted system's chroot.
Samuel Verschelde 2013-09-18 09:50:49 CEST

Keywords: NEEDINFO => (none)

Comment 5 Dave Hodgins 2013-09-19 00:04:11 CEST
Also /run should be bind mounted, so dracut can get
udev info, if it's run.

CC: (none) => davidwhodgins

Comment 6 David Walser 2014-01-28 23:09:40 CET
Confirmed that this issue is still present in current Cauldron.
Thierry Vignaud 2015-04-30 15:58:04 CEST

Summary: mounted system's /dev is not popluated in the recovery console => mounted system's /dev is not populated in the recovery console (guessmounts should bind mount /dev & /run)

Comment 7 Mageia Robot 2015-04-30 21:29:20 CEST
commit 659ab26a581ce73eb5ed83dfc34e398ab9d81dcb
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Thu Apr 30 10:20:19 2015 -0400

    guessmount: mount {/dev,/run,/sys} too (mga#10865)
    
    those are mounted by udev not fstab those days
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=659ab26a581ce73eb5ed83dfc34e398ab9d81dcb
Comment 8 Thierry Vignaud 2015-04-30 21:30:49 CEST
Fixed

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


Note You need to log in before you can comment on or make changes to this bug.