Bug 281332 - tzsetup creates broken symlink after 5e16809c953f (main) and fc43a1b6842a (stable/14)
Summary: tzsetup creates broken symlink after 5e16809c953f (main) and fc43a1b6842a (st...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Ed Maste
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-09-07 08:17 UTC by Herbert J. Skuhra
Modified: 2024-09-20 14:59 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert J. Skuhra 2024-09-07 08:17:20 UTC
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
Comment 1 Joseph Mingrone freebsd_committer freebsd_triage 2024-09-20 14:59:07 UTC
There is some context at https://reviews.freebsd.org/D37005.