Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1390304 - Configuration file /usr/lib/systemd/system/srpd.service is marked executable
Configuration file /usr/lib/systemd/system/srpd.service is marked executable
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: srptools (Show other bugs)
7.2
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Honggang LI
zguo
:
Depends On:
Blocks: 1353018
  Show dependency treegraph
 
Reported: 2016-10-31 12:16 EDT by Radek Bíba
Modified: 2017-08-01 12:55 EDT (History)
6 users (show)

See Also:
Fixed In Version: rdma-core-12-2.el7
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-01 12:55:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:2011 normal SHIPPED_LIVE RDMA stack bug fix and enhancement update 2017-08-01 13:59:05 EDT

  None (edit)
Description Radek Bíba 2016-10-31 12:16:43 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.
Comment 1 Honggang LI 2017-03-01 19:55:05 EST
The srptools package had been merged into rdma-core package. This issue had been addressed in rdma-core-12-2.el7.
Comment 3 zguo 2017-03-07 01:20:33 EST
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
Comment 4 Honggang LI 2017-03-07 03:42:43 EST
(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.
Comment 5 zguo 2017-03-07 20:08:03 EST
(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.
Comment 6 errata-xmlrpc 2017-08-01 12:55:15 EDT
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

Note You need to log in before you can comment on or make changes to this bug.