* constantly changing /etc/HOSTNAME file
@ 1998-12-26 20:08 jmd
1998-12-26 20:32 ` Michal Jaegermann
0 siblings, 1 reply; 12+ messages in thread
From: jmd @ 1998-12-26 20:08 UTC (permalink / raw)
To: axp-list@redhat.com
Hi
Everytime I connect to my ISP something overwrites the /etc/HOSTNAME
file so that it reads a given address. (ie "a021.pm3-1.nwk.infinet.com")
This change occurs with every login session as far as I can see, so a
revoot will reflect the last dynamic IP assigned.
I have though about changing permissions to read only. The permissions
on my Intel box are the same as the Alpha.
Machine is a Cabriolet with Red Hat 5.1.
TIA
jeff duncan
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
1998-12-26 20:08 jmd
@ 1998-12-26 20:32 ` Michal Jaegermann
1998-12-27 21:47 ` jmd
0 siblings, 1 reply; 12+ messages in thread
From: Michal Jaegermann @ 1998-12-26 20:32 UTC (permalink / raw)
To: axp-list
jmd wrote:
>
> Everytime I connect to my ISP something overwrites the /etc/HOSTNAME
> file so that it reads a given address. (ie "a021.pm3-1.nwk.infinet.com")
> This change occurs with every login session as far as I can see, so a
> revoot will reflect the last dynamic IP assigned.
Normally (i.e. in a standard startup used by Red Hat) /etc/rc.d/rc.sysinit
startup script sets hostname, and records the change in /etc/HOSTNAME,
using values specified in /etc/sysconfig/network file (unless NETWORKING
is set to "no"). What actually is in /etc/HOSTNAME is not that important.
Even if you are using DHCP it is hard to imagine that your ISP is that
"smart" that it rewrites your sysconfig files. I think that something
is missing here from your story.
BTW - your machine may have different names "internally" and "outside".
This is normal.
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
1998-12-26 20:32 ` Michal Jaegermann
@ 1998-12-27 21:47 ` jmd
1998-12-27 22:06 ` Tristan Colgate
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: jmd @ 1998-12-27 21:47 UTC (permalink / raw)
To: axp-list
Michal Jaegermann wrote:
>
> jmd wrote:
> >
> > Everytime I connect to my ISP something overwrites the /etc/HOSTNAME
> > file so that it reads a given address. (ie "a021.pm3-1.nwk.infinet.com")
> > This change occurs with every login session as far as I can see, so a
> > revoot will reflect the last dynamic IP assigned.
>
> Normally (i.e. in a standard startup used by Red Hat) /etc/rc.d/rc.sysinit
> startup script sets hostname, and records the change in /etc/HOSTNAME,
> using values specified in /etc/sysconfig/network file (unless NETWORKING
> is set to "no"). What actually is in /etc/HOSTNAME is not that important.
> Even if you are using DHCP it is hard to imagine that your ISP is that
> "smart" that it rewrites your sysconfig files.
I don't think the ISP is writing to this file. I think there is
something internally wrong with my set up.
I checked both files you referred to:
/etc/sysconfig/network is:
NETWORKING=YES
FORWARD_IPV4=NO
HOSTNAME=localhost.localdomain
GATEWAYDEV=
GATEWAY=
/etc/rc.d/rc.sysinit includes the lines:
if [ -f /etc/sysconfig/network ]; then
. /etc/sysconfig/network
else
NETWORKING=no
HOSTNAME=localhost
This is what happens:
I boot clean with "localhost.localdomain" in my /etc/HOSTNAME file.
If I dial in to my ISP this file (etc/HOSTNAME) is changed as soon as I
am logged in the ISP and have been assigned an IP address. (example
a021.pm3-1.nwk.infinet.com)
Taking that example if I open /etc/HOSTNAME after I log in to the ISP
the file will read "a021.pm3-1.nwk.infinet.com" localhost.localdomain
will not be in this file.
If I open another terminal with ctl-alt-F2 then the login prompt will
be:
[jmd@a021 jmd]$
I changed the permissions for /etc/HOSTNAME to 444 and it still wrote to
the file.
>I think that something is missing here from your story.
>
> BTW - your machine may have different names "internally" and "outside".
> This is normal.
>
> Michal
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
1998-12-27 21:47 ` jmd
@ 1998-12-27 22:06 ` Tristan Colgate
1998-12-27 22:40 ` Paul Tomblin
1998-12-27 23:47 ` Michal Jaegermann
2 siblings, 0 replies; 12+ messages in thread
From: Tristan Colgate @ 1998-12-27 22:06 UTC (permalink / raw)
To: axp-list
Hi,
If the sequence of events is as you are describing them, it would appear
to be down to you ppp scripts. Are you using the default redhat setup of
have you installed anything else?
You could, for instance, try Raines ppp scripts (check freshmeat.net for
the homepage). If the same thing still happens then something very odd
must be happening.
Tristan 'Minty' Colgate
================================
<colgate@spods.dcs.kcl.ac.uk>
PGP 5.0 key available on request
================================
'We are the music makers, the dreamers of the dream...'
-Willy Wonka
On Sun, 27 Dec 1998, jmd wrote:
> Michal Jaegermann wrote:
> >
> > jmd wrote:
> > >
> > > Everytime I connect to my ISP something overwrites the /etc/HOSTNAME
> > > file so that it reads a given address. (ie "a021.pm3-1.nwk.infinet.com")
> > > This change occurs with every login session as far as I can see, so a
> > > revoot will reflect the last dynamic IP assigned.
> >
> > Normally (i.e. in a standard startup used by Red Hat) /etc/rc.d/rc.sysinit
> > startup script sets hostname, and records the change in /etc/HOSTNAME,
> > using values specified in /etc/sysconfig/network file (unless NETWORKING
> > is set to "no"). What actually is in /etc/HOSTNAME is not that important.
> > Even if you are using DHCP it is hard to imagine that your ISP is that
> > "smart" that it rewrites your sysconfig files.
>
> I don't think the ISP is writing to this file. I think there is
> something internally wrong with my set up.
>
> I checked both files you referred to:
>
> /etc/sysconfig/network is:
>
> NETWORKING=YES
> FORWARD_IPV4=NO
> HOSTNAME=localhost.localdomain
> GATEWAYDEV=
> GATEWAY=
>
> /etc/rc.d/rc.sysinit includes the lines:
>
> if [ -f /etc/sysconfig/network ]; then
> . /etc/sysconfig/network
>
> else
> NETWORKING=no
> HOSTNAME=localhost
>
> This is what happens:
> I boot clean with "localhost.localdomain" in my /etc/HOSTNAME file.
> If I dial in to my ISP this file (etc/HOSTNAME) is changed as soon as I
> am logged in the ISP and have been assigned an IP address. (example
> a021.pm3-1.nwk.infinet.com)
> Taking that example if I open /etc/HOSTNAME after I log in to the ISP
> the file will read "a021.pm3-1.nwk.infinet.com" localhost.localdomain
> will not be in this file.
>
> If I open another terminal with ctl-alt-F2 then the login prompt will
> be:
> [jmd@a021 jmd]$
>
> I changed the permissions for /etc/HOSTNAME to 444 and it still wrote to
> the file.
>
>
> >I think that something is missing here from your story.
> >
> > BTW - your machine may have different names "internally" and "outside".
> > This is normal.
> >
> > Michal
> >
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
1998-12-27 21:47 ` jmd
1998-12-27 22:06 ` Tristan Colgate
@ 1998-12-27 22:40 ` Paul Tomblin
1998-12-29 17:00 ` Maurice Hilarius
1998-12-27 23:47 ` Michal Jaegermann
2 siblings, 1 reply; 12+ messages in thread
From: Paul Tomblin @ 1998-12-27 22:40 UTC (permalink / raw)
To: axp-list
Quoting jmd (jmd@infinet.com):
> I boot clean with "localhost.localdomain" in my /etc/HOSTNAME file.
> If I dial in to my ISP this file (etc/HOSTNAME) is changed as soon as I
> am logged in the ISP and have been assigned an IP address. (example
> a021.pm3-1.nwk.infinet.com)
dhcp does this.
--
Paul Tomblin, not speaking for anybody.
"But I heard him exclaim, as he climbed in the night
Merry Christmas to all, I have traffic in sight" - Phyllis Moses
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
@ 1998-12-27 22:41 Designer 7
1998-12-27 23:24 ` Tristan Colgate
1998-12-28 1:56 ` jmd
0 siblings, 2 replies; 12+ messages in thread
From: Designer 7 @ 1998-12-27 22:41 UTC (permalink / raw)
To: axp-list
Hey,
Uh... unless I'm totally brain dead right now (too early in the
morning)... I'm guessing you're using DHCP on ppp?(My assumption based
on the fact that certain fields in 'network' are left empty.) If so,
doesn't the DHCP protocol set all those values in 'network' for you?
Hence the HOSTNAME changes from DHCP information gotten during logon,
and hence, your network scripts find this and sets the HOSTNAME?
Or how about this,... do a tail -f /etc/HOSTNAME or a watch -n 1
/etc/HOSTNAME.... and watch exactly what happens as you logon to your
ISP... then you'll know exactly what step of the ISP logon process is
changing your HOSTNAME...
By the way, what's the big deal? Is this changing HOSTNAME screwing up
some application that happens to use it?
> If the sequence of events is as you are describing them, it would
appear
>to be down to you ppp scripts. Are you using the default redhat setup
of
>have you installed anything else?
>
> You could, for instance, try Raines ppp scripts (check freshmeat.net
for
>the homepage). If the same thing still happens then something very odd
>must be happening.
>
>Tristan 'Minty' Colgate
>
>================================
><colgate@spods.dcs.kcl.ac.uk>
>
>PGP 5.0 key available on request
>================================
>'We are the music makers, the dreamers of the dream...'
> -Willy Wonka
>
>
>On Sun, 27 Dec 1998, jmd wrote:
>
>> Michal Jaegermann wrote:
>> >
>> > jmd wrote:
>> > >
>> > > Everytime I connect to my ISP something overwrites the
/etc/HOSTNAME
>> > > file so that it reads a given address. (ie
"a021.pm3-1.nwk.infinet.com")
>> > > This change occurs with every login session as far as I can see,
so a
>> > > revoot will reflect the last dynamic IP assigned.
>> >
>> > Normally (i.e. in a standard startup used by Red Hat)
/etc/rc.d/rc.sysinit
>> > startup script sets hostname, and records the change in
/etc/HOSTNAME,
>> > using values specified in /etc/sysconfig/network file (unless
NETWORKING
>> > is set to "no"). What actually is in /etc/HOSTNAME is not that
important.
>> > Even if you are using DHCP it is hard to imagine that your ISP is
that
>> > "smart" that it rewrites your sysconfig files.
>>
>> I don't think the ISP is writing to this file. I think there is
>> something internally wrong with my set up.
>>
>> I checked both files you referred to:
>>
>> /etc/sysconfig/network is:
>>
>> NETWORKING=YES
>> FORWARD_IPV4=NO
>> HOSTNAME=localhost.localdomain
>> GATEWAYDEV=
>> GATEWAY=
>>
>> /etc/rc.d/rc.sysinit includes the lines:
>>
>> if [ -f /etc/sysconfig/network ]; then
>> . /etc/sysconfig/network
>>
>> else
>> NETWORKING=no
>> HOSTNAME=localhost
>>
>> This is what happens:
>> I boot clean with "localhost.localdomain" in my /etc/HOSTNAME file.
>> If I dial in to my ISP this file (etc/HOSTNAME) is changed as soon as
I
>> am logged in the ISP and have been assigned an IP address. (example
>> a021.pm3-1.nwk.infinet.com)
>> Taking that example if I open /etc/HOSTNAME after I log in to the ISP
>> the file will read "a021.pm3-1.nwk.infinet.com" localhost.localdomain
>> will not be in this file.
>>
>> If I open another terminal with ctl-alt-F2 then the login prompt will
>> be:
>> [jmd@a021 jmd]$
>>
>> I changed the permissions for /etc/HOSTNAME to 444 and it still wrote
to
>> the file.
>>
>>
>> >I think that something is missing here from your story.
>> >
>> > BTW - your machine may have different names "internally" and
"outside".
>> > This is normal.
>> >
>> > Michal
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
1998-12-27 22:41 Designer 7
@ 1998-12-27 23:24 ` Tristan Colgate
1998-12-27 23:28 ` Paul Tomblin
1998-12-28 1:56 ` jmd
1 sibling, 1 reply; 12+ messages in thread
From: Tristan Colgate @ 1998-12-27 23:24 UTC (permalink / raw)
To: axp-list
I know the dhcp client does alter the network file, but if you are just
using ppp to connect to an isp dhcpcd doesnt come into play. The IP is
negotiaited by the pppd itself.
I have to agree with you though, I cant see this being too hazardous.
Tristan 'Minty' Colgate
================================
<colgate@spods.dcs.kcl.ac.uk>
PGP 5.0 key available on request
================================
'We are the music makers, the dreamers of the dream...'
-Willy Wonka
On Sun, 27 Dec 1998, Designer 7 wrote:
> Hey,
>
> Uh... unless I'm totally brain dead right now (too early in the
> morning)... I'm guessing you're using DHCP on ppp?(My assumption based
> on the fact that certain fields in 'network' are left empty.) If so,
> doesn't the DHCP protocol set all those values in 'network' for you?
> Hence the HOSTNAME changes from DHCP information gotten during logon,
> and hence, your network scripts find this and sets the HOSTNAME?
>
> Or how about this,... do a tail -f /etc/HOSTNAME or a watch -n 1
> /etc/HOSTNAME.... and watch exactly what happens as you logon to your
> ISP... then you'll know exactly what step of the ISP logon process is
> changing your HOSTNAME...
>
> By the way, what's the big deal? Is this changing HOSTNAME screwing up
> some application that happens to use it?
>
>
> > If the sequence of events is as you are describing them, it would
> appear
> >to be down to you ppp scripts. Are you using the default redhat setup
> of
> >have you installed anything else?
> >
> > You could, for instance, try Raines ppp scripts (check freshmeat.net
> for
> >the homepage). If the same thing still happens then something very odd
> >must be happening.
> >
> >Tristan 'Minty' Colgate
> >
> >================================
> ><colgate@spods.dcs.kcl.ac.uk>
> >
> >PGP 5.0 key available on request
> >================================
> >'We are the music makers, the dreamers of the dream...'
> > -Willy Wonka
> >
> >
> >On Sun, 27 Dec 1998, jmd wrote:
> >
> >> Michal Jaegermann wrote:
> >> >
> >> > jmd wrote:
> >> > >
> >> > > Everytime I connect to my ISP something overwrites the
> /etc/HOSTNAME
> >> > > file so that it reads a given address. (ie
> "a021.pm3-1.nwk.infinet.com")
> >> > > This change occurs with every login session as far as I can see,
> so a
> >> > > revoot will reflect the last dynamic IP assigned.
> >> >
> >> > Normally (i.e. in a standard startup used by Red Hat)
> /etc/rc.d/rc.sysinit
> >> > startup script sets hostname, and records the change in
> /etc/HOSTNAME,
> >> > using values specified in /etc/sysconfig/network file (unless
> NETWORKING
> >> > is set to "no"). What actually is in /etc/HOSTNAME is not that
> important.
> >> > Even if you are using DHCP it is hard to imagine that your ISP is
> that
> >> > "smart" that it rewrites your sysconfig files.
> >>
> >> I don't think the ISP is writing to this file. I think there is
> >> something internally wrong with my set up.
> >>
> >> I checked both files you referred to:
> >>
> >> /etc/sysconfig/network is:
> >>
> >> NETWORKING=YES
> >> FORWARD_IPV4=NO
> >> HOSTNAME=localhost.localdomain
> >> GATEWAYDEV=
> >> GATEWAY=
> >>
> >> /etc/rc.d/rc.sysinit includes the lines:
> >>
> >> if [ -f /etc/sysconfig/network ]; then
> >> . /etc/sysconfig/network
> >>
> >> else
> >> NETWORKING=no
> >> HOSTNAME=localhost
> >>
> >> This is what happens:
> >> I boot clean with "localhost.localdomain" in my /etc/HOSTNAME file.
> >> If I dial in to my ISP this file (etc/HOSTNAME) is changed as soon as
> I
> >> am logged in the ISP and have been assigned an IP address. (example
> >> a021.pm3-1.nwk.infinet.com)
> >> Taking that example if I open /etc/HOSTNAME after I log in to the ISP
> >> the file will read "a021.pm3-1.nwk.infinet.com" localhost.localdomain
> >> will not be in this file.
> >>
> >> If I open another terminal with ctl-alt-F2 then the login prompt will
> >> be:
> >> [jmd@a021 jmd]$
> >>
> >> I changed the permissions for /etc/HOSTNAME to 444 and it still wrote
> to
> >> the file.
> >>
> >>
> >> >I think that something is missing here from your story.
> >> >
> >> > BTW - your machine may have different names "internally" and
> "outside".
> >> > This is normal.
> >> >
> >> > Michal
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
1998-12-27 23:24 ` Tristan Colgate
@ 1998-12-27 23:28 ` Paul Tomblin
0 siblings, 0 replies; 12+ messages in thread
From: Paul Tomblin @ 1998-12-27 23:28 UTC (permalink / raw)
To: axp-list
Quoting Tristan Colgate (colgate@spods.dcs.kcl.ac.uk):
> I know the dhcp client does alter the network file, but if you are just
> using ppp to connect to an isp dhcpcd doesnt come into play. The IP is
> negotiaited by the pppd itself.
Well, actually the /etc/HOSTNAME file is changed by
/etc/sysconfig/network-scripts/ifup-post
whenever the process of bringing up the interface changed the IP, whether it
was done by dhcp or ppp. Since I had a static IP on my dial up account, and
dynamic IP on my cable modem, I assumed it was dhcp that did it, but I was
wrong.
I assume that if it bugs you, you can comment out the calls to set_hostname in
ifup and ifup-post.
--
Paul Tomblin, not speaking for anybody.
"But I heard him exclaim, as he climbed in the night
Merry Christmas to all, I have traffic in sight" - Phyllis Moses
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
1998-12-27 21:47 ` jmd
1998-12-27 22:06 ` Tristan Colgate
1998-12-27 22:40 ` Paul Tomblin
@ 1998-12-27 23:47 ` Michal Jaegermann
2 siblings, 0 replies; 12+ messages in thread
From: Michal Jaegermann @ 1998-12-27 23:47 UTC (permalink / raw)
To: axp-list
jmd wrote:
>
> > Even if you are using DHCP it is hard to imagine that your ISP is that
> > "smart" that it rewrites your sysconfig files.
>
> I don't think the ISP is writing to this file. I think there is
> something internally wrong with my set up.
Probably not. :-)
> /etc/sysconfig/network is:
>
> NETWORKING=YES
> FORWARD_IPV4=NO
> HOSTNAME=localhost.localdomain
^^^^^^
Hm, I would put something here; even if only for
an "internal" use.
> GATEWAYDEV=
> GATEWAY=
>
> /etc/rc.d/rc.sysinit includes the lines:
>
> if [ -f /etc/sysconfig/network ]; then
> . /etc/sysconfig/network
>
> else
> NETWORKING=no
> HOSTNAME=localhost
More important are lines below:
# Set the hostname.
hostname ${HOSTNAME}
echo hostname: `hostname`
> This is what happens:
> I boot clean with "localhost.localdomain" in my /etc/HOSTNAME file.
> If I dial in to my ISP this file (etc/HOSTNAME) is changed as soon as I
> am logged in the ISP and have been assigned an IP address. (example
> a021.pm3-1.nwk.infinet.com)
The above seems to mean that you are using DHCP protocol to lease
IP address and a name under which you are visible "outside".
> Taking that example if I open /etc/HOSTNAME after I log in to the ISP
> the file will read "a021.pm3-1.nwk.infinet.com" localhost.localdomain
> will not be in this file.
DHCP client writes a few files (like resolv.conf) usually in a private
directory, like /etc/dhcp/, and executes a setup script. It sounds
like this scripts overwrites your /etc/HOSTNAME file (which is not very
significant on its own anyway) with something probably from /etc/dhcp/.
Apparently it also performs some other actions. Why you would like to
have in /etc/HOSTNAME somethings like localhost.localdomain is beyond
my comprehension.
> If I open another terminal with ctl-alt-F2 then the login prompt will
> be:
> [jmd@a021 jmd]$
Prompt is set in your shell startup files (this depends on your login
shell - but assuming that this is bash these will be /etc/profile,
/etc/bashrc, ~/.bash_profile and ~/.bashrc). You will see there
something like 'PS1=.....' and /etc/HOSTNAME is not consulted in the
process unless you make it to; check for yourself by changing
a contents of /etc/HOSTNAME and opening new shell. BTW - I think that
a default prompt in Red Hat configuration is very bad choice.
You will find that pretty soon if you will try to check something
in your various 'bin' subdirectories. Not a very big deal as you can
change that any way you want.
>
> I changed the permissions for /etc/HOSTNAME to 444 and it still wrote to
> the file.
Not wrote but apparently replaced it with something else. That is
another, not equivalent, operation.
You are still not presenting the whole story. One has to guess what
you are really doing (dhcp and its setup). You also claimed that
a new name shows after the next boot. It is not clear how but your
computer is doing only what it was told to do.
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
1998-12-27 22:41 Designer 7
1998-12-27 23:24 ` Tristan Colgate
@ 1998-12-28 1:56 ` jmd
1 sibling, 0 replies; 12+ messages in thread
From: jmd @ 1998-12-28 1:56 UTC (permalink / raw)
To: axp-list
> Or how about this,... do a tail -f /etc/HOSTNAME or a watch -n 1
> /etc/HOSTNAME.... and watch exactly what happens as you logon to your
> ISP... then you'll know exactly what step of the ISP logon process is
> changing your HOSTNAME...
Thanks for all of the ideas. I wrote a script and when I did tail -f
/etc/HOSTNAME I got:
X(719): unaligned trap at ooooooo12022d8a4: 00000155564f7244 2d 8 (and 3
more)
then the change came.
ps -aux showed pid 719 to be /usr/X11R6/bin/Xwrapper owned by root. (I
am dialing in from a user not root)
> By the way, what's the big deal? Is this changing HOSTNAME screwing up
> some application that happens to use it?
It happens both with usernet from redhat and my own script. If this is
not a big problem I certainly can live with it. Not much of a security
problem as I don't log in often or for long periods. Rarely more than 15
to 20 mins at a time.
Thanks again
jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
@ 1998-12-28 2:35 Designer 7
0 siblings, 0 replies; 12+ messages in thread
From: Designer 7 @ 1998-12-28 2:35 UTC (permalink / raw)
To: axp-list
>> Or how about this,... do a tail -f /etc/HOSTNAME or a watch -n 1
>> /etc/HOSTNAME.... and watch exactly what happens as you logon to your
>> ISP... then you'll know exactly what step of the ISP logon process is
>> changing your HOSTNAME...
>Thanks for all of the ideas. I wrote a script and when I did tail -f
>/etc/HOSTNAME I got:
>
>X(719): unaligned trap at ooooooo12022d8a4: 00000155564f7244 2d 8 (and
3
>more)
>then the change came.
Uh.. hmm... okay... it seems like your X is giving some problems, but I
doubt that is directly related to your HOSTNAME concerns.
>
>ps -aux showed pid 719 to be /usr/X11R6/bin/Xwrapper owned by root. (I
>am dialing in from a user not root)
This I don't think has much to do with it... in fact, X should not have
anything to do with the networking.... You may have just discovered
another problem you may have... but unalignment errors are so common on
Alpha... especially with 32bit ported code.... I've been trying to fix a
dozen things in the last month or so....
>> By the way, what's the big deal? Is this changing HOSTNAME screwing
up
>> some application that happens to use it?
>
>It happens both with usernet from redhat and my own script. If this is
>not a big problem I certainly can live with it. Not much of a security
>problem as I don't log in often or for long periods. Rarely more than
15
>to 20 mins at a time.
I don't think a changing HOSTNAME is anything of a security problem. In
some sense, it is perhaps more secure, as a potential intruder can't
lock down on a target if you hostname/IP changes all the time.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: constantly changing /etc/HOSTNAME file
1998-12-27 22:40 ` Paul Tomblin
@ 1998-12-29 17:00 ` Maurice Hilarius
0 siblings, 0 replies; 12+ messages in thread
From: Maurice Hilarius @ 1998-12-29 17:00 UTC (permalink / raw)
To: axp-list
With regards to your message at 05:40 PM 12-27-98 -0500, Paul Tomblin.
Where you stated:
>Quoting jmd (jmd@infinet.com):
>> I boot clean with "localhost.localdomain" in my /etc/HOSTNAME file.
>> If I dial in to my ISP this file (etc/HOSTNAME) is changed as soon as I
>> am logged in the ISP and have been assigned an IP address. (example
>> a021.pm3-1.nwk.infinet.com)
>
>dhcp does this.
>
Not if you installed RH 5.2.
The DHCPCD is broken.. The one from 5.1 works OK, though..
Best regards,
Maurice W. Hilarius Telephone: 01-403-414-9319
Hard Data Ltd. FAX: 01-403-456-1510
11060 - 166 Avenue email:maurice@harddata.com
Edmonton, AB, Canada - T5X 1Y3 http://www.harddata.com
NOTE: January 25, 1999, new telephone numbers _AND_ area code:
Telephone: 01-780-456-9771
FAX: 01-780-456-9772
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1998-12-29 17:15 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-28 2:35 constantly changing /etc/HOSTNAME file Designer 7
-- strict thread matches above, loose matches on Subject: below --
1998-12-27 22:41 Designer 7
1998-12-27 23:24 ` Tristan Colgate
1998-12-27 23:28 ` Paul Tomblin
1998-12-28 1:56 ` jmd
1998-12-26 20:08 jmd
1998-12-26 20:32 ` Michal Jaegermann
1998-12-27 21:47 ` jmd
1998-12-27 22:06 ` Tristan Colgate
1998-12-27 22:40 ` Paul Tomblin
1998-12-29 17:00 ` Maurice Hilarius
1998-12-27 23:47 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox