freebsd / iocage

A FreeBSD jail manager
Other
24 stars 9 forks source link

Samba-4.19 cannot mount fdescfs in a iocage managed jail running freebsd-14.1 #15

Closed byrnejb closed 2 months ago

byrnejb commented 2 months ago

Make sure to follow and check these boxes before submitting an issue! Thank you.

Issue appears to be caused by iocage inability to set jail specific permissions for sysctls security.jail.mount_fdescfs_allowed and security.jail.param.allow.mount.fdescfs. These have been deprecated in favour of per-jail options. Adding these settings to iocage possibly may resolve this issue.

Also consider providing iocage with a generic method of manually adding settings not handled by the existing set command options.

byrnejb commented 2 months ago

Already fixed.

dgeo commented 2 months ago

I added support for this here: https://github.com/freebsd/iocage/commit/7c1fe5a02200bf03b8b518fcca62e97abb8b58a8