error loading /etc/cgconfig.conf: Cgroup, operation not allowed

Solution Verified - Updated -

Issue

  • cgconfig.service fails to start
# systemctl status cgconfig.service -l
● cgconfig.service - Control Group configuration service
   Loaded: loaded (/usr/lib/systemd/system/cgconfig.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2022-02-28 15:47:40 AEST; 1min 19s ago
  Process: 10806 ExecStop=/usr/sbin/cgclear -l /etc/cgconfig.conf -L /etc/cgconfig.d -e (code=exited, status=3)
  Process: 10814 ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -L /etc/cgconfig.d -s 1664 (code=exited, status=87)
 Main PID: 10814 (code=exited, status=87)

Feb 28 15:47:40 krs78.usersys.redhat.com systemd[1]: Starting Control Group configuration service...
Feb 28 15:47:40 krs78.usersys.redhat.com systemd[1]: cgconfig.service: main process exited, code=exited, status=87/n/a
Feb 28 15:47:40 krs78.usersys.redhat.com cgconfigparser[10814]: /usr/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup, operation not allowed
Feb 28 15:47:40 krs78.usersys.redhat.com cgconfigparser[10814]: Error: cannot create directory /cgroup/cpuset
Feb 28 15:47:40 krs78.usersys.redhat.com systemd[1]: Failed to start Control Group configuration service.
Feb 28 15:47:40 krs78.usersys.redhat.com systemd[1]: Unit cgconfig.service entered failed state.
Feb 28 15:47:40 krs78.usersys.redhat.com systemd[1]: cgconfig.service failed.

Environment

  • RHEL7
  • libcgroup package installed

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content