Description of problem: /usr/bin/ecryptfs-setup-swap utilizes * /sbin/cryptsetup (cryptsetup-luks pkg) via # Ensure that cryptsetup is available [ -x /sbin/cryptsetup ] || error "Please install 'cryptsetup'" (a little bit strange is that `cryptsetup' is never called afterwards) * /sbin/dmsetup (device-mapper pkg) via # Check if this this swap space is already setup for encryption if /sbin/dmsetup table "$swap" | grep -qs " crypt " 2>/dev/null; then info "[$swap] already appears to be encrypted." exit 0 else [...] but does not depend on them (= rpm dependency). It might be a good idea to have explicit dependency in spec file. Version-Release number of selected component (if applicable): ecryptfs-utils-75-1.el5
yum remove device-mapper #contains dmsetup .... -> dependency would remove coreutils but this can be easily added to ecryptfs-utils * /sbin/cryptsetup (cryptsetup-luks pkg) via (a little bit strange is that `cryptsetup' is never called afterwards) it's not called but it's used later with dmsetup if you want to encrypt device requiring cryptsetup seem little bit odd from my POV, but since it'd be "always" present (hal requires cryptsetup), it makes no difference.
only minor change in spec file
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-1307.html