Red Hat Bugzilla – Bug 1390304
Configuration file /usr/lib/systemd/system/srpd.service is marked executable
Last modified: 2017-08-01 12:55:15 EDT
Description of problem: This appears in /var/log/messages and on the system console: systemd-sysv-generator[7828]: Configuration file /usr/lib/systemd/system/srpd.service is marked executable. Please remove executable permission bits. Proceeding anyway. Version-Release number of selected component (if applicable): srptools-1.0.2-1.el7.x86_64 How reproducible: Always. Steps to Reproduce: 1. Just boot a system with srpmtools installed, I guess. 2. Look at /var/log/messages. Or here: # ll /usr/lib/systemd/system/srpd.service -rwxr-xr-x. 1 root root 450 Jul 17 2015 /usr/lib/systemd/system/srpd.service Actual results: The srpd service file has the 'x' permission bits. This fact makes systemd unhappy. Expected results: The srpd service file doesn't have the 'x' permission bits. Systemd is happy.
The srptools package had been merged into rdma-core package. This issue had been addressed in rdma-core-12-2.el7.
Found nothing related srp in rdma-core, then try to install srptools, it says "Package srptools-1.0.3-1.el7.x86_64 is obsoleted by srp_daemon-12-2.el7.x86_64 which is already installed". [root@rdma-qe-06 ~]$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.4 Beta (Maipo) [root@rdma-qe-06 ~]$ rpm -q rdma-core rdma-core-12-2.el7.x86_64 [root@rdma-qe-06 ~]$ rpm -ql rdma-core /etc/modprobe.d/mlx4.conf /etc/modprobe.d/truescale.conf /etc/rdma /etc/rdma/ibacm_opts.cfg /etc/rdma/mlx4.conf /etc/rdma/rdma.conf /etc/rdma/sriov-vfs /etc/sysconfig/network-scripts/ifdown-ib /etc/sysconfig/network-scripts/ifup-ib /etc/udev/rules.d/70-persistent-ipoib.rules /usr/lib/dracut/modules.d/05rdma /usr/lib/dracut/modules.d/05rdma/module-setup.sh /usr/lib/modprobe.d/cxgb3.conf /usr/lib/modprobe.d/cxgb4.conf /usr/lib/modprobe.d/libmlx4.conf /usr/lib/systemd/system/rdma-ndd.service /usr/lib/systemd/system/rdma.service /usr/lib/udev/rules.d/98-rdma.rules /usr/lib/udev/rules.d/rdma-ndd.rules /usr/libexec/mlx4-setup.sh /usr/libexec/rdma-fixup-mtrr.awk /usr/libexec/rdma-init-kernel /usr/libexec/rdma-set-sriov-vf /usr/libexec/truescale-serdes.cmds /usr/sbin/rdma-ndd /usr/share/doc/rdma-core-12 /usr/share/doc/rdma-core-12/README.md /usr/share/licenses/rdma-core-12 /usr/share/licenses/rdma-core-12/COPYING.BSD_FB /usr/share/licenses/rdma-core-12/COPYING.BSD_MIT /usr/share/licenses/rdma-core-12/COPYING.GPL2 /usr/share/licenses/rdma-core-12/COPYING.md /usr/share/man/man8/rdma-ndd.8.gz [2] [root@rdma-qe-06 ~]$ yum install srptools Package srptools-1.0.3-1.el7.x86_64 is obsoleted by srp_daemon-12-2.el7.x86_64 which is already installed Nothing to do [root@rdma-qe-06 ~]$ rpm -q srp_daemon srp_daemon-12-2.el7.x86_64 [root@rdma-qe-06 ~]$ rpm -ql srp_daemon /etc/srp_daemon.conf /usr/lib/systemd/system/srp_daemon.service /usr/sbin/ibsrpdm /usr/sbin/run_srp_daemon /usr/sbin/srp_daemon /usr/sbin/srp_daemon.sh /usr/share/doc/rdma-core-12/ibsrpdm.md /usr/share/man/man1/ibsrpdm.1.gz /usr/share/man/man1/srp_daemon.1.gz [3] [root@rdma-qe-06 ~]$ ll /usr/lib/systemd/system/srp_daemon.service -rw-r--r--. 1 root root 448 Feb 9 12:43 /usr/lib/systemd/system/srp_daemon.service
(In reply to zguo from comment #3) > Found nothing related srp in rdma-core, then try to install srptools, it > says "Package srptools-1.0.3-1.el7.x86_64 is obsoleted by > srp_daemon-12-2.el7.x86_64 which is already installed". Yes, srptools had been renamed as srp_daemon in rdma-core package. > [root@rdma-qe-06 ~]$ cat /etc/redhat-release > Red Hat Enterprise Linux Server release 7.4 Beta (Maipo) > [root@rdma-qe-06 ~]$ rpm -q rdma-core > rdma-core-12-2.el7.x86_64 > > [2] > [root@rdma-qe-06 ~]$ yum install srptools > > Package srptools-1.0.3-1.el7.x86_64 is obsoleted by > srp_daemon-12-2.el7.x86_64 which is already installed > Nothing to do > [root@rdma-qe-06 ~]$ rpm -q srp_daemon > srp_daemon-12-2.el7.x86_64 > [root@rdma-qe-06 ~]$ ll /usr/lib/systemd/system/srp_daemon.service > -rw-r--r--. 1 root root 448 Feb 9 12:43 > /usr/lib/systemd/system/srp_daemon.service As you see, this file is not executable, so issue had been fixed.
(In reply to Honggang LI from comment #4) > (In reply to zguo from comment #3) > > Found nothing related srp in rdma-core, then try to install srptools, it > > says "Package srptools-1.0.3-1.el7.x86_64 is obsoleted by > > srp_daemon-12-2.el7.x86_64 which is already installed". > > Yes, srptools had been renamed as srp_daemon in rdma-core package. > > > [root@rdma-qe-06 ~]$ cat /etc/redhat-release > > Red Hat Enterprise Linux Server release 7.4 Beta (Maipo) > > [root@rdma-qe-06 ~]$ rpm -q rdma-core > > rdma-core-12-2.el7.x86_64 > > > > > [2] > > [root@rdma-qe-06 ~]$ yum install srptools > > > > Package srptools-1.0.3-1.el7.x86_64 is obsoleted by > > srp_daemon-12-2.el7.x86_64 which is already installed > > Nothing to do > > [root@rdma-qe-06 ~]$ rpm -q srp_daemon > > srp_daemon-12-2.el7.x86_64 > > > [root@rdma-qe-06 ~]$ ll /usr/lib/systemd/system/srp_daemon.service > > -rw-r--r--. 1 root root 448 Feb 9 12:43 > > /usr/lib/systemd/system/srp_daemon.service > > As you see, this file is not executable, so issue had been fixed. Moving to verified.
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. https://access.redhat.com/errata/RHEA-2017:2011