mount_devfs doesn't work in jail

Yukimimi

Cadet
Joined
Jul 11, 2022
Messages
4
I'm trying to install ports/net/isc-dhcp44-server on TrueNAS-13.0-U1/Jail (13.1-RELEASE).
allow_mount and allow_mount_devfs are enabled.
But I got following error:
Code:
# service isc-dhcpd start
mount: devfs: Operation not permitted
/usr/local/etc/rc.d/isc-dhcpd: ERROR: unable to mount /var/db/dhcpd/dev

mount_devfs seems not working...

Any help would be appreciated.
Thanks.
 

Yukimimi

Cadet
Joined
Jul 11, 2022
Messages
4
Solved.
I should execute following commands.
Code:
iocage set enforce_statfs=1 myJailName


I could not find gui menu for enforce_statfs, so i've executed it on shell.

Thanks.
 
Top