Bug 727178

Summary: error: luks_open: cryptsetup: error while loading shared libraries: libfipscheck.so.1: cannot open shared object file: No such file or directory
Product: Red Hat Enterprise Linux 6 Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: jzheng, leiwang, qwan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libguestfs-1.7.17-23.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 10:31:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2011-08-01 13:34:36 UTC
Description of problem:

When you use any luks* API call, you see this error:

libguestfs: error: luks_open: cryptsetup: error while loading shared libraries: libfipscheck.so.1: cannot open shared object file: No such file or directory

Version-Release number of selected component (if applicable):

libguestfs-1.7.17-17.el6.x86_64

How reproducible:

100%

Steps to Reproduce:
1. guestfish -a /dev/null run : luks-open /dev/vda foo
2. When it says "Enter key or passphrase ("key")" just type anything.
3.
  
Actual results:

The error above.

Expected results:

You should not see the error about loading shared libraries.  You'll
see another error about /dev/vda not being a LUKS volume, which is OK.

Additional info:

This should have been caught by the regression tests.
We also need to investigate why it wasn't.

Users can temporarily work around this bug by doing:

echo './lib64/libfipscheck.so.1*' > /usr/lib64/guestfs/supermin.d/hostfiles

Comment 2 Richard W.M. Jones 2011-08-09 21:38:55 UTC
https://brewweb.devel.redhat.com/taskinfo?taskID=3544452

Comment 4 Jinxin Zheng 2011-08-18 05:38:38 UTC
Reproduced on libguestfs-1.7.17-17:

$ guestfish -a /dev/null run : luks-open /dev/vda foo
...
libguestfs: error: luks_open: cryptsetup: error while loading shared libraries: libfipscheck.so.1: cannot open shared object file: No such file or directory

Verified on libguestfs-1.7.17-26: No loading shared libraries error, just an error about /dev/vda not being a LUKS volume, which is OK.

Comment 5 errata-xmlrpc 2011-12-06 10:31:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1512.html