...
Description of problem: Deprecated MemoryLimit is used in insights-register unit file. [root@ip-10-116-1-241 ec2-user]# systemd-analyze verify insights-register.service /usr/lib/systemd/system/insights-register.service:23: Unit uses MemoryLimit=; please use MemoryMax= instead. Support for MemoryLimit= will be removed soon. [root@ip-10-116-1-241 ec2-user]# rpm -qf /usr/lib/systemd/system/insights-register.service redhat-cloud-client-configuration-1-11.el9.noarch [root@ip-10-116-1-241 ec2-user]# systemctl cat insights-register /usr/lib/systemd/system/insights-register.service This file is part of insights-client. # Any changes made to this file will be overwritten during a software update. To override a parameter in this file, create a drop-in file, typically located at /etc/systemd/system/insights-register.service.d/override.conf. Put the desired overrides in that file and reload systemd. The next time this service is run (either manually or via a systemd timer), the overridden values will be in effect. # For more information about systemd drop-in files, see systemd.unit(5). [Unit] Description=Automatically Register with Red Hat Insights Documentation=man:insights-client(8) After=network-online.target [Service] Type=simple ExecStart=/usr/bin/insights-client --register Restart=no WatchdogSec=900 CPUQuota=30% MemoryLimit=2G TasksMax=300 BlockIOWeight=100 ExecStartPost=-/bin/bash -c "echo 2G >/dev/null 2>&1 > /sys/fs/cgroup/memory/system.slice/insights-register.service/memory.memsw.limit_in_bytes" ExecStartPost=-/bin/bash -c "echo 1G >/dev/null 2>&1 > /sys/fs/cgroup/memory/system.slice/insights-register.service/memory.soft_limit_in_bytes" ExecStopPost=/bin/systemctl mask --now insights-register.path Below is the console output: [ 24.786463] XFS (nvme0n1p3): Ending recovery (logdev: internal) [ 24.824649] ppdev: user-space parallel port driver [ 28.117088] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 30.912641] block nvme0n1: the capability attribute has been deprecated. RHEL Version: RHEL-9.3( 5.14.0-362.8.1.el9_3.x86_64) How reproducible: 100% Steps to Reproduce: 1. Launch a RHEL-9.3 system with redhat-cloud-client-configuration installed. 2. Check journal log Actual results: See warning from journal log Expected results: No such warning in journal log Additional info: Here is a reference bug that a similar issue got fixed in insights-client pkg 2155468.
Done-Errata
Click on a version to see all relevant bugs
Red Hat Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.