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
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