View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000321 | My infrastructure | General | public | 2025-09-17 19:16 | 2025-09-17 19:18 |
Reporter | dvl | Assigned To | dvl | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Summary | 0000321: FreshPorts - change to jail config | ||||
Description | From https://git.sr.ht/~dch/ansible-jails/tree/main/item/templates/instance.conf.j2.default?__goaway_challenge=meta-refresh&__goaway_id=7185a0e7780f44a3698cd6acd60bb649 Try using: exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown jail"; exec.timeout = 5; stop.timeout = 300; # move additional dataset into jails if defined {% if instance.zfs is defined %} exec.created+="/sbin/zfs jail {{ instance.name }} {{ instance.zfs }}"; {% endif %} {% if instance.tmp is defined %} exec.created+="test -c {{ instance_dir }}/tmp || mount -t tmpfs tmpfs {{ instance_dir }}/tmp"; exec.release+="umount -f {{ instance_dir }}/tmp"; {% endif %} {% if instance.zfs is defined %} exec.release+="umount -f {{ instance.zfs }}"; {% endif %} exec.release+="umount -f {{ instance_dir }}/dev/fd"; exec.release+="umount -f {{ instance_dir }}/dev"; exec.release+="logger -t jails removed {{ instance.name }}"; | ||||
Tags | No tags attached. | ||||