Bug 55631 - resolver doesnt recognice LOCALDOMAIN
Summary: resolver doesnt recognice LOCALDOMAIN
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 7.2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-03 06:40 UTC by Helmut Wirth
Modified: 2016-11-24 15:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-04-22 02:21:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Helmut Wirth 2001-11-03 06:40:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)

Description of problem:
Starting with rh 7.2, the resolver doesn4t seem to use the LOCALDOMAIN
environment variable longer, instead the searchlist setting in
resolv.conf is used in every case.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Set searchlist parameter in resolv.conf to "olddomain.com"
2. export LOCALDOMAIN="newdomain.com"
3. ping www (of course, hosts "www.olddomain.com" and
   "www.newdomain.com" must exist)

	

Actual Results:  www.olddomain.com answers.	

Expected Results:  www.newdomain.com should answer.

Additional info:

Comment 1 Ulrich Drepper 2003-04-22 02:21:10 UTC
This is not an issue of not recognizing LOCALDOMAIN, it has to do with ping
being a SUID binary.  LOCALDOMAIN is an unsecure variable which is ignored (or
even eliminated) in SUID/SGID binaries.  LOCALDOMAIN works fine for non-SUID
binaries and ping run as root.  This is a security feature, not a bug.


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