Bug 1975343

Summary: netdata.service uses unknown options on EL7
Product: [Fedora] Fedora EPEL Reporter: Filippo Carletti <filippo.carletti>
Component: netdataAssignee: Didier Fabert (tartare) <didier.fabert>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: didier.fabert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-22 17:34:59 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 Filippo Carletti 2021-06-23 13:10:36 UTC
Description of problem:

On every "systemctl daemon-reload" the following line is logged:

Jun 23 15:08:24 ns7-ent systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue 'ProtectControlGroups' in section 'Service'


Version-Release number of selected component (if applicable):

netdata-1.31.0-1.el7.x86_64


How reproducible:

Always

Steps to Reproduce:
1. Type "systemctl daemon-reload"
2. fgrep "netdata.service" /var/log/messages

Actual results:

Jun 23 15:08:24 ns7-ent systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue 'ProtectControlGroups' in section 'Service'


Expected results:

empty result

Additional info:

Comment 1 Didier Fabert (tartare) 2021-06-24 09:37:03 UTC
Hi Filippo

ProtectControlGroups need a boolean value which must be [yes|no] or [on|off]. true is not a valid value (only on centos 7 ?). I opened a PR to netdata: https://github.com/netdata/netdata/pull/11281

Comment 2 Didier Fabert (tartare) 2024-04-22 17:34:59 UTC
Centos 7 is very close to EOL, I close this BZ