diff options
author | smh <smh@FreeBSD.org> | 2016-06-01 15:39:11 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2016-06-01 15:39:11 +0000 |
commit | 25142bca39748a7b915f04f1eb2c60574acbc556 (patch) | |
tree | 2e26aee88c077b2703a568fd94ef40a37ee8ca4d /lib/libthr/thread/thr_printf.c | |
parent | 6b8af183139393d1cbed75c59882de89a48edb90 (diff) | |
download | FreeBSD-src-25142bca39748a7b915f04f1eb2c60574acbc556.zip FreeBSD-src-25142bca39748a7b915f04f1eb2c60574acbc556.tar.gz |
Fix tzsetup not installing /etc/localtime for UTC
If tzsetup UTC is run then it successfully configured the system for UTC
including installing /etc/localtime however if the user ran just tzsetup
for interactive configuration and select UTC no /etc/localtime was installed
which resulted in failures for utilities which require said file.
Change set_zone_utc to call install_zoneinfo("UTC") to ensure that
/etc/localtime is created for interactive UTC selection.
Users who have previously run tzsetup in interactive mode and select UTC
can install the missing /etc/localtime by running tzsetup -r.
Also correct static miss-match for set_zone_utc.
MFC after: 2 weeks
Relnotes: Yes
Sponsored by: Multiplay
Diffstat (limited to 'lib/libthr/thread/thr_printf.c')
0 files changed, 0 insertions, 0 deletions