Bug 3958 - /etc/nsswitch.conf broken for "services"
/etc/nsswitch.conf broken for "services"
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-07-09 00:46 EDT by wingc
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-02 18:12:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description wingc 1999-07-09 00:46:23 EDT
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


Thanks,

Chris Wing
wingc@engin.umich.edu
Comment 1 Cristian Gafton 1999-08-02 18:12:59 EDT
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.