bsdci / libioc

A Python library to manage jails with ioc{age,ell}
https://bsd.ci/libioc
Other
38 stars 11 forks source link

Stop jails with libjail #683

Closed gronke closed 5 years ago

gronke commented 5 years ago

closes #679

# python3.6 . stop test
[+] JailStop@test: OK [0.284s]
  [+] JailHookPrestop@test: SKIPPED [0.0s]
  [+] JailHookStop@test: OK [0.133s]
  [+] JailRemove@test: OK [0.001s]
  [+] JailHookPoststop@test: OK [0.023s]
  [+] TeardownJailMounts@test: OK [0.083s]
  [+] JailResourceLimitAction@test: SKIPPED [0.001s]
test stopped
gronke commented 5 years ago

@urosgruber just spotted an issue removing VNET interfaces from jails. You should be aware of this for your testing. A unit test for this was added, but I still need to investigate why this does not work.