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.
Description of problem:
It looks like the same systemd unit file used on RHEL8 is added in RHEL7 without adapting it.
See the output that shows Unknown lvalue 'MemoryMax' and Unknown lvalue 'MemoryHigh'
~~~
$ sudo systemctl status insights-client-boot
● insights-client-boot.service - Run Insights Client at boot
Loaded: loaded (/usr/lib/systemd/system/insights-client-boot.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:insights-client(8)
Aug 13 10:03:57 li-lc-1437 systemd[1]: [/usr/lib/systemd/system/insights-client-boot.service:22] Unknown lvalue 'MemoryHigh' in sec...Service'
Aug 13 10:03:57 li-lc-1437 systemd[1]: [/usr/lib/systemd/system/insights-client-boot.service:23] Unknown lvalue 'MemoryMax' in sect...Service'
$ sudo systemctl cat insights-client-boot
[Unit]
Description=Run Insights Client at boot
Documentation=man:insights-client(8)
After=network-online.target
ConditionPathExists=/etc/insights-client/.run_insights_client_next_boot
[Service]
Type=oneshot
ExecStart=/usr/bin/insights-client --retry 3
Restart=no
WatchdogSec=900
CPUQuota=30%
MemoryHigh=1G
MemoryMax=2G
MemoryLimit=2G
TasksMax=300
BlockIOWeight=100
ExecStartPre=/bin/rm -f /etc/insights-client/.run_insights_client_next_boot
[Install]
WantedBy=multi-user.target
~~~
Version-Release number of selected component (if applicable):
insights-client-3.1.5-1.el7_9.noarch
How reproducible:
Always
Steps to Reproduce:
1. Install the latest insights-client-3.1.5-1.el7_9.noarch package on RHEL 7.9 host.
2. Check status of insights-client-boot service
Actual results:
It is showing Invalid entries in insights-client-boot.service
~~~
$ sudo systemctl status insights-client-boot
● insights-client-boot.service - Run Insights Client at boot
Loaded: loaded (/usr/lib/systemd/system/insights-client-boot.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:insights-client(8)
Aug 13 10:03:57 li-lc-1437 systemd[1]: [/usr/lib/systemd/system/insights-client-boot.service:22] Unknown lvalue 'MemoryHigh' in sec...Service'
Aug 13 10:03:57 li-lc-1437 systemd[1]: [/usr/lib/systemd/system/insights-client-boot.service:23] Unknown lvalue 'MemoryMax' in sect...Service'
~~~
Expected results:
It should not show any invalid entries.
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 (insights-client bug fix and enhancement update), 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-2022:4643
Description of problem: It looks like the same systemd unit file used on RHEL8 is added in RHEL7 without adapting it. See the output that shows Unknown lvalue 'MemoryMax' and Unknown lvalue 'MemoryHigh' ~~~ $ sudo systemctl status insights-client-boot ● insights-client-boot.service - Run Insights Client at boot Loaded: loaded (/usr/lib/systemd/system/insights-client-boot.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:insights-client(8) Aug 13 10:03:57 li-lc-1437 systemd[1]: [/usr/lib/systemd/system/insights-client-boot.service:22] Unknown lvalue 'MemoryHigh' in sec...Service' Aug 13 10:03:57 li-lc-1437 systemd[1]: [/usr/lib/systemd/system/insights-client-boot.service:23] Unknown lvalue 'MemoryMax' in sect...Service' $ sudo systemctl cat insights-client-boot [Unit] Description=Run Insights Client at boot Documentation=man:insights-client(8) After=network-online.target ConditionPathExists=/etc/insights-client/.run_insights_client_next_boot [Service] Type=oneshot ExecStart=/usr/bin/insights-client --retry 3 Restart=no WatchdogSec=900 CPUQuota=30% MemoryHigh=1G MemoryMax=2G MemoryLimit=2G TasksMax=300 BlockIOWeight=100 ExecStartPre=/bin/rm -f /etc/insights-client/.run_insights_client_next_boot [Install] WantedBy=multi-user.target ~~~ Version-Release number of selected component (if applicable): insights-client-3.1.5-1.el7_9.noarch How reproducible: Always Steps to Reproduce: 1. Install the latest insights-client-3.1.5-1.el7_9.noarch package on RHEL 7.9 host. 2. Check status of insights-client-boot service Actual results: It is showing Invalid entries in insights-client-boot.service ~~~ $ sudo systemctl status insights-client-boot ● insights-client-boot.service - Run Insights Client at boot Loaded: loaded (/usr/lib/systemd/system/insights-client-boot.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:insights-client(8) Aug 13 10:03:57 li-lc-1437 systemd[1]: [/usr/lib/systemd/system/insights-client-boot.service:22] Unknown lvalue 'MemoryHigh' in sec...Service' Aug 13 10:03:57 li-lc-1437 systemd[1]: [/usr/lib/systemd/system/insights-client-boot.service:23] Unknown lvalue 'MemoryMax' in sect...Service' ~~~ Expected results: It should not show any invalid entries.