Bug 490810 - Bringing up a 6to4 tunnel generates RTNETLINK error
Summary: Bringing up a 6to4 tunnel generates RTNETLINK error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 490796
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-18 06:51 UTC by Allen Kistler
Modified: 2014-03-17 03:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-28 21:44:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch for ifup-ipv6 if Bug 490796 is accepted (517 bytes, patch)
2009-03-18 06:51 UTC, Allen Kistler
no flags Details | Diff
Patch for ifup-ipv6 if Bug 490796 is ignored (729 bytes, patch)
2009-03-18 07:06 UTC, Allen Kistler
no flags Details | Diff

Description Allen Kistler 2009-03-18 06:51:21 UTC
Created attachment 335654 [details]
Patch for ifup-ipv6 if Bug 490796 is accepted

Description of problem:
Bringing up a 6to4 tunnel generates an error.
RTNETLINK answers: Cannot assign requested address

Version-Release number of selected component (if applicable):
initscripts-8.90-1.i586

How reproducible:
Always

Steps to Reproduce:
1. Configure a 6to4 tunnel
2. Bring up the physical interface to which the tunnel is tied
  
Actual results:
RTNETLINK answers: Cannot assign requested address

Expected results:
No error

Additional info:
The error is generated in /etc/sysconfig/network-scripts/ifup-ipv6 at the lines just after the comment (including the typo)

# Cleanup autmatically generated autotunnel (not needed for 6to4)

because the script assumes that the mask of the automatically assigned addresses is /128.  Although that used to be true (at least in F9 it is), with the version of /sbin/ip shipped with F11-Alpha, the mask is no longer /128.

There are two options.
1. Accept the patch in Bug 490796 and simply delete the offending line in
   ifup-ipv6 because it's no longer needed
2. Replace the line in ifup-ipv6 with code that deletes all IPv4 addresses
   correctly, including whatever their netmask is

I'll attach patches for both options.

Comment 1 Allen Kistler 2009-03-18 07:06:21 UTC
Created attachment 335656 [details]
Patch for ifup-ipv6 if Bug 490796 is ignored

Comment 2 Allen Kistler 2009-03-26 00:38:09 UTC
I got impatient and snagged kernel-2.6.29-2.fc11.i586 out of koji, which is the fix for Bug 490981.  (I figured the alternative was to wait another week until the beta would be released.)

With Bug 490981 fixed, this bug no longer exists.  I'll close it once the fix for Bug 490981 hits rawhide.

Comment 3 Allen Kistler 2009-03-28 21:44:08 UTC
Fixed via rawhide kernel-2.6.29-16.fc11.  Closing.


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