FreeBSD Bugzilla – Attachment 232736 Details for
Bug 262829
epair: New panic when destroying epair interface of vnet jail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Script to trigger epair panic
crash_epair.sh (text/plain), 315 bytes, created by
Michael Gmelin
on 2022-03-26 13:18:40 UTC
(
hide
)
Description:
Script to trigger epair panic
Filename:
MIME Type:
Creator:
Michael Gmelin
Created:
2022-03-26 13:18:40 UTC
Size:
315 bytes
patch
obsolete
>#!/bin/sh > >jname="myjail" > >while true; do > epair_a=$(ifconfig epair create) > epair_b=${epair_a%a}b > > jail -c vnet name="$jname" nopersist path=/ \ > host.hostname="$jname" vnet.interface="$epair_b" \ > command=sh -c "ifconfig $epair_b 10.1.2.1/24; sleep 0.1"& > pid=$! > ifconfig "$epair_a" destroy > wait $pid >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 262829
: 232736 |
232737
|
232738
|
232787