bastille
bastille copied to clipboard
Limits not working ?
Hello,
this is my initial journey with bastille, so this might be "RTFM" moment but I have to admit I have not found a lot in docs regarding limits.
So basically I added:
kern.racct.enable="1"
in /boot/loader.conf
than I simply tried something like:
bastille limits nginx3 memoryuse 4G
but limits are not aplied at all. Also on stop/start of jail I can see errors like:
rctl: failed to remove rule 'jail:nginx3:cpu:deny=1/jail': Invalid argument
rctl: failed to remove rule 'jail:nginx3:cpu:log=1/jail': Invalid argument
rctl: failed to remove rule 'jail:nginx3:cpuuse:deny=1/jail': Invalid argument
rctl: failed to remove rule 'jail:nginx3:cpuuse:log=1/jail': Invalid argument
This is on 13.1 FreeBSD and bastille 0.9.20220714
So what am I missing here and how can I fix it ?
ty.