bsdci / libioc

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

Use py-jail to attach jails with libc #684

Closed gronke closed 5 years ago

gronke commented 5 years ago

The native Python 3 libc bindings from py-jail are already used to query the jails JID and with #683 also to stop them.

Before moving on to map the ioc configuration to an Iovec structure, there should be unit tests in the py-jail project assuring that all jail parameters are typed correctly and lead to the expected results. After that, two things will be possible:

  1. Breaking up the start process into smaller events (JailHookPrestart, JailAttach, JailHookCreated, JailHookStart, JailHookPoststart)
  2. Modification of running jails will be possible
gronke commented 5 years ago

implemented in #690