[Bug 197313] tzsetup(8): -C option displays UTC message to user

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 4 04:39:13 UTC 2015


            Bug ID: 197313
           Summary: tzsetup(8): -C option displays UTC message to user
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: nick.frampton at akips.com

When no zoneinfo data is present on the running system, but is present in a
chroot environment, tzsetup -C incorrectly displays the message "Does the
abbreviation 'UTC' look reasonable?" regardless of the time zone selected.

tzsetup does not do a chroot(2) system call.  Instead, it simulates the effect
by prefixing all paths with the chroot environment.

The problem is that when tzsetup is going to verify your configuration, it
would use tzset(3), which does not respect the simulated chroot effect.  When
no zoneinfo data is present, everything would be considered as UTC.

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

More information about the freebsd-bugs mailing list