Bug 9837 - Trying to create a encrypted LVM partition results in message "Undefined subroutine &lvm::detect_during_install called."
Summary: Trying to create a encrypted LVM partition results in message "Undefined subr...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: release_blocker major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 5661 9993
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-23 16:23 CEST by PC LX
Modified: 2013-05-05 20:55 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Video screen cast: Mageia install and creating a encrypted LVM partition. (969.11 KB, video/x-matroska)
2013-04-23 16:46 CEST, PC LX
Details

Description PC LX 2013-04-23 16:23:00 CEST
I think I've found an issue with the partitioning tool in the Mageia 3 RC (Mageia-3-RC-Boot-nonfree-x86_64-CD.iso).

Description:

When trying to create a encrypted LVM partition a dialog window with the message "Undefined subroutine &lvm::detect_during_install called." is displayed and a encrypted ext4 partition is created, instead of a encrypted LVM partition as it should be.


Actual Results:

Encrypted ext4 partition is created.


Expected Results:

Encrypted LVM partition is created.


Steps to Reproduce:

Please see attached video with a screen cast showing the steps that lead to the issue.
Always reproducible, at least in the several times I have tried.


Build Date & Hardware:

I have installed in a VirtualBox VM (to record the screen cast) but the issue also happens directly on the hardware.

$ rpm -q VirtualBox-4.2
VirtualBox-4.2-4.2.12_84980_mdv2010.0-1


Additional Information / Workaround:

It is possible to create a encrypted LVM partition by first creating a encrypted ext4 partition (other file systems may also work) and then, in advanced mode, changing the type to LVM.


Regards.
Comment 1 Sander Lepik 2013-04-23 16:26:00 CEST
Colin, should it be fixed in RC or did it get fixed after RC was released?

CC: (none) => mageia, sander.lepik

Comment 2 PC LX 2013-04-23 16:46:09 CEST
Created attachment 3792 [details]
Video screen cast: Mageia install and creating a encrypted LVM partition.
Comment 3 Colin Guthrie 2013-04-23 17:18:29 CEST
@Sander, this actually looks like a problem we introduced when fixing bug #5661.

@PC LX: Awesome video. Very helpful.

I'll look into why this is a problem.

Priority: Normal => release_blocker
CC: (none) => thierry.vignaud

Comment 4 Colin Guthrie 2013-04-23 17:29:56 CEST
Hmm, crap, it seems I added it in r7963.

Thierry, can you see what's wrong with that? Is it just missing a "use lvm;" at the top of perl-install/diskdrake/interactive.pm?  It worked in my tests... but those tests already included an existing LVM volume so I guess the module was loaded via other means under those circumstances.
Comment 5 Thierry Vignaud 2013-04-23 17:31:04 CEST
Fixed in SVN

Status: NEW => RESOLVED
Depends on: (none) => 5661
Resolution: (none) => FIXED

Colin Guthrie 2013-05-05 20:55:37 CEST

Depends on: (none) => 9993


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