| Summary: | draklive-install: LVM logical volumes are not activated and file systems are incorrectly shown as ext4, when prior to install the LUKS partition was unlocked, but the LVM volumes were inactive | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | PC LX <mageia> |
| Component: | RPM Packages | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | High | CC: | mageia, marja11, thierry.vignaud, tmb |
| Version: | Cauldron | Keywords: | 6sta2, PATCH |
| Target Milestone: | Mageia 6 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | draklive-install | CVE: | |
| Status comment: | we must reactivate LVM at boot and draklive-install should do the activation for LUKS | ||
| Attachments: |
Video showing draklive-install LVM's LV not activated bug.
explicitely proble LVM in draklive-install |
||
|
Description
PC LX
2014-11-30 22:48:01 CET
Created attachment 5671 [details]
Video showing draklive-install LVM's LV not activated bug.
wrong package CC:
(none) =>
thierry.vignaud Confirm this bug is present in Mageia 5 beta 3 live DVD 64 bits. Yeah, we disabled lvm and crypt probing during live bootup as it picked up every on-disk install and started asking for passwords... So for now you must go to console and call lvm & co manually to activate... but we do need to make draklive-install do the activation CC:
(none) =>
tmb If automatic activation is undesirable (for some reason I'm not seeing now) then maybe adding a "activate" button when a LVM volume is selected. We dont want to touh every encrypted install automatically, and people got annoyed by us asking passwords for every one found... but maybe we should allow lvm activation atleast... Oh, I forgot... you can enable it during boot... just remove: rd.luks=0 rd.lvm=0 rd.dm=0 from the kernel command line Confirming this bug is present in Mageia 5 RC Live DVD KDE 64 bits. This issue happens LVs are not activated. One example is a LVM volume inside a LUKS partition but not only. The solution I prefer is to automatically activate any visible LVs. Note that this does not require unlocking LUKS volumes but it does require that when a LUKS volume is unlocked, at the request of the user, any LVs inside it be automatically activated. I'm not seeing any issues with automatically activating LVs but if for some reason that is a problem then I propose adding a "activate" button to the GUI when a inactive LV is selected. Also, the installer will need to recognize that a LV is inactive and not assume that it is empty or a ext4 FS as it does now.
Samuel Verschelde
2015-06-06 15:13:34 CEST
Target Milestone:
--- =>
Mageia 6 There was no action in this report since 2015-05-02 Is this bug still valid with Mga5 and/or current cauldron / mga6dev1 ? Keywords:
(none) =>
NEEDINFO With Mageia-5-LiveDVD-KDE4-x86_64-DVD.iso, the issue is half fixed! If the LUKS partition (with LVM/LVs inside) is locked prior to running the installer and is unlocked using the installer then the installer will activate the LVs inside the LUKS partition and show their content correctly. But if the LUKS partition (with LVM/LVs inside) is unlocked prior to running the installer but the LVs are still inactive when the installer is run, then the installer will incorrectly show the LVs are ext4. Didn't test with the Mageia 6 live DVD because I didn't find it anywhere! Is it available? URL? (In reply to PC LX from comment #10) Thanks for the feedback, PC LX The Mageia 6 development 1 snapshot is currently only available for QA-team members, and is being improved until their testing reveals it's good enough to be released for all (most likely this month). If you're interested in becoming a QA iso-tester, then please say so on QA-discuss mailing list https://ml.mageia.org/l/info/qa-discuss (you have to become a member of that list, first) and add your name to the table in this page https://wiki.mageia.org/en/QA_ISO_testers Keywords:
NEEDINFO =>
(none)
Marja Van Waes
2016-02-05 17:06:57 CET
Summary:
draklive-install: LVM logical volumes are not activated and file systems are incorrectly shown as ext4. =>
draklive-install: LVM logical volumes are not activated and file systems are incorrectly shown as ext4, when prior to install the LUKS partition was unlocked, but the LVM volumes were inactive Is it still valid with the publicly available Live DVD ISOs? Keywords:
(none) =>
NEEDINFO This bug is still present in Mageia-6-sta1-LiveDVD-GNOME-x86_64-DVD.iso under a VirtualBox VM. Inactive LVs are incorrectly displayed as ext4. sha1: 5c00ff3aed050fa06c4617c4a1c0f79d79b4bfba
Samuel Verschelde
2016-10-13 21:07:06 CEST
Keywords:
NEEDINFO =>
(none) This bug is valid for Mageia 5.1 Live DVD KDE 64 bits. file: Mageia-5.1-LiveDVD-KDE4-x86_64-DVD.iso sha1: 98ddc20b30668f0dd0b5844cf446b63d3c1d0680 This bug is valid for Mageia 6sta2 Live DVD Plasma 64 bits. file: Mageia-6-sta2-LiveDVD-Plasma-x86_64-DVD.iso sha1: de6f8e9467d6005cc645d2cdccc60be0719054f2 date: Fri Jan 6 20:45:40 CET 2017 Keywords:
(none) =>
6sta2
Samuel Verschelde
2017-01-30 10:16:47 CET
Status comment:
(none) =>
draklive-install should do the activation (In reply to Thomas Backlund from comment #4) draklive should call lvm::detect_during_install() then... But: (In reply to Thomas Backlund from comment #6) > but maybe we should allow lvm activation atleast... yeah that the way to go: disable LUKS but enable LVM probing CC:
(none) =>
mageia
Samuel Verschelde
2017-01-30 10:42:37 CET
Status comment:
draklive-install should do the activation =>
we must reactivate LVM at boot and draklive-install should do the activation for LUKS Created attachment 8904 [details]
explicitely proble LVM in draklive-install
Thierry Vignaud
2017-01-30 11:01:58 CET
Keywords:
(none) =>
PATCH This bug is valid for latest Mageia 6sta2 Live DVD Plasma 64 bits. file: Mageia-6-sta2-LiveDVD-Plasma-x86_64-DVD.iso sha1: 61982525ce07e20e00ff197740e014f462b6f29e date: Sun Feb 5 02:01:25 CET 2017 Thierry's patch was applied to the final sta2 Live ISOs. Did this fix the bug? This bug seems to be fixed on the latest Mageia 6sta2 Live DVD Plasma 64 bits. If no one is against, this can be closed as fixed. file: Mageia-6-sta2-LiveDVD-Plasma-x86_64-DVD.iso sha1: 9725fb1a018cb1a38b6f5b87fd56813c7f428c77 date: Wed Mar 1 00:00:25 CET 2017 Done Status:
NEW =>
RESOLVED |