Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 78552

Summary: Invalid argument error when attempting to use des option for encryption (losetup)
Product: [Retired] Red Hat Linux Reporter: Michael Lee Yohe <michael>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: sam
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-03 20:19:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Lee Yohe 2002-11-25 18:29:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020830

Description of problem:
# dd if=/dev/zero of=encrypted.img bs=1k count=10000
10000+0 records in
10000+0 records out
# ls -laF
total 10024
drwx------    2 root     root         4096 Nov 25 12:25 ./
drwxr-xr-x    5 root     root         4096 Nov 25 12:25 ../
-rw-r--r--    1 root     root     10240000 Nov 25 12:25 encrypted.img
# losetup -e des /dev/loop0 /opt/secure/encrypted.img 
Password: 
Init (up to 16 hex digits): 
ioctl: LOOP_SET_STATUS: Invalid argument


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


How reproducible:
Always

Steps to Reproduce:
1. create a file (for loopback setup)
2. attempt to setup encryption on that file for loopback device
	

Actual Results:  ioctl: LOOP_SET_STATUS: Invalid argument

Expected Results:  losetup should not have had a problem.

Additional info:

Comment 1 Michael Lee Yohe 2002-12-03 20:19:06 UTC
Elliot (and public) - any progress in determining whether it is an isolated
issue?  I've been able to duplicate this on two different Red Hat Linux 8.0 boxes.

Comment 2 Elliot Lee 2002-12-03 22:17:24 UTC
Sorry for the delay. Please read bug #56698 for the (stalled) status of a fix.

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