Red Hat Bugzilla – Bug 203831
chkconfig breaks when encoutering broken symbolic links, symlinks
Last modified: 2014-03-16 23:01:37 EDT
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible: Always
Steps to Reproduce:
1. Create a (broken) symlink baz -> /foo/bar/baz in /etc/rc.d/init.d
2. Run chkconfig --list
chkconfig breaks and cannot complete any further operations depending on where
the symlink falls in the visitation list
chkconfig should skip broken symlinks rather than becoming unusable
This could be critical since it inhibits further production and upgrades on a
series of hosts.
This is fixed in the current development tree, and will be fixed in RHEL 5. At
this point, this issue is not planned to be backported to current Red Hat
Enterprise Linux releases.
There is a major customer that this affects, and the customer will not be able
to upgrade to RHEL3 or RHEL4 for several years.
This also causes problems with 3rd party packages that may not clean up its
symlinks accurately. There are also valid use cases for this to occur.
Built as 18.104.22.168.EL3-1.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.