Summary: | VIMAGE jail: ifa_maintain_loopback_route: deletion failed for interface lo0: 48 | ||
---|---|---|---|
Product: | Base System | Reporter: | Marie Helene Kvello-Aune <freebsd> |
Component: | kern | Assignee: | Eugene Grosbein <eugen> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | eugen, kp |
Priority: | --- | Keywords: | vimage |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223129 |
Description
Marie Helene Kvello-Aune
2017-09-27 16:14:18 UTC
Okay, so this happens during this: When destroying a vnet jail: 1 57808 ifa_del_loopback_route:entry kernel`in6_purgeaddr+0x33 kernel`ip6_destroy+0x142 kernel`vnet_destroy+0x12c kernel`prison_deref+0x29c kernel`taskqueue_run_locked+0x15d kernel`taskqueue_thread_loop+0x88 kernel`fork_exit+0x84 kernel`0xffffffff80ef1b3e Basically, ifa_del_loopback_route tries to delete the ::1 route on lo0 (in the vnet jail) and can't because this route is RTF_PINNED. I'm not sure I fully understand what that all implies, so I'm hesitant to change anything. I'm pretty sure this is mostly harmless though. The root of this problem seems to be the same as of another problem described in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223129 Please try applying patch attached to PR 223129, then rebuild/boot new kernel. It should help. A commit references this bug: Author: eugen Date: Sun Nov 5 14:41:49 UTC 2017 New revision: 325436 URL: https://svnweb.freebsd.org/changeset/base/325436 Log: Allow a process to assign an IP address to local ppp interface even if kernel routing table already has a route to the address in question installed by some routing daemon (PR 223129). Also, allow loopback route deletion when stopping a VIMAGE jail (PR 222647). PR: 222647, 223129 Reviewed by: gnn Approved by: avg (mentor), mav (mentor) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D12747 Changes: head/sys/net/if.c A commit references this bug: Author: eugen Date: Mon Nov 20 09:23:09 UTC 2017 New revision: 326011 URL: https://svnweb.freebsd.org/changeset/base/326011 Log: MFC r325436: RTF_PINNED for an interface Allow a process to assign an IP address to local ppp interface even if kernel routing table already has a route to the address in question installed by some routing daemon (PR 223129). Also, allow loopback route deletion when stopping a VIMAGE jail (PR 222647). PR: 222647, 223129 Reviewed by: gnn Approved by: mav (mentor) Differential Revision: https://reviews.freebsd.org/D12747 Changes: _U stable/11/ stable/11/sys/net/if.c A commit references this bug: Author: eugen Date: Mon Nov 20 09:24:02 UTC 2017 New revision: 326012 URL: https://svnweb.freebsd.org/changeset/base/326012 Log: MFC r325436: RTF_PINNED for an interface Allow a process to assign an IP address to local ppp interface even if kernel routing table already has a route to the address in question installed by some routing daemon (PR 223129). Also, allow loopback route deletion when stopping a VIMAGE jail (PR 222647). PR: 222647, 223129 Reviewed by: gnn Approved by: mav (mentor) Differential Revision: https://reviews.freebsd.org/D12747 Changes: _U stable/10/ stable/10/sys/net/if.c Feedback timeout. Additionally, this is believed to be fixed with r325436 and following MFCs r326011 and r326012. If not, feel free to reopen this PR. |