[netctl] netctl-auto doesn't remove IPv6 routes on profile switch
Task Info (Flyspray) | |
---|---|
Opened By | Matthias Schiffer (NeoRaider) |
Task ID | 35638 |
Type | Bug Report |
Project | Arch Linux |
Category | Arch Projects |
Version | None |
OS | All |
Opened | 2013-06-04 10:23:23 UTC |
Status | Assigned |
Assignee | Jouke Witteveen (jouke) |
Details
Description: While netctl at least deletes IPv6 addresses when switching profiles since version 1.1, the corresponding default routes aren't touched, leading to broken routing when there's still a valid IPv6 address on another interface (and probably in other cases too).
There should:
- either
ip -6 route del default dev "$Interface"
be added to ip_unset - or disable_ipv6 be set to 1 and back to 0 on profile switch
I'd prefer solution 2 as it also takes care of the addresses (the explicit flush in ip_unset could be removed again), and works even when there are multiple routes on the interface in question.
Additional info:
- netctl 1.1-1