Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interfaces handed to iocage jail don't get returned to the OS on jail stop #59

Open
chmeeedalf opened this issue Jan 24, 2025 · 2 comments
Milestone

Comments

@chmeeedalf
Copy link

I have a jail that is multi-homed, one interface being a VNET interface, the other interface being a VLAN that I hand into the jail. However, on iocage stop <jail> the interface is not returned to the host until what seems like a timeout kicks it out, about 15 minutes later.

Details of the jail:
Runs home assistant, the VLAN interface is for a private IoT network (host doesn't need to be on that network).

config.json has:

"interfaces": "vnet0:bridge0"
"vnet_default_interface": "dpni0",
"vnet_interfaces": "iot"

It's also possible something's wrong with my config.

@chmeeedalf
Copy link
Author

Looking closer, this looks to be something with the jail teardown, it's stuck in dying for that whole period. I don't know if there's a way to reap the jail forcibly, or do something else, to avoid this problem?

@dgeo
Copy link
Contributor

dgeo commented Jan 28, 2025

Thank you for reporting, I reproduced it, but didn't have time to find a proper solution now...
I'll take some more time this week

@dgeo dgeo added this to the next milestone Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants