exec.prepare

  1. L

    jails Question about ordering of 'exec.prepare' and 'mount.fstab' during jail creation

    Hello! I am unsure if my case is working as intended or is a bug, but consider the following jail config file: $ cat /etc/jail.conf.d/test-ordering.conf test-ordering { host.hostname = "${name}"; path = "/usr/local/jails/containers/${name}"; exec.prepare = "echo tmpfs...
  2. B

    jails Jail's fstab Inside Encrypted ZFS Dataset. Jail Fails to Launch

    Each jail's specific data lives inside its own dataset: zusr/$name. This includes the fstab, which (if the dataset is encrypted/unmounted), won't be available until zfs mount -l zusr/$name. Naturally, I thought that I could put some logic in exec.prepare, which performs this command before the...
Back
Top