The module crashes on dead symlink under /etc/sysconfig
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/deadlink'
The module crashes on dead symlink under /etc/sysconfig
See the RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1851322 Thanks to @rmetrich for the patch.