Hide Forgot
Description of problem: /sbin/multipath and /sbin/multipathd relies on libraries in /usr #ldd /sbin/multipath libsysfs.so.2 => /usr/lib64/libsysfs.so.2 (0x00000035f4000000) #ldd /sbin/multipathd libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00000035f1c00000) libsysfs.so.2 => /usr/lib64/libsysfs.so.2 (0x00000035f4000000) libreadline.so.5 => /usr/lib64/libreadline.so.5 (0x00000035f2800000) libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x0000003603e00000) Version-Release number of selected component (if applicable): device-mapper-multipath-0.4.7-42 How reproducible: always Steps to Reproduce: 1. install RHEL5.6.z with device-mapper-multipath 2. ldd /sbin/multipath & ldd /sbin/multipathd Actual results: # ldd /sbin/multipath linux-vdso.so.1 => (0x00007fff23bfc000) libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00000035f1c00000) libsysfs.so.2 => /usr/lib64/libsysfs.so.2 (0x00000035f4000000) libc.so.6 => /lib64/libc.so.6 (0x00000035f0c00000) libm.so.6 => /lib64/libm.so.6 (0x00000035f1400000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00000035f7800000) libsepol.so.1 => /lib64/libsepol.so.1 (0x00000035f7400000) /lib64/ld-linux-x86-64.so.2 (0x00000035f0400000) libdl.so.2 => /lib64/libdl.so.2 (0x00000035f1000000) # ldd /sbin/multipathd linux-vdso.so.1 => (0x00007ffff573a000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00000035f1800000) libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00000035f1c00000) libsysfs.so.2 => /usr/lib64/libsysfs.so.2 (0x00000035f4000000) libreadline.so.5 => /usr/lib64/libreadline.so.5 (0x00000035f2800000) libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x0000003603e00000) libc.so.6 => /lib64/libc.so.6 (0x00000035f0c00000) /lib64/ld-linux-x86-64.so.2 (0x00000035f0400000) libm.so.6 => /lib64/libm.so.6 (0x00000035f1400000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00000035f7800000) libsepol.so.1 => /lib64/libsepol.so.1 (0x00000035f7400000) libdl.so.2 => /lib64/libdl.so.2 (0x00000035f1000000) Expected results: /sbin/multipath should not rely on libraries in /usr /sbin/multipathd should not rely on libraries in /usr Additional info: you can check the FAILED TPS result to know more info: http://nest.test.redhat.com/mnt/qa/scratch/x86-64-5c-m1/2011:10926/tps/tps-rpmtest.html there's a similar FIXED BZ: https://bugzilla.redhat.com/show_bug.cgi?id=593269
Can you elaborate on _why_ multipath and multipathd must be static binaries? Based on the justification here: https://bugzilla.redhat.com/show_bug.cgi?id=593269#c3 I can assume it is to address the case where root and/or /sbin/ is provided by a multipath device? Multipath root support is provided by dracut. It pulls in all the shared libs that multipath requires. So given the reference to FHS, we need to either make multipath* static or move the binaries to /usr/sbin/ ? A _real_ bug would be nice; rather than chasing ghosts...
RHEL 5 ignore. RHEL 6 not a issue. WONTFIX is OK.