Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 80007 - redhat-config-network sets wrong permissions for /etc/hosts, /etc/resolv.conf
redhat-config-network sets wrong permissions for /etc/hosts, /etc/resolv.conf
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Depends On:
Blocks: 81720
  Show dependency treegraph
Reported: 2002-12-18 13:56 EST by Peter Lampione
Modified: 2007-04-18 12:49 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-06-04 05:48:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Peter Lampione 2002-12-18 13:56:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Description of problem:
When redhat-config-network is used to modify settings after the first install
(launched from KDE in user mode), it writes the files
with owner root and permission 600.  This causes DNS lookup for the user to fail
(other things may fail as well).

WORKAROUND: after using redhat-config-network, su to root, 
and manually change the permissions to 644. 

A very irritating bug (took long to figure out until I noticed 
that DNS _did_ work for root). 

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

How reproducible:

Steps to Reproduce:
1.Use redhat-config-network from user. 
2.Modify the IP address, or something in the DNS entries, causing 
  redhat-config-network to re-write /etc/hosts and /etc/resolv.conf
3.Try to ping a host whose IP address is not known to the machine. 

Additional info:
Comment 1 Harald Hoyer 2003-01-13 10:20:59 EST
new packages to test available at:
Comment 2 Harald Hoyer 2004-06-04 05:48:57 EDT
Closing due to inactivity. Reopen, if the problem is still existing.

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