Bug 255596 - ifconfig: Panic when adding existing interface with inet address to vnet jail
Summary: ifconfig: Panic when adding existing interface with inet address to vnet jail
Status: Closed Not Enough Information
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.0-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-net (Nobody)
URL:
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2021-05-04 15:34 UTC by Gijs Peskens
Modified: 2021-05-14 07:54 UTC (History)
2 users (show)

See Also:
koobs: mfc-stable13?
koobs: mfc-stable12?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gijs Peskens 2021-05-04 15:34:10 UTC
During some testing I tried moving an interface with an IP configured on it into a vnet kernel, which paniced (I assume, since the machine rebooted) the kernel
Comment 1 Gijs Peskens 2021-05-05 14:52:40 UTC
(In reply to Gijs Peskens from comment #0)
Sigh I was tired when I typed this "vnet kernel" -> vnet jail.

i.e.:

create jail with vnet enabled, without interfaces
ifconfig epair create
ifconfig epair0b inet 1.2.3.4/24
ifconfig epair0b vnet yourjail
<PANIC>
Comment 2 Kristof Provost freebsd_committer freebsd_triage 2021-05-05 15:17:02 UTC
I'm unable to reproduce this. Do you have a crashdump, or at least a kernel panic message?
Comment 3 Kristof Provost freebsd_committer freebsd_triage 2021-05-14 07:54:44 UTC
There's not enough information here to debug. Please re-open when a reproduction scenario or a crash dump are available.