On 10/29/2009 04:03 PM Dave wrote:
On Thu, Oct 29, 2009 at 9:00 AM, Meenoo Shivdasani mee...@gmail.com
mailto:mee...@gmail.com wrote:
BOOTPROTO=bootp is triggering it.
I'm confused. I just rebooted another machine with 'BOOTPROTO=bootp' in
/etc/sysconfig/network-scripts/ifup-eth,
ken wrote:
On 10/29/2009 04:03 PM Dave wrote:
On Thu, Oct 29, 2009 at 9:00 AM, Meenoo Shivdasani mee...@gmail.com
mailto:mee...@gmail.com wrote:
BOOTPROTO=bootp is triggering it.
I'm confused. I just rebooted another machine with 'BOOTPROTO=bootp' in
The consensus of the list seemed to be that I should change the PEERDNS
variable. It seems not to be working. The machine rebooted yesterday,
/etc/resolv.conf got rewritten again. And yet:
find /etc/sysconfig/ -type f -exec grep -iH 'peerdns=' {} \;
/etc/sysconfig/network-scripts/ifup-eth: BOOTPROTO=bootp
So, it's not PEERDNS, not DHCP, not NetworkManager. Why is dhclient-script
even being run?
BOOTPROTO=bootp is triggering it.
In /etc/sysconfig/network-scripts/ifup-eth:
if [ ${BOOTPROTO} = bootp -o ${BOOTPROTO} = dhcp ]; then
On Thu, Oct 29, 2009 at 9:00 AM, Meenoo Shivdasani mee...@gmail.com wrote:
BOOTPROTO=bootp is triggering it.
I'm confused. I just rebooted another machine with 'BOOTPROTO=bootp' in
/etc/sysconfig/network-scripts/ifup-eth, it did not rewrite
/etc/resolv.conf.
Okay, my goof, the one with the
Dave wrote:
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient. The only package I have installed that shows up in
rpm -qa|grep -i dhcp is dhcpv6-client-1.0.10-16.el5, and nothing in
there
Hi,
One option would be to comment out the make_resolv_conf() function in
/sbin/dhclient-script.
btw. a more common way would be to create a /etc/dhclient-enter-hooks
with the following content:
make_resolv_conf(){
:
}
Best Regards
Marcus
Dave wrote:
On Thu, Oct 8, 2009 at 11:44 AM, Craig White craigwh...@azapple.com wrote:
On Thu, 2009-10-08 at 11:19 -1000, Dave wrote:
[r...@lee1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
[snip]
PEERDNS=yes
- ^^^
change to PEERDNS=no
What man page would tell me what this
I haven't been following this thread very closely since my last post, but
if you want to know who is doing what ... use auditctl.
http://kbase.redhat.com/faq/docs/DOC-10108
Barry
___
CentOS mailing list
CentOS@centos.org
On Thu, Oct 8, 2009 at 2:20 PM, Ray Van Dolson ra...@bludgeon.org wrote:
On Thu, Oct 08, 2009 at 01:32:39PM -1000, Dave wrote:
Wow, there it is. I guess I could've found it by doing a careful
search of the initscripts package, which contains/owns
/etc/sysconfig/network-scripts/ifcfg-eth0,
On Thu, Oct 8, 2009 at 11:40 PM, Marcelo M. Garcia
marcelo.maia.gar...@googlemail.com wrote:
Is network-manager enabled?
No.
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
On Thu, Oct 8, 2009 at 2:54 PM, Joseph L. Casale
jcas...@activenetwerx.com wrote:
Just one of those things you kind of pick up as you go along and
remember. Tribal knowledge if you will.
There's two pdf's and one command I use often :)
The redhat 5.3 deployment and installation pdf's (or the
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient. The only package I have installed that shows up in
rpm -qa|grep -i dhcp is dhcpv6-client-1.0.10-16.el5, and nothing in
there is named
On Thu, Oct 8, 2009 at 10:41 AM, Dave tdbtdb+cen...@gmail.com wrote:
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient. The only package I have installed that shows up in
rpm -qa|grep -i
On Thu, Oct 8, 2009 at 1:41 PM, Dave tdbtdb+cen...@gmail.com wrote:
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient. The only package I have installed that shows up in
rpm -qa|grep -i
Maybe it overwritten by NetworkManager?
On Thu, Oct 8, 2009 at 9:41 PM, Dave
tdbtdb+cen...@gmail.comtdbtdb%2bcen...@gmail.com
wrote:
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient. The
On Thu, Oct 8, 2009 at 7:52 AM, Sergey Smirnov
sergey.a.smir...@gmail.com wrote:
Maybe it overwritten by NetworkManager?
I almost wish.
[root@ ~]# /etc/init.d/NetworkManager status
NetworkManager is stopped
[root@ ~]# chkconfig --list|grep Netw
NetworkManager 0:off 1:off 2:off 3:off
I almost wish.
Add a PEERDNS=no to your ifcfg file.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
about dhcpclient. The only package I have installed that shows up in
It's called dhclient, so searching for dhcp won't give you a hit on
that.
chkconfig for dhclient too, and see what that results.
Also, look at /etc/sysconfig/network-scripts/ifcfg-eth0.
It's possible to have addresses
Dave wrote:
On Thu, Oct 8, 2009 at 7:52 AM, Sergey Smirnov
sergey.a.smir...@gmail.com wrote:
Maybe it overwritten by NetworkManager?
I almost wish.
[root@ ~]# /etc/init.d/NetworkManager status
NetworkManager is stopped
[root@ ~]# chkconfig --list|grep Netw
NetworkManager 0:off
Meenoo Shivdasani wrote:
One option would be to comment out the make_resolv_conf() function in
/sbin/dhclient-script.
That's the last-ditch solution. Never use it, unless everything else fails.
--
Florin Andrei
http://florin.myip.org/
___
Dave wrote:
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient. The only package I have installed that shows up in
What happens when you do this:
grep BOOTPROTO
Clint Dilks wrote:
Try adding PEERDNS=no to /etc/sysconfig/network :)
aw, man :)
This is not fixing the leaking faucet. It's hammering the water pipe
shut instead.
--
Florin Andrei
http://florin.myip.org/
___
CentOS mailing list
Dave wrote:
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient.
Is that dhcpclient, or dhclient?
The only package I have installed that shows up in
rpm -qa|grep -i dhcp is
aw, man :)
This is not fixing the leaking faucet. It's hammering the water pipe
shut instead.
Huh, what r u talking about? This is the right way to do this.
Check the deployment docs on network scripts.
___
CentOS mailing list
CentOS@centos.org
On Thu, Oct 8, 2009 at 9:49 AM, Spiro Harvey sp...@knossos.net.nz wrote:
chkconfig for dhclient too, and see what that results.
[root@ ~]# chkconfig --list|grep -e dh -e clie
[root@ ~]#
Also, look at /etc/sysconfig/network-scripts/ifcfg-eth0.
[r...@lee1 ~]# cat
On Thu, Oct 8, 2009 at 10:10 AM, Florin Andrei flo...@andrei.myip.org wrote:
What happens when you do this:
grep BOOTPROTO /etc/sysconfig/network-scripts/ifcfg-*
grep BOOTPROTO /etc/sysconfig/network-scripts/ifcfg-*
/etc/sysconfig/network-scripts/ifcfg-eth0:BOOTPROTO=none
Dave
You guessed right. But the question remains, what software is writing the
file?
/etc/init.d/network calls /etc/sysconfig/network-scripts/ifup which
calls /sbin/dhclient which calls /sbin/dhclient-script which
overwrites your resolv.conf with the info it gets from the DHCP server
on the
On Thu, Oct 8, 2009 at 11:27 AM, Meenoo Shivdasani mee...@gmail.com wrote:
/etc/init.d/network calls /etc/sysconfig/network-scripts/ifup which
calls /sbin/dhclient which calls /sbin/dhclient-script which
overwrites your resolv.conf with the info it gets from the DHCP server
on the network.
Joseph L. Casale wrote:
aw, man :)
This is not fixing the leaking faucet. It's hammering the water pipe
shut instead.
Huh, what r u talking about? This is the right way to do this.
Check the deployment docs on network scripts.
Yes, I know the docs. What I was saying is - it will not help
On Thu, 2009-10-08 at 11:19 -1000, Dave wrote:
On Thu, Oct 8, 2009 at 9:49 AM, Spiro Harvey sp...@knossos.net.nz wrote:
chkconfig for dhclient too, and see what that results.
[root@ ~]# chkconfig --list|grep -e dh -e clie
[root@ ~]#
Also, look at
Yes, I know the docs. What I was saying is - it will not help finding
the cause, which is what the OP requested. It will just make the problem
go away.
Uhm, am I missing something? It *is* the cause?
Its designed to do just what it's doing, and here's a real shocker, it's doing
it:)
On Thu, Oct 8, 2009 at 11:44 AM, Craig White craigwh...@azapple.com wrote:
On Thu, 2009-10-08 at 11:19 -1000, Dave wrote:
[r...@lee1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
[snip]
PEERDNS=yes
- ^^^
change to PEERDNS=no
What man page would tell me what this means? How
On Thu, Oct 8, 2009 at 10:29 AM, Florin Andrei flo...@andrei.myip.org wrote:
What is the output of these commands?
rpm -qa | grep dhc
# to see what's actually installed as a package
rpm -qa | grep dhc
dhcpv6-client-1.0.14-1.fc9.x86_64
libdhcp4client-4.0.0-22.fc9.x86_64
Dave wrote:
[r...@lee1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:18:8b:0f:ad:c2
IPADDR=1[snip]0
ONBOOT=yes
DHCP_HOSTNAME=[snip]
DNS1=1[snip]0
DNS2=1[snip].2
Quoting Dave tdbtdb+cen...@gmail.com:
On Thu, Oct 8, 2009 at 11:44 AM, Craig White craigwh...@azapple.com wrote:
On Thu, 2009-10-08 at 11:19 -1000, Dave wrote:
[r...@lee1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
[snip]
PEERDNS=yes
- ^^^
change to PEERDNS=no
What
On Thu, Oct 8, 2009 at 5:39 PM, Dave tdbtdb+cen...@gmail.com wrote:
On Thu, Oct 8, 2009 at 11:27 AM, Meenoo Shivdasani mee...@gmail.com wrote:
/etc/init.d/network calls /etc/sysconfig/network-scripts/ifup which
calls /sbin/dhclient which calls /sbin/dhclient-script which
overwrites your
Joseph L. Casale wrote:
Yes, I know the docs. What I was saying is - it will not help finding
the cause, which is what the OP requested. It will just make the problem
go away.
Uhm, am I missing something? It *is* the cause?
Its designed to do just what it's doing, and here's a real shocker,
On Thu, Oct 8, 2009 at 11:50 AM, Dave tdbtdb+cen...@gmail.com wrote:
On Thu, Oct 8, 2009 at 10:29 AM, Florin Andrei flo...@andrei.myip.org wrote:
What is the output of these commands?
rpm -qa | grep dhc
# to see what's actually installed as a package
rpm -qa | grep dhc
At Thu, 8 Oct 2009 07:41:33 -1000 CentOS mailing list centos@centos.org wrote:
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient. The only package I have installed that shows up in
rpm
At Thu, 08 Oct 2009 14:54:36 -0700 CentOS mailing list centos@centos.org
wrote:
Dave wrote:
[r...@lee1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:18:8b:0f:ad:c2
At Thu, 8 Oct 2009 11:19:18 -1000 CentOS mailing list centos@centos.org wrote:
On Thu, Oct 8, 2009 at 9:49 AM, Spiro Harvey sp...@knossos.net.nz wrote:
chkconfig for dhclient too, and see what that results.
[root@ ~]# chkconfig --list|grep -e dh -e clie
[root@ ~]#
Also, look at
On Thu, Oct 8, 2009 at 1:04 PM, Robert Heller hel...@deepsoft.com wrote:
Is NetworkManager running? If so, stop it:
/etc/init.d/NetworkManager status
NetworkManager is stopped
mahalo,
Dave
___
CentOS mailing list
CentOS@centos.org
On Thu, Oct 8, 2009 at 11:57 AM, Barry Brimer li...@brimer.org wrote:
Quoting Dave tdbtdb+cen...@gmail.com:
On Thu, Oct 8, 2009 at 11:44 AM, Craig White craigwh...@azapple.com wrote:
On Thu, 2009-10-08 at 11:19 -1000, Dave wrote:
[r...@lee1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
On Thu, Oct 8, 2009 at 1:04 PM, Robert Heller hel...@deepsoft.com wrote:
At Thu, 08 Oct 2009 14:54:36 -0700 CentOS mailing list centos@centos.org
wrote:
Dave wrote:
BOOTPROTO=none
Shouldn't that be:
BOOTPROTO=static
My options (according to
On Thu, Oct 8, 2009 at 11:57 AM, Meenoo Shivdasani mee...@gmail.com wrote:
Are there any interfaces that have BOOTPROTO=dhcp? Perhaps one that's
not connected to the network?
grep BOOTPROTO /etc/sysconfig/network-scripts/ifcfg*
grep BOOTPROTO /etc/sysconfig/network-scripts/ifcfg*
On Thu, Oct 08, 2009 at 01:32:39PM -1000, Dave wrote:
On Thu, Oct 8, 2009 at 11:57 AM, Barry Brimer li...@brimer.org wrote:
Quoting Dave tdbtdb+cen...@gmail.com:
On Thu, Oct 8, 2009 at 11:44 AM, Craig White craigwh...@azapple.com
wrote:
On Thu, 2009-10-08 at 11:19 -1000, Dave wrote:
Just one of those things you kind of pick up as you go along and
remember. Tribal knowledge if you will.
There's two pdf's and one command I use often :)
The redhat 5.3 deployment and installation pdf's (or the online versions)
and:
# find /usr/share/doc/ -exec grep PEERDNS '{}' \; -print
On Fri, 2009-10-09 at 00:54 +, Joseph L. Casale wrote:
snip
Also:
man -K PEERDNS
But that's generally a slow and last ditch effort even after google:)
It also never helped with this string but its useful to know.
And don't forget to run makewhatis occasionally (if not automatically
On Thu, Oct 8, 2009 at 4:39 PM, Dave tdbtdb+cen...@gmail.com wrote:
On Thu, Oct 8, 2009 at 11:27 AM, Meenoo Shivdasani mee...@gmail.com wrote:
/etc/init.d/network calls /etc/sysconfig/network-scripts/ifup which
calls /sbin/dhclient which calls /sbin/dhclient-script which
overwrites your
50 matches
Mail list logo