Bug 506195 - nash network fails to configure default gateway
Summary: nash network fails to configure default gateway
Keywords:
Status: CLOSED DUPLICATE of bug 501033
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-16 00:01 UTC by Ed Swierk
Modified: 2009-06-16 08:10 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-16 08:10:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fix nash network command to set the default gateway properly (423 bytes, patch)
2009-06-16 00:01 UTC, Ed Swierk
no flags Details | Diff

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 ***


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