tzsetup creates a broken symlink when using with -C option (e.g make installworld DESTDIR=$X). e.g: # jexec -l 1 date Sat Sep 7 10:13:19 CEST 2024 # ls -l /jails/mail/etc/localtime lrwxr-xr-x 1 root wheel 33 Sep 7 10:13 /jails/mail/etc/localtime -> /usr/share/zoneinfo/Europe/Berlin # tzsetup -C /jails/mail -r # ls -l /jails/mail/etc/localtime lrwxr-xr-x 1 root wheel 45 Sep 7 10:14 /jails/mail/etc/localtime -> /jails/mail//usr/share/zoneinfo/Europe/Berlin # jexec -l 1 date Sat Sep 7 08:14:45 UTC 2024 Details here: https://lists.freebsd.org/archives/freebsd-current/2024-September/006355.html https://lists.freebsd.org/archives/dev-commits-src-all/2024-August/044194.html
There is some context at https://reviews.freebsd.org/D37005.