Bug 19733 - diskdrake & harddrake2 crash on LUKS encrypted partition (device-mapper: table ioctl on crypt_sda1 failed: No such device or address)
Summary: diskdrake & harddrake2 crash on LUKS encrypted partition (device-mapper: tabl...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-07 19:51 CET by Tamás Hajdu
Modified: 2017-08-29 17:19 CEST (History)
2 users (show)

See Also:
Source RPM: drakxtools-17.58-1.mga6
CVE:
Status comment:


Attachments

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


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