Bug 9063 - Localhost "overriden" upon dial-up.
Localhost "overriden" upon dial-up.
Product: Red Hat Linux
Classification: Retired
Component: ppp (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2000-02-02 05:21 EST by Jirtme Loisel
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:
Last Closed: 2000-02-02 16:57:50 EST
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 Jirtme Loisel 2000-02-02 05:21:35 EST
I have tried very hard to resolve this bug on my own, and have checked this
DB extensively. I have also downloaded the initscripts RPM to make sure it
had not been fixed.

I run RedHat6.1 on a non-networked machine. The machine is unnamed: simply
localhost.localdomain. When I dial out (through kppp), it seems like
localhost gets overriden.

The following is an excerpt of an e-mail conversation I had about this with
someone from Debian. The person offered comments which, although a tad
cynical, might be accurate for all I know... :-) So here it is.

> I almost always use X. Well, eventually, after 5 minutes or one day, I
> can no longer start new apps. I get an error. (Luckily, it is happening
> now, and I am not even kidding, so here is a transcript of terminal

Let me guess, you're on a modem?  And you do somehing like bring up ppp and
this starts?

> "AUDIT: [date]: 1515 X: client X rejected from local host AUTH name:
> And trying to start an app from a terminal yields the following results:
> "Xlib: connection to ":0.0" refused by server Xlib: Client is not
> authorized to connect to Server kedit: cannot connect to X server :0"
> I read the man pages on security and such. I put "ALL" in
> /etc/hosts.allow. I tried erasing the .Xauthority file to see if it
> wasn't corrupt or anything. Nothing works. I keep having those problems.

For reasons known only to Redhat, if your machine is named
'localhost.localdomain', it will rename it whenever you start/stop a
network interface, even if it is dynamic PPP.

This screws up the xauthority mechanism (one portion of the key is the
host, but the name changed under it).

I hope you can tell me what is wrong and how I can correct it. My system is
seriously hampered by this. Thanks.

Jirtme Loisel
Comment 1 Bill Nottingham 2000-02-02 16:57:59 EST
This should be fixed in initscripts-4.88 or higher, which will be
in the next Raw Hide release.

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