preupg: rule "CGROUP_DAEMON in sysconfig scripts" reports "error" status
Issue
-
Executing
preupgon 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.