The following happens on reliably on my 10.3-RELEASE system. I attempted to change my time zone with `tzsetup /usr/share/zoneinfo/America/Los_Angeles` and discovered that /var/db/zoneinfo did not update. It updates correctly when I run the similar command `tzsetup -s America/Los_Angeles`, and when I select my timezone from the menu with `tzsetup`. Reproduction steps: Give the system a known timezone. I'll use "America/Santiago". # tzsetup -s America/Santiago # cat /var/db/zoneinfo America/Santiago # date +%Z CLT Pick a new timezone, such as "America/Los_Angeles". # tzsetup /usr/share/zoneinfo/America/Los_Angeles # press enter at both prompts Observe that /var/db/zoneinfo was not updated. # cat /var/db/zoneinfo America/Santiago Observe that the timezone did in fact change. # date +%Z PDT
Created attachment 171281 [details] output of `dtruss -n tzsetup` for the failing case terminal 1: dtruss -n tzsetup terminal 2: tzsetup /usr/share/zoneinfo/America/Los_Angeles
Created attachment 171282 [details] output of `dtruss -n tzsetup` for `tzsetup -s America/Los_Angeles` terminal 1: dtruss -n tzsetup terminal 2: tzsetup -s America/Los_Angeles
^Triage: to submitter: does this problem still recur on supported versions of FreeBSD?