Bug 56293

Summary: network restart gives error message and networking does not work
Product: [Retired] Red Hat Linux Reporter: Joe Acosta <josepha48>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-15 19:05:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Acosta 2001-11-15 05:27:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012

Description of problem:
I was using redhat 7.1, my networking worked. I upgraded to 7.2 and now it
does not. I am using the tulip ethernet driver and it worked before.  It is
NOT a kernel issue.

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


How reproducible:
Always

Steps to Reproduce:
1.cd to /etc/init.d 
2. type ./network restart                 
Shutting down interface eth0:                              [  OK  ]
Shutting down interface ppp0:                              [  OK  ]
Disabling IPv4 packet forwarding:                          [  OK  ]
Setting network parameters:                                [  OK  ]
Bringing up interface lo:                                  [  OK  ]
Cannot open netlink socket: Address family not supported by protocol
Bringing up interface eth0:                                
	

Additional info:

added set -x in script and it seems that in the is_availble this is coming
up I think ..

+ ip -o link
+ grep -q eth0
Cannot open netlink socket: Address family not supported by protocol
+ '[' 1 = 1 '

Comment 1 Joe Acosta 2001-11-15 17:35:17 UTC
it is definately the ip -o link that is causing problems.  
The worst part is that it says OK to initializing the eth0 device but you cannot
ping the ip address that is supposed to be assigned to the device.

Comment 2 Bill Nottingham 2001-11-15 17:53:13 UTC
Did you recompile the kernel at all?

Comment 3 Joe Acosta 2001-11-15 19:05:44 UTC
Why do I need to recompile my kernel?  I am using 2.4.14, and I was using 2.4.14
with RH 7.1.  Why should that make a difference?  What changed that broke this?

Comment 4 Bill Nottingham 2001-11-15 19:16:21 UTC
You need CONFIG_NETLINK and CONFIG_RTNETLINK enabled in your kernel.
See the release notes.

*** This bug has been marked as a duplicate of 55846 ***

Comment 5 Joe Acosta 2001-11-16 04:38:44 UTC
This seems to have worked.