Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1630309

Summary: Failed to parse protect system value, ignoring: strict
Product: Red Hat Enterprise Linux 7 Reporter: Jiri Koten <jkoten>
Component: fprintdAssignee: Bastien Nocera <bnocera>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 7.6CC: fsumsal, ovasik, systemd-maint-list, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: fprintd-0.8.1-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:10:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Koten 2018-09-18 11:21:34 UTC
Description of problem:
When the Fingerprint Authentication Daemon is started, there is an error and couple of warnings in the service logs.

$ systemctl status fprintd -l                                                         _1 
● fprintd.service - Fingerprint Authentication Daemon
   Loaded: loaded (/usr/lib/systemd/system/fprintd.service; static; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:fprintd(1)

systemd[1]: [/usr/lib/systemd/system/fprintd.service:23] Unknown lvalue 'MemoryDenyWriteExecute' in section 'Service'
systemd[1]: [/usr/lib/systemd/system/fprintd.service:26] Unknown lvalue 'ProtectKernelModules' in section 'Service'
systemd[1]: [/usr/lib/systemd/system/fprintd.service:29] Unknown lvalue 'RestrictRealtime' in section 'Service'
systemd[1]: [/usr/lib/systemd/system/fprintd.service:11] Failed to parse protect system value, ignoring: strict
systemd[1]: [/usr/lib/systemd/system/fprintd.service:12] Unknown lvalue 'ProtectKernelTunables' in section 'Service'
systemd[1]: [/usr/lib/systemd/system/fprintd.service:13] Unknown lvalue 'ProtectControlGroups' in section 'Service'
systemd[1]: [/usr/lib/systemd/system/fprintd.service:14] Unknown lvalue 'ReadWritePaths' in section 'Service'
systemd[1]: [/usr/lib/systemd/system/fprintd.service:23] Unknown lvalue 'MemoryDenyWriteExecute' in section 'Service'
systemd[1]: [/usr/lib/systemd/system/fprintd.service:26] Unknown lvalue 'ProtectKernelModules' in section 'Service'
systemd[1]: [/usr/lib/systemd/system/fprintd.service:29] Unknown lvalue 'RestrictRealtime' in section 'Service'


Despite that, the service seems to work normally. There is an incompatibility between unit file and systemd version.

Version-Release number of selected component (if applicable):
fprintd-0.8.1-1.el7
systemd-219-61.el7

How reproducible:
100%

Comment 2 Bastien Nocera 2018-09-18 15:04:35 UTC
That's expected, systemd will throw warnings when it doesn't know an option. A newer systemd would actually use those configuration options.

I don't have a good answer for this, I think that it's a problem that systemd needs to deal with, because we want those configuration options to be there for newer systemds, but we don't want the older ones to warn about those.

Maybe we should have a "known option in newer systemd" patch in RHEL to quiet those warnings?

Comment 3 Frantisek Sumsal 2018-09-18 15:17:07 UTC
We've dealt with such issues few times already and the solution is to include a .service file without such directives for RHEL 7, as it is highly unlikely that those directives will be supported during the life of RHEL 7 (e.g. MemoryDenyWriteExecute was introduced in systemd 231).

It doesn't make sense to suppress those warnings as it can hide potential typos or misconfiguration.

Comment 4 Bastien Nocera 2018-09-21 10:33:14 UTC
(In reply to Jiri Koten from comment #0)
> systemd[1]: [/usr/lib/systemd/system/fprintd.service:11] Failed to parse
> protect system value, ignoring: strict

The systemd docs don't mention when support for this value was added to ProtectSystem (seems to have been systemd 232). Would have been nice to have.

Comment 9 errata-xmlrpc 2018-10-30 11:10:55 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/RHEA-2018:3206