Bug 11323 - Loopback kernel module not loaded for cryptmount
Summary: Loopback kernel module not loaded for cryptmount
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Guillaume Rousse
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2013-09-30 14:31 CEST by Nick De Graeve
Modified: 2015-10-27 06:59 CET (History)
2 users (show)

See Also:
Source RPM: cryptmount-4.4.1-1.mga4.src.rpm
CVE:
Status comment:


Attachments

Description Nick De Graeve 2013-09-30 14:31:20 CEST
Description of problem:

When creating an encrypted filesystem as a file with cryptmount, the loopback kernel module ("loop") isn't loaded by default resulting in following error:

[root@hal9000 ~]$ cryptmount-setup
...
Enter password for target "mystuff": 
No available loopback devices
Cannot open device "/home/nick/mnt/mystuff.fs" for target "mystuff"


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

4.3.3

How reproducible:

Always

Steps to Reproduce:
1. Install cryptmount
2. Run cryptmount-setup
--> Error



Reproducible: 

Steps to Reproduce:
Comment 1 Nick De Graeve 2013-09-30 14:32:44 CEST
Workaround:
- short term: run 'modprobe loop' as root
- long term: run 'echo loop >> /etc/modules' as root
Comment 2 Nick De Graeve 2013-09-30 14:36:00 CEST
Solution (?):

Installing the package adds the "loop" entry to /etc/modules
Comment 3 Nick De Graeve 2013-09-30 14:42:55 CEST
Bug 9657 reports the same issue for TrueCrypt but it is closed as being invalid because TrueCrypt isn't provided by Mageia. Cryptmount, however, is.
Manuel Hiebel 2013-10-07 12:29:00 CEST

Keywords: (none) => Triaged
CC: (none) => tmb
Assignee: bugsquad => guillomovitch

Comment 4 jim l 2013-10-15 19:16:17 CEST
Loop device is a system facility that exists independent of any particular package, and which provides block device access to a file.  Closing a bug related to it not being started is inappropriate; it should be started automatically at boot time, probably in the initrd though adding loop to /etc/modules works fine.

CC: (none) => jiml

Comment 5 Guillaume Rousse 2013-11-21 09:48:05 CET
It doesn't make much sense to force permanent loading of 'loop' module just because you install a package than may eventually need it. That's more an upstream issue for me, as cryptmount-setup usage should trigger relevant module loading dynamically if needed.
Comment 6 Marja Van Waes 2015-03-31 16:07:07 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

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

Comment 7 Nick De Graeve 2015-03-31 17:09:20 CEST
The bug still exists in Mageia 4 with cryptmount 4.4.1.

Status: RESOLVED => REOPENED
Version: 3 => 4
Resolution: OLD => (none)
Source RPM: cryptmount-4.3-3.mga3.src.rpm => cryptmount-4.4.1-1.mga4.src.rpm

Comment 8 Samuel Verschelde 2015-09-21 13:22:08 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 9 Marja Van Waes 2015-10-27 06:59:02 CET
As announced over a month ago, Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer maintained, which means that it will not receive any further security or bug fix updates.

This issue may have been fixed in a later Mageia release, so, if you still see it and didn't already do so: please upgrade to Mageia 5 (or, if you read this much later than this is written: make sure you run a currently maintained Mageia version)

If you are able to reproduce it against a maintained version of Mageia, you are encouraged to 
1. reopen this bug report, by changing the "Status" from "RESOLVED - OLD" to "REOPENED"
2. click on "Version" and change it against that version of Mageia. If you know it's valid in several versions, select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.
3. give as much relevant information as possible. If you're not an experienced bug reporter and have some time: please read this page:
https://wiki.mageia.org/en/How_to_report_a_bug_properly

If you see a similar issue, but are _not_sure_ it is the same, with the same cause, then please file a new bug report and mention this one in it (please include the bug number, too). 


If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].
[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/

Status: REOPENED => RESOLVED
Resolution: (none) => OLD


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