losetup on Gentoo does not have a -F option (read from fstab). Also , mounting a previously built encrypted filesystem does not work. mount returns an error stating: key size must be specified This is preventing me from converting to Gentoo, as all my data is not easily reachable until I can mount the already built filesystems. If I copy the losetup binary from another distribution, I am able to manually run losetup and then mount manually, and it works (based on this I am relatively sure I compiled the kernel modules fine, both raid and cryptoloop). It appears I have the most current losetup version ( 2.12 unix-util or whatever it is). The version that works on the other distro appears to be the same ( losetup-2.12a-5mdk ) Expected result: losetup should have -F option, and I should be able to mount previously created encrypted filesystems by copying the fstab line, and supplying the password. Current result: I have to copy the losetup binary into this distribution, then run it. Gentoo losetup returns: losetup: invalid option -- V usage: losetup loop_device # give info losetup -d loop_device # delete losetup [ -e encryption ] [ -o offset ] loop_device file # setup What I expect to see is: losetup: invalid option -- V usage: losetup [-e encryption] [options] loop_device file # setup losetup -F [options] loop_device [file] # setup, read /etc/fstab losetup loop_device # give info losetup -a # give info of all loops 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
not a security issue
sounds like mdk is using outdated versions of cryptoloop if you're using util-linux-2.12q, i suggest you try `USE=old-crypt emerge util-linux` and then use `losetup-old-crypt` ... if that fails to work, that means mdk is prob using *really* outdated cryptoloop which means Gentoo doesnt support it any longer