Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 7519 - zic produces bad symlink
Summary: zic produces bad symlink
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-12-02 22:01 UTC by adam
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
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

% 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 ->

# 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 ->

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.