View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000322 | My infrastructure | General | public | 2025-09-18 11:44 | 2025-09-18 12:17 |
Reporter | dvl | Assigned To | dvl | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Summary | 0000322: disable periodic scripts in /jail/freshports | ||||
Description | We don't need the daily emails, or cron | ||||
Tags | No tags attached. | ||||
|
I created Jail/files/etc/rc.conf.local[12:15 dvl-ingress01 dvl ~/scripts/Jail] % cat files/etc/rc.conf.local # FreshPorts jails do not need much. # They are used main to extract information from the # git repository. e.g. make -V PORTVERSION # syslogd_enable="NO" cron_enable="NO" |
|
That file will be installed in future jails by this script:[12:16 dvl-ingress01 dvl ~/scripts/Jail] % cat copy-scripts-into-jail.sh #!/bin/sh # moved away from a chroot to a proper jail JAILBASE=$1 /bin/cp -p scripts/*.sh ${JAILBASE} /bin/cp -p scripts/vars.sh.sample ${JAILBASE} /bin/cp -rp files/etc ${JAILBASE} echo This entry is required in scripts/config.sh: echo FRESHPORTS_JAIL_BASE_DIR=\"${JAILBASE}\" echo This entry is required in /usr/local/etc/freshports/config.pm echo \$FreshPorts::Config::JailBaseDir = '${JAILBASE}'; |
|
That script is referenced by https://news.freshports.org/2025/03/27/updating-a-jail-by-replacing-it/ |