Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2015 04:39:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 197313] tzsetup(8): -C option displays UTC message to user
Message-ID:  <bug-197313-8@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: nick.frampton@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.



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