Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 518592

Summary: sys-fs/cryptsetup - /etc/conf.d/dmcrypt: mount='crypt-loop-home' in example for loopback file fails
Product: Gentoo Linux Reporter: Michael Mair-Keimberger (iamnr3) <mmk>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Mair-Keimberger (iamnr3) 2014-07-30 17:31:30 UTC
In the configuration file /etc/conf.d/dmcrypt is a example for loopback file(s) which seems to be partly wrong.

The example looks like:
## Loopback file example
#mount='crypt-loop-home'
#source='/dev/loop0'
#loop_file='/mnt/crypt/home'

However, "mount='crypt-loop-home'" doesn't work and looking at the other examples it looks like it should be 'target' instead.
I've tested this on my system it worked as expected. Maybe i'm wrong here, but for me it looks like 'mount' has to be replaced with 'target'

Even in the Arguments overview isn't a entry for "mount"...
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-10 23:05:12 UTC
+  10 Feb 2015; Michał Górny <mgorny@gentoo.org> files/1.0.6-dmcrypt.confd:
+  Fix example in conf.d, bug #518592, patch by Michael Mair-Keimberger.