https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210197

            Bug ID: 210197
           Summary: tzsetup fails to update /var/db/zoneinfo in certain
                    invocations
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: alcarithe...@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
`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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to