Patch: make the jail(8) command set the jid parameter

2013-10-18 Thread Dirk Engling
Hello, I've created a patch to the jail command that allows statements like exec.poststart = "touch /startjailid_${jid}"; exec.prestop = "touch /stopjailid_${jid}"; in a jail.conf work as expected, even if the jid is not specified there, i.e. for jails without a pinned jid. It works by splittin

Allowing meta-namespace in jail.conf

2013-10-18 Thread Dirk Engling
Dear jail enthusiasts, in order to move forward with my jail management project ezjail, and make it support the new jail.conf way of managing jail configs, I need a way to add properties to jails that are currently not in the list of allowed parameters. I was thinking of something like web-jail {