Bug 24031 - Installation with --no-recommends enabled can't boot with encrypted partitions
Summary: Installation with --no-recommends enabled can't boot with encrypted partitions
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2018-12-18 16:07 CET by Stig-Ørjan Smelror
Modified: 2019-04-08 09:31 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
report.bug.xz (172.41 KB, application/x-xz)
2018-12-22 02:42 CET, Stig-Ørjan Smelror
Details
rdsosreport.txt.xz (24.59 KB, application/x-xz)
2018-12-22 02:50 CET, Stig-Ørjan Smelror
Details

Description Stig-Ørjan Smelror 2018-12-18 16:07:39 CET
Hi.

I've tried with both i586 and x86_64 and neither can boot if either root or /home is encrypted.
My guess is that there is a package that is set to Recommends, but I've no idea where it is or what is missing.

Will now try with recommends enabled to see if my theory is correct.

Cheers,
Stig
Marja Van Waes 2018-12-19 08:42:34 CET

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

Comment 1 Thierry Vignaud 2018-12-19 15:50:28 CET
It's probably cryptsetup.
But we already try to install it:
http://gitweb.mageia.org/software/drakx/tree/perl-install/install/any.pm?h=18.7#n845

Attaching report.bug would help

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud

Comment 2 Stig-Ørjan Smelror 2018-12-22 02:42:34 CET
Created attachment 10588 [details]
report.bug.xz

This is from an installation where I encrypted / formatted as xfs.

I was asked to provide the password, but it would not boot. It generated "rdsosreport.txt", but I'm unable, at the moment, to copy this file to a usb stick.

Will reboot and add "rd.debug" to grub and try with another usb stick to see if I'm able to make it work.
Comment 3 Stig-Ørjan Smelror 2018-12-22 02:50:42 CET
Created attachment 10589 [details]
rdsosreport.txt.xz

Here is the rdsosreport.txt with "rd.debug" enabled.
Comment 4 Thierry Vignaud 2018-12-28 00:22:48 CET
so cryptsetup did got installed.... Hum...
Comment 5 Ulrich Beckmann 2019-04-05 15:48:00 CEST
I tried to reproduce this bug with Mga7 beta 3 Classical Iso, and did not get even a complete installation.

Formatting the root device in expert mode with xfs and encryption always fails  with the message "cryptsetup failed".

There is a new device in the partition table, but it is not possible to open it with # cryptsetup open ...

NB: I had a working encrypted instance with Mga7 beta 2.

Ulrich

CC: (none) => bequimao.de

Comment 6 Ulrich Beckmann 2019-04-08 09:31:43 CEST
(In reply to Ulrich Beckmann from comment #5)
> I tried to reproduce this bug with Mga7 beta 3 Classical Iso, and did not
> get even a complete installation.
> 
... 
> Ulrich

There is not a separate bug report https://bugs.mageia.org/show_bug.cgi?id=24638

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=24638


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