This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 7519 - zic produces bad symlink
zic produces bad symlink
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
6.0
All Linux
medium Severity low
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-12-02 17:01 EST by adam
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-24 18:37:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description adam 1999-12-02 17:01:12 EST
After using zic to change timezones, my system date was messed up.  This
also had interactions with cron, and probably other stuff.  The workaround
is obviously to give a full pathname to zic.

I rated this as a glibc problem because rpm -q -f `which zic' reports
glibc-2.1.1-6

% date
Thu Dec  2 16:50:06 /etc/localtime 1999
/* Well, thats a bogus time of day */

# zic -l Canada/Eastern
"command line", line 1: warning: hard link failed, symbolic link used

# ls -l /etc/localtime
lrwxrwxrwx   1 root     root           17 Dec  2 16:55 /etc/localtime ->
../Canada/Eastern

# zic -l /usr/share/zoneinfo/Canada/Eastern
"command line", line 1: warning: hard link failed, symbolic link used

# ls -l /etc/localtime
lrwxrwxrwx   1 root     root           37 Dec  2 11:56 /etc/localtime ->
..//usr/share/zoneinfo/Canada/Eastern
Comment 1 Cristian Gafton 2000-05-22 10:52:59 EDT
assign to jakub
Comment 2 Stephen John Smoogen 2003-01-24 18:37:29 EST
Bug 7519 seems to have been fixed since 6.0 either in newer versions of glibc or
other means. It is recommended to use the redhat tools for changing the timezone.

Note You need to log in before you can comment on or make changes to this bug.