Bug 255596 - ifconfig move interface with inet address to vnet jail panics kernel
Summary: ifconfig move interface with inet address to vnet jail panics kernel
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.0-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-04 15:34 UTC by Gijs Peskens
Modified: 2021-05-05 15:17 UTC (History)
2 users (show)

See Also:


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 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?