bsdci / libioc

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

check hostid on Jail.start when hostid_strict_check is enabled #653

Closed gronke closed 5 years ago

gronke commented 5 years ago

closes #634

When the JailConfig property hostid_strict_check is enabled, the jails hostid is matched against /etc/hostid on the host. libioc refuses to start Jails with mismatch in the values with a JailHostIdMismatch exception.