could be red herring, but guess that error could really make nm not do
proper default route replace...

in nm-system.c:1043 you see the code that will give up trying to replace
the gateway in case the add_ip4_route_to_gateway call fails...


       /* Try adding a direct route to the gateway first */
        gw_route = add_ip4_route_to_gateway (parent_ifindex, ext_gw, 
parent_mss);
        if (!gw_route)
                goto out;

        /* Try adding the original route again */
        err = replace_default_ip4_route (ifindex, int_gw, mss);
        if (err != 0) {
                nm_netlink_route_delete (gw_route);
                nm_log_err (LOGD_DEVICE | LOGD_VPN | LOGD_IP4,
                            "(%s): failed to set IPv4 default route (pass #2): 
%d",
                            iface, err);
        } else
                success = TRUE;

out:
        if (gw_route)
                rtnl_route_put (gw_route);
        g_free (iface);

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307981

Title:
  [touch] randomly messed up routing with recent trusty images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1307981/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to