Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200071 - genkernel doesn't find cryptsetup in /sbin
Summary: genkernel doesn't find cryptsetup in /sbin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-23 12:06 UTC by Robert Buchholz (RETIRED)
Modified: 2007-11-28 22:32 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 Robert Buchholz (RETIRED) gentoo-dev 2007-11-23 12:06:25 UTC
Newly stabled sys-fs/cryptsetup-1.0.5 supports LUKS (and, as I heard shall replace sys-fs/cryptsetup-luks), but it installs the static cryptsetup binary into /sbin, not /bin.

Genkernel does not handle this change of setup:
* LUKS support requires static cryptsetup at /bin/cryptsetup
* Not including LUKS supprot.

Test with genkernel-3.4.9_pre6 and genkernel-3.4.9_pre9-r1.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-11-23 20:46:38 UTC
And this is part of the reason that we're trying to move away from using files from the host system to include in the initramfs.

I've applied a fix in SVN. It now looks for both /bin/cryptsetup and /sbin/cryptsetup. The error message now says:

LUKS support requires static cryptsetup at /bin/cryptsetup or /sbin/cryptsetup
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-11-28 22:32:09 UTC
This should be done in 3.4.9_pre10 which will be hitting the tree soon.