preupg: rule "CGROUP_DAEMON in sysconfig scripts" reports "error" status

Solution Verified - Updated -

Issue

  • Executing preupg on the RHEL 6 system, rule "CGROUP_DAEMON in sysconfig scripts" reports error

    # preupg --skip-common --select-rules=xccdf_preupg_rule_system_SysconfigCgroupDaemon_check
    [...]
    Result table with checks and their results for 'main contents':
    --------------------------------------------------
    |CGROUP_DAEMON in sysconfig scripts      |error  |
    --------------------------------------------------
    [...]
    
  • HTML report shows the following Log for the rule "CGROUP_DAEMON in sysconfig scripts"

    Traceback (most recent call last):
      File "/root/preupgrade/RHEL6_7/system/SysconfigCgroupDaemon/check", line 72, in <module>
        if cgroup_daemon():
      File "/root/preupgrade/RHEL6_7/system/SysconfigCgroupDaemon/check", line 62, in cgroup_daemon
        with open(root+"/"+filename, "r") as f:
    IOError: [Errno 2] No such file or directory: '/etc/sysconfig/<SOMEFILE>'
    

Environment

  • Red Hat Enterprise Linux 6 (RHEL 6)
    • preupg

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