Red Hat Bugzilla – Bug 71430
machine won't boot with invalid ldap sources
Last modified: 2015-01-07 18:59:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606
Description of problem:
I have found that if you configure /etc/nsswitch.conf to use an ldap source that
doesn't exist (say you tell it to find hosts in ldap as well as files, but the
hosts entry does not exist in the database), the machine will become unusable
after attempting to run authconfig and will refuse to boot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. edit /etc/nsswitch.conf and add 'ldap' to an entry for which no ldap schema
exists in the ldap database
2. save file, run authconfig
Actual Results: machine immediately becomes extremely sluggish forcing a
reboot. After rebooting, INIT says that all ID's are respawning too fast and
will be disabled for 5 minutes. The machine will not boot.
Expected Results: An error message about an invalid data source.
I first experienced this while trying to set up a client to authenticate using
LDAP and thought it was an unrelated problem. However on a second attempt, the
same thing occured and I have verified it is reproducable. The only way to bring
the system back is to boot off a rescue disk and edit /etc/nsswitch.conf to
remove the 'ldap' parameter from services that have no valid ldap entries. For
example, I have both user and group data in the ldap database. I can tell those
entries to use ldap and it is fine, however if I add ldap to the hosts line,
then this will occur as there is no host entry in the ldap database. Doing so
may not exactly be desireable, but having the machine become unusable because of
this seems like a bad thing.
Red Hat apologizes that these issues have not been resolved yet. We do want to
make sure that no important bugs slip through the cracks.
Red Hat Linux 7.3 and Red Hat Linux 9 are no longer supported by Red Hat, Inc.
They are maintained by the Fedora Legacy project (http://www.fedoralegacy.org/)
for security updates only. If this is a security issue, please reassign to the
'Fedora Legacy' product in bugzilla. Please note that Legacy security update
support for these products will stop on December 31st, 2006.
If this is not a security issue, please check if this issue is still present
in a current Fedora Core release. If so, please change the product and version
to match, and check the box indicating that the requested information has been
If you are currently still running Red Hat Linux 7.3 or 9, please note that
Fedora Legacy security update support for these products will stop on December
31st, 2006. You are strongly advised to upgrade to a current Fedora Core release
or Red Hat Enterprise Linux or comparable. Some information on which option may
be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/.
Any bug still open against Red Hat Linux 7.3 or 9 at the end of 2006 will be
closed 'CANTFIX'. Again, if this bug still exists in a current release, or is a
security issue, please change the product as necessary. We thank you for your
help, and apologize again that we haven't handled these issues to this point.
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still
running Red Hat Linux, you are strongly advised to upgrade to a
current Fedora Core release or Red Hat Enterprise Linux or comparable.
Some information on which option may be right for you is available at
Closing as CANTFIX.