[Bug 1404043] Review Request: rdma-core - RDMA core userspace libraries and daemons

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1404043



--- Comment #18 from Honggang LI <honli@xxxxxxxxxx> ---
(In reply to Jarod Wilson from comment #17)
> I haven't touched the ldconfig issue just yet, no clue how to address that,
> will have to get some upstream input there.

======================================================
$ rpm -qp --scripts libibcm-12-1.fc26.x86_64.rpm
postinstall program: /sbin/ldconfig
postuninstall scriptlet (using /sbin/ldconfig):

# libibumad
======================================================

ldconfig failed because of unnecessary comments, for example, "# libibumad" for
libibcm. Please consider apply this patch.

 f26]$ diff -Nurp rdma-core.spec.old rdma-core.spec
--- rdma-core.spec.old    2017-01-19 09:02:15.000000000 -0500
+++ rdma-core.spec    2017-01-20 00:25:04.245224686 -0500
@@ -207,6 +207,7 @@ Requires(preun): systemd-units
 Requires(postun): systemd-units
 Requires: %{name}%{?_isa} = %{version}-%{release}
 Requires: logrotate
+Requires: rsyslog

 %description -n srp_daemon
 In conjunction with the kernel ib_srp driver, srp_daemon allows you to
@@ -286,23 +287,18 @@ install -D -m0644 redhat/srp_daemon.serv
 # Delete the package's init.d scripts
 rm -rf %{buildroot}/%{_initrddir}/

-# libibverbs
 %post -n libibverbs -p /sbin/ldconfig
 %postun -n libibverbs -p /sbin/ldconfig

-# libibcm
 %post -n libibcm -p /sbin/ldconfig
 %postun -n libibcm -p /sbin/ldconfig

-# libibumad
 %post -n libibumad -p /sbin/ldconfig
 %postun -n libibumad -p /sbin/ldconfig

-# librdmacm
 %post -n librdmacm -p /sbin/ldconfig
 %postun -n librdmacm -p /sbin/ldconfig

-# ibacm
 %post -n ibacm
 %systemd_post ibacm.service
 %preun -n ibacm
@@ -310,7 +306,6 @@ rm -rf %{buildroot}/%{_initrddir}/
 %postun -n ibacm
 %systemd_postun_with_restart ibacm.service

-# srp_daemon
 %post -n srp_daemon
 %systemd_post srp_daemon.service
 %preun -n srp_daemon
@@ -318,7 +313,6 @@ rm -rf %{buildroot}/%{_initrddir}/
 %postun -n srp_daemon
 %systemd_postun_with_restart srp_daemon.service

-# iwpmd
 %post -n iwpmd
 %systemd_post iwpmd.service
 %preun -n iwpmd

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]