Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106654 - invalid losetup '-k' option in /etc/init.d/crypto-loop
Summary: invalid losetup '-k' option in /etc/init.d/crypto-loop
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-20 01:13 UTC by Hod
Modified: 2005-09-20 06:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hod 2005-09-20 01:13:01 UTC
invalid losetup '-k' option in /etc/init.d/crypto-loop script

Reproducible: Always
Steps to Reproduce:
1. create device and setup /etc/conf.d/cryptoloop as config example
2./etc/init.d/crypto-loop start


Actual Results:  
* Starting crypto loop devices ...
*   Loop /dev/loop0 on device /dev/system/test (cipher serpent, key size 256):
/sbin/losetup: invalid option -- k
usage:
/sbin/losetup [-e encryption] [options] loop_device file  # setup
/sbin/losetup -F [options] loop_device [file]   # setup, read /etc/fstab
/sbin/losetup loop_device                       # give info
/sbin/losetup -a                                # give info of all loops
/sbin/losetup -d loop_device                    # delete
options:  -o offset  -s sizelimit  -p passwdfd  -S pseed  -H phash
-I loinit  -T  -K gpgkey  -G gpghome  -C itercountk  -v  -r
* Failure configuring /dev/loop0.  Skipping.  

Expected Results:  
script should be started without errors.

Linux 2.6.12-gentoo-r10 
util-linux-2.12q-r3
Comment 1 SpanKY gentoo-dev 2005-09-20 06:53:28 UTC
there is no '-k' used in crypto-loop

if you're using old encryption (not loop-AES) you need to re-emerge with
USE=old-crypt