Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518592 - sys-fs/cryptsetup - /etc/conf.d/dmcrypt: mount='crypt-loop-home' in example for loopback file fails
Summary: sys-fs/cryptsetup - /etc/conf.d/dmcrypt: mount='crypt-loop-home' in example f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-30 17:31 UTC by Michael Mair-Keimberger (iamnr3)
Modified: 2015-02-10 23:05 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 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.