Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145135 - sys-apps/pmount-0.9.13 fails to mount luks volumes
Summary: sys-apps/pmount-0.9.13 fails to mount luks volumes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 18:49 UTC by Richard Fish
Modified: 2006-10-30 17:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch for ebuild (pmount-0.9.13-cryptsetup.patch,595 bytes, patch)
2006-08-25 18:50 UTC, Richard Fish
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Fish 2006-08-25 18:49:28 UTC
pmount 0.9.13 will fail to mount dm-crypt+luks volumes, because it searches for the cryptsetup binary in /sbin instead of /bin.

carcharias rjf # strace -f -e execve pmount /dev/backups 2>&1 | grep cryptsetup
[pid 14193] execve("/sbin/cryptsetup", ["/sbin/cryptsetup", "isLuks", "/dev/backups"], [/* 67 vars */]) = -1 ENOENT (No such file or directory)

It looks like instead of doing a sed to change the path in src/policy.h, it will now be necessary to do "econf --with-cryptsetup-prog=/bin/cryptsetup"
Comment 1 Richard Fish 2006-08-25 18:50:31 UTC
Created attachment 95095 [details, diff]
Proposed patch for ebuild
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2006-10-30 17:09:46 UTC
Fixed.