Bug 1048298

Summary: Failed to set up a loop device
Product: [Fedora] Fedora Reporter: customercare
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-03 16:34:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description customercare 2014-01-03 16:16:15 UTC
Description of problem:

Truecrypt and other pprograms can't bind a loop device with kernel 3.12.5-100.

Failuremessage: 

"Failed to set up a loop device"

If the current nsa incidents, this is a fatal flaw and should be considered a security problem. 

Kernels prior to 3.12. are working properly.

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

3.12.5


How reproducible:



Steps to Reproduce:
1. create a truecryptcontainer via truecrypt command or UI
2. try to mount it i.e. in the shell: 
   truecrypt -p <password> -t -k "" --protect-hidden=no  -m "nokernelcrypto" /root/truecryptfile.tc /mountpoint

it does not matter if its tried via UI or shell. It always the same message.

# modprobe loop

does not help and won't help, as the old kernel 3.11.10 does not have the module loaded at all and can mount the device. The changes are thereby made inside the kernel. 

Actual results:

a not helping error message: "Failed to set up a loop device"

Expected results:

a working mount 
Additional info:

Comment 1 customercare 2014-01-03 16:34:09 UTC

*** This bug has been marked as a duplicate of bug 1019440 ***

Comment 2 customercare 2014-01-03 16:35:24 UTC
Different release, same problem with kernel 3.12

These two lines seem to fix it:

echo "options loop max_loop=8" > /etc/modprobe.d/eightloop.conf
echo "loop" > /etc/modules-load.d/loop.conf

reboot