[Bug 210197] tzsetup fails to update /var/db/zoneinfo in certain invocations

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 10 22:31:15 UTC 2016


            Bug ID: 210197
           Summary: tzsetup fails to update /var/db/zoneinfo in certain
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: alcarithemad at gmail.com

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

Reproduction steps:

Give the system a known timezone. I'll use "America/Santiago".

# tzsetup -s America/Santiago
# cat /var/db/zoneinfo
# date +%Z

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

Observe that the timezone did in fact change.

# date +%Z

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list