Hide Forgot
Description of problem: /sbin/iscsiadm and /sbin/iscsid depend on files in /usr but /usr needs not to be available (mounted) when /sbin binaries are used. From FHS (http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES) "/sbin contains binaries essential for booting, restoring, recovering, and/or repairing the system in addition to the binaries in /bin." There are several options: 1) If iscsiadm or iscsid are not essential, they should be moved to /usr/sbin 2) If iscsiadm or iscsid have to stay in /sbin, then they must be able to run without /usr mounted, i.e. the dependencies have to be moved from /usr/lib* to /lib*, or linked statically. 3) If neither of the above is possible (desirable), the exception has to be justified and documented fo further reference (so far I haven't found any relevant docs). Version-Release number of selected component (if applicable): iscsi-initiator-utils-6.2.0.872-10.el6 How reproducible: always Steps to Reproduce: 1. run the test /CoreOS/libtirpc/Sanity/bz558937-sbin-dependencies-in-usr Actual results: :: [ FAIL ] :: File /sbin/iscsiadm (from iscsi-initiator-utils-6.2.0.872-10.el6.x86_64) depends on /usr :: [ INFO ] :: The affected dependencies: :: [ INFO ] :: - /usr/lib64/libcrypto.so.10 (from openssl-1.0.0-10.el6.x86_64) :: [ FAIL ] :: File /sbin/iscsid (from iscsi-initiator-utils-6.2.0.872-10.el6.x86_64) depends on /usr :: [ INFO ] :: The affected dependencies: :: [ INFO ] :: - /usr/lib64/libcrypto.so.10 (from openssl-1.0.0-10.el6.x86_64) Expected results: (no such failures) Additional info:
This should be fixed in iscsi-initiator-utils-6.2.0.872-19.
*** This bug has been marked as a duplicate of bug 593269 ***
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The iscsiadm and iscsid commands depended on files in /usr, but did not require that /usr was mounted when they were used. This resulted in failures without useful error messages when the user attempted to use these commands when /usr was not mounted. This issue has been corrected, and these failures no longer occur.
Deleted Technical Notes Contents. Old Contents: The iscsiadm and iscsid commands depended on files in /usr, but did not require that /usr was mounted when they were used. This resulted in failures without useful error messages when the user attempted to use these commands when /usr was not mounted. This issue has been corrected, and these failures no longer occur.