to store persistent /data/etc and /data/log directories
fix: overly broad sed scripts on clamd.conf
rework filesystem mounts
goals: simplify, make more explicit, make more flexible
instead of mount += lines in jail.conf, a single mount.fstab=$data/etc/fstab setting
previously: information about "special" fstab mounts was embedded in functions in mail-toaster.sh and in the provision scripts.
now: a custom $data/etc/fstab file is generated for each jail. The data fs is mounted automatically, any extra filesystems must be added as fstab entries within the provision script as JAIL_FSTAB.
for staging, a sed script rewrites $data/etc/fstab to $data/etc/fstab.stage
mount +=
lines in jail.conf, a singlemount.fstab=$data/etc/fstab
setting$data/etc/fstab
file is generated for each jail. The data fs is mounted automatically, any extra filesystems must be added as fstab entries within the provision script as JAIL_FSTAB.$data/etc/fstab
to$data/etc/fstab.stage
TODO