RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1595019 - systemctl status srp_daemon.service -l shows errors like "Unknown lvalue in section 'Service'"
Summary: systemctl status srp_daemon.service -l shows errors like "Unknown lvalue in s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rdma-core
Version: 7.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jarod Wilson
QA Contact: zguo
URL:
Whiteboard:
Depends On:
Blocks: 1532680
TreeView+ depends on / blocked
 
Reported: 2018-06-26 01:44 UTC by zguo
Modified: 2018-10-30 11:18 UTC (History)
5 users (show)

Fixed In Version: rdma-core-17.2-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 11:17:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3208 0 None None None 2018-10-30 11:18:34 UTC

Description zguo 2018-06-26 01:44:42 UTC
Description of problem:


Version-Release number of selected component (if applicable):
$ rpm -q kernel rdma-core
kernel-3.10.0-907.el7.x86_64
rdma-core-17.2-1.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
$ systemctl status srp_daemon.service -l
● srp_daemon.service - Daemon that discovers and logs in to SRP target systems
   Loaded: loaded (/usr/lib/systemd/system/srp_daemon.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:srp_daemon
           file:/etc/srp_daemon.conf

Jun 25 21:36:19 rdma-qe-14.lab.bos.redhat.com systemd[1]: Stopped Daemon that discovers and logs in to SRP target systems.
Jun 25 21:36:19 rdma-qe-14.lab.bos.redhat.com systemd[1]: [/usr/lib/systemd/system/srp_daemon.service:12] Unknown lvalue 'MemoryDenyWriteExecute' in section 'Service'
Jun 25 21:36:19 rdma-qe-14.lab.bos.redhat.com systemd[1]: [/usr/lib/systemd/system/srp_daemon.service:15] Unknown lvalue 'ProtectKernelModules' in section 'Service'
Jun 25 21:36:19 rdma-qe-14.lab.bos.redhat.com systemd[1]: [/usr/lib/systemd/system/srp_daemon.service:16] Unknown lvalue 'RestrictRealtime' in section 'Service'
Jun 25 21:36:19 rdma-qe-14.lab.bos.redhat.com systemd[1]: [/usr/lib/systemd/system/srp_daemon.service:12] Unknown lvalue 'MemoryDenyWriteExecute' in section 'Service'
Jun 25 21:36:19 rdma-qe-14.lab.bos.redhat.com systemd[1]: [/usr/lib/systemd/system/srp_daemon.service:15] Unknown lvalue 'ProtectKernelModules' in section 'Service'
Jun 25 21:36:19 rdma-qe-14.lab.bos.redhat.com systemd[1]: [/usr/lib/systemd/system/srp_daemon.service:16] Unknown lvalue 'RestrictRealtime' in section 'Service'
Jun 25 21:36:25 rdma-qe-14.lab.bos.redhat.com systemd[1]: [/usr/lib/systemd/system/srp_daemon.service:12] Unknown lvalue 'MemoryDenyWriteExecute' in section 'Service'
Jun 25 21:36:25 rdma-qe-14.lab.bos.redhat.com systemd[1]: [/usr/lib/systemd/system/srp_daemon.service:15] Unknown lvalue 'ProtectKernelModules' in section 'Service'
Jun 25 21:36:25 rdma-qe-14.lab.bos.redhat.com systemd[1]: [/usr/lib/systemd/system/srp_daemon.service:16] Unknown lvalue 'RestrictRealtime' in section 'Service'

$ systemctl start srp_daemon.service -l

$ systemctl status srp_daemon.service -l
● srp_daemon.service - Daemon that discovers and logs in to SRP target systems
   Loaded: loaded (/usr/lib/systemd/system/srp_daemon.service; disabled; vendor preset: disabled)
   Active: active (exited) since Mon 2018-06-25 21:41:21 EDT; 8s ago
     Docs: man:srp_daemon
           file:/etc/srp_daemon.conf
  Process: 51020 ExecStart=/usr/libexec/srp_daemon/start_on_all_ports (code=exited, status=0/SUCCESS)
 Main PID: 51020 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/srp_daemon.service

Jun 25 21:41:21 rdma-qe-14.lab.bos.redhat.com systemd[1]: Starting Daemon that discovers and logs in to SRP target systems...
Jun 25 21:41:21 rdma-qe-14.lab.bos.redhat.com systemd[1]: Started Daemon that discovers and logs in to SRP target systems.


Actual results:
Show 'Unknown lvalue' messages. srp_daemon.service can be started successfully.

Expected results:
No 'Unknown lvalue' messages.

Additional info:
It's a regression. No this issue on RHEL-7.5.
$ rpm -q rdma-core kernel
rdma-core-15-6.el7.x86_64
kernel-3.10.0-862.el7.x86_64

Comment 2 Honggang LI 2018-06-26 03:43:11 UTC
Jarod

Two rhel-7 specific patches had been removed when rebase rdma-core-v17. Can you please add these patches back?

0001-srp_daemon-Remove-unsupported-systemd-configurations.patch
0001-srp_daemon-srp_daemon.service-should-be-started-afte.patch

They are redhat-7 specific because rhel-7.5/7.6 has systemd-219, which is much older than systemd used in fedora.

DISTRO=RHEL-7.6-20180621.n.0
[root@rdma-dev-07 ~]$ rpm -qa | grep systemd
systemd-python-219-58.el7.x86_64
systemd-sysv-219-58.el7.x86_64
systemd-219-58.el7.x86_64
systemd-libs-219-58.el7.x86_64

Comment 3 Jarod Wilson 2018-06-26 14:10:59 UTC
(In reply to Honggang LI from comment #2)
> Jarod
> 
> Two rhel-7 specific patches had been removed when rebase rdma-core-v17. Can
> you please add these patches back?
> 
> 0001-srp_daemon-Remove-unsupported-systemd-configurations.patch
> 0001-srp_daemon-srp_daemon.service-should-be-started-afte.patch
> 
> They are redhat-7 specific because rhel-7.5/7.6 has systemd-219, which is
> much older than systemd used in fedora.

Yeah, my mistake, didn't realize those ones were RHEL-only, should have looked closer at their contents. I'm restoring them now, just need bz acks to move forward.

Comment 6 zguo 2018-06-27 08:01:23 UTC
$ rpm -q rdma-core srp_daemon
rdma-core-17.2-3.el7.x86_64
srp_daemon-17.2-3.el7.x86_64
[root@rdma-qe-14 ~]$ systemctl status srp_daemon.service -l
● srp_daemon.service - Daemon that discovers and logs in to SRP target systems
   Loaded: loaded (/usr/lib/systemd/system/srp_daemon.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:srp_daemon
           file:/etc/srp_daemon.conf
[root@rdma-qe-14 ~]$ systemctl start srp_daemon.service -l
[root@rdma-qe-14 ~]$ systemctl status srp_daemon.service -l
● srp_daemon.service - Daemon that discovers and logs in to SRP target systems
   Loaded: loaded (/usr/lib/systemd/system/srp_daemon.service; disabled; vendor preset: disabled)
   Active: active (exited) since Wed 2018-06-27 04:00:38 EDT; 2s ago
     Docs: man:srp_daemon
           file:/etc/srp_daemon.conf
  Process: 1939 ExecStart=/usr/libexec/srp_daemon/start_on_all_ports (code=exited, status=0/SUCCESS)
 Main PID: 1939 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/srp_daemon.service

Jun 27 04:00:38 rdma-qe-14.lab.bos.redhat.com systemd[1]: Starting Daemon that discovers and logs in to SRP target systems...
Jun 27 04:00:38 rdma-qe-14.lab.bos.redhat.com systemd[1]: Started Daemon that discovers and logs in to SRP target systems.

Comment 8 errata-xmlrpc 2018-10-30 11:17:35 UTC
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/RHBA-2018:3208


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