Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2016 22:31:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 210197] tzsetup fails to update /var/db/zoneinfo in certain invocations
Message-ID:  <bug-210197-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210197

            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: alcarithemad@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/zonein=
fo
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 pro=
mpts

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210197-8>