modprobe -Q is not 'silent enough' / ifup is too picky about return status.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Bug Description
Binary package hint: module-init-tools
In order to demonstrate this bug, all which is required is a kernel with IPv6 support compiled in, and an installation of Ubuntu Feisty Fawn.
Setup IPv6 parameters on an interface (does not need be 'live', junk will work):
auto eth1
iface eth1 inet static
address 10.0.0.177
netmask 255.255.255.0
gateway 10.0.0.1
iface eth1 inet6 static
address 2001:470:
netmask 80
gateway 2001:470:
Now, bring the interface up with verbosity on:
ifup -v eth1
It will fail, and the spot will be unknown.
ifup -nv eth1
This will show it fails on 'modprobe -Q ipv6'
Modprobe is returning a 'false' status, causing ifup to fail, consequently, IPv6 configuration on the interface fails.
I file this under module-init-tools because the -Q option is intended to be entirely silent, so a false return value, in my opinion, contradicts this objective operating mode, and should not occur. (In theory, modprobe -Q where-are-my-pants should return 0, in my opinion.)
Related branches
Changed in module-init-tools: | |
importance: | Undecided → Wishlist |
Changed in module-init-tools: | |
assignee: | nobody → apw |
status: | New → In Progress |
this patch removes the 'modprobe -Q ipv6' action from ifupdown, and updates the default gateway to 2000::/3 from ::/0