[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#389456: p-a-c: Fails to configure encrypted volumes

On Tue, Sep 26, 2006 at 07:36:10PM +0200, Max Vozeler wrote:
-               tools="/bin/blockdev-keygen /sbin/dmsetup /sbin/cryptsetup"
+               tools="$tools /sbin/dmsetup /sbin/cryptsetup /lib/libpopt.so.0"

This won't work, I think? We test for [ -x $tool ] further down
in crypto_check_required_tools(). I think we'd need to change the
test to [ -e .. ] or test separately for libs. Somehow I feel we
should find a better way to test for required libraries though.
Perhaps changing the error reporting in anna-install so that we
could tell if a dependency couldn't be loaded?

Oh, right...I've changed the test to [ -e ] for now and we can always do this in a different way if/when anna-install allows for dependency download error checking.

David Härdeman

Reply to: