Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 3958 - /etc/nsswitch.conf broken for "services"
Summary: /etc/nsswitch.conf broken for "services"
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-07-09 04:46 UTC by wingc
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-08-02 22:12:16 UTC

Attachments (Terms of Use)

Description wingc 1999-07-09 04:46:23 UTC
The default configuration for "services" in
/etc/nsswitch.conf is:

services:   nisplus [NOTFOUND=return] files

Obviously, this breaks any program that wants to use
getservbyname() if you are not running NIS.

Kerberos 4 in particular generates annoying error messages
with this configuration.

You should ship /etc/nsswitch.conf with the following
default, or something similar:

services:   files


Chris Wing

Comment 1 Cristian Gafton 1999-08-02 22:12:59 UTC
Foxed in glibc-2.1.2-3 and later, in rawhide shortly

Note You need to log in before you can comment on or make changes to this bug.