Bug 7519 - zic produces bad symlink
Summary: zic produces bad symlink
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 6.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-12-02 22:01 UTC by adam
Modified: 2008-05-01 15:37 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2003-01-24 23:37:29 UTC


Attachments (Terms of Use)

Description adam 1999-12-02 22:01:12 UTC
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 14:52:59 UTC
assign to jakub

Comment 2 Stephen John Smoogen 2003-01-24 23:37:29 UTC
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.