View Issue Details

IDProjectCategoryView StatusLast Update
0000322My infrastructureGeneralpublic2025-09-18 12:17
Reporterdvl Assigned Todvl  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0000322: disable periodic scripts in /jail/freshports
DescriptionWe don't need the daily emails, or cron
TagsNo tags attached.

Activities

dvl

2025-09-18 12:16

manager   ~0000415

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"

dvl

2025-09-18 12:17

manager   ~0000416

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}';

dvl

2025-09-18 12:17

manager   ~0000417

That script is referenced by https://news.freshports.org/2025/03/27/updating-a-jail-by-replacing-it/

Issue History

Date Modified Username Field Change
2025-09-18 11:44 dvl New Issue
2025-09-18 11:44 dvl Status new => assigned
2025-09-18 11:44 dvl Assigned To => dvl
2025-09-18 12:16 dvl Note Added: 0000415
2025-09-18 12:17 dvl Note Added: 0000416
2025-09-18 12:17 dvl Note Added: 0000417