Bug 506195

Summary: nash network fails to configure default gateway
Product: [Fedora] Fedora Reporter: Ed Swierk <eswierk>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: hdegoede, katzj, pjones, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-16 08:10:29 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:
Attachments:
Description Flags
Fix nash network command to set the default gateway properly none

Description Ed Swierk 2009-06-16 00:01:59 UTC
Created attachment 348033 [details]
Fix nash network command to set the default gateway properly

The nash network command in mkinitrd-6.0.86-2.fc11 fails to configure the default gateway when booting from an NFS server.

nashSetupInterface() calls rtnl_route_add(), which returns -3 (ESRCH), leaving the routing table without an entry for the default gateway.

The attached patch fixes the problem by setting the scope of the default route to RT_SCOPE_UNIVERSE.

Comment 1 Hans de Goede 2009-06-16 08:10:29 UTC
Hi we already have a bug tracking this, thanks for the patch!

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