Bug 19733

Summary: diskdrake & harddrake2 crash on LUKS encrypted partition (device-mapper: table ioctl on crypt_sda1 failed: No such device or address)
Product: Mageia Reporter: Tamás Hajdu <fathom>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11, pterjan
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: drakxtools-17.58-1.mga6 CVE:
Status comment:

Description Tamás Hajdu 2016-11-07 19:51:44 CET
Description of problem:
Diskdrake crashes on LUKS encrypted partition, with this message:
device-mapper: table ioctl on crypt_sda1 failed: No such device or address
Command failed
INTERNAL ERROR: unknown device mapper/crypt_sda1
MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:131
devices::entry() called from /usr/lib/libDrakX/devices.pm:146
devices::make() called from /usr/lib/libDrakX/fs/type.pm:257
fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:264
fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fs/dmcrypt.pm:172
fs::dmcrypt::_get_existing_one() called from /usr/lib/libDrakX/fs/dmcrypt.pm:131
fs::dmcrypt::_get_existing_one_with_state() called from /usr/lib/libDrakX/fs/dmcrypt.pm:59
fs::dmcrypt::read_crypttab_() called from /usr/lib/libDrakX/fs/dmcrypt.pm:71
fs::dmcrypt::read_crypttab() called from /usr/lib/libDrakX/fsedit.pm:106
fsedit::dmcrypts() called from /usr/lib/libDrakX/fsedit.pm:319
fsedit::get_hds() called from /usr/libexec/drakdisk:74

Version-Release number of selected component (if applicable):
17.58

How reproducible:
Always

Steps to Reproduce:
1. Start DiskDrake
Marja Van Waes 2016-11-07 20:02:33 CET

CC: (none) => marja11, pterjan
Assignee: bugsquad => mageiatools
Summary: diskdrake crashes => diskdrake crashes on LUKS encrypted partition (device-mapper: table ioctl on crypt_sda1 failed: No such device or address)

Comment 1 Tamás Hajdu 2016-11-07 22:47:58 CET
Harddrake is also effected

# LANG=C harddrake2
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 525.
need_removing_empty_extended
device-mapper: table ioctl on crypt_sda1 failed: No such device or address
Command failed
INTERNAL ERROR: unknown device mapper/crypt_sda1
MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:131
devices::entry() called from /usr/lib/libDrakX/devices.pm:146
devices::make() called from /usr/lib/libDrakX/fs/type.pm:257
fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:264
fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fs/dmcrypt.pm:172
fs::dmcrypt::_get_existing_one() called from /usr/lib/libDrakX/fs/dmcrypt.pm:131
fs::dmcrypt::_get_existing_one_with_state() called from /usr/lib/libDrakX/fs/dmcrypt.pm:59
fs::dmcrypt::read_crypttab_() called from /usr/lib/libDrakX/fs/dmcrypt.pm:71
fs::dmcrypt::read_crypttab() called from /usr/lib/libDrakX/fsedit.pm:106
fsedit::dmcrypts() called from /usr/lib/libDrakX/fsedit.pm:319
fsedit::get_hds() called from /usr/libexec/drakhardware:389
[root@northernlights fathom]#
Marja Van Waes 2016-11-08 08:40:49 CET

Summary: diskdrake crashes on LUKS encrypted partition (device-mapper: table ioctl on crypt_sda1 failed: No such device or address) => diskdrake & harddrake2 crash on LUKS encrypted partition (device-mapper: table ioctl on crypt_sda1 failed: No such device or address)

Comment 2 Tamás Hajdu 2017-08-29 17:19:35 CEST
I have forgotten to close this bug report, this bug vanished.

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