[Bug 306567] New: timezone update released via YOU is broken
https://bugzilla.novell.com/show_bug.cgi?id=306567 Summary: timezone update released via YOU is broken Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: openSUSE 10.2 Status: NEW Severity: Normal Priority: P5 - None Component: Maintenance AssignedTo: pbaudis@novell.com ReportedBy: crrodriguez@novell.com QAContact: qa@suse.de Found By: Development rpm -Uvh http://ftp-1.gwdg.de/pub/suse/update/10.2/rpm/x86_64/timezone-2.5-34.3.x86_6... --force Retrieving http://ftp-1.gwdg.de/pub/suse/update/10.2/rpm/x86_64/timezone-2.5-34.3.x86_6... Preparing... ########################################### [100%] 1:timezone warning: /etc/localtime created as /etc/localtime.rpmnew ########################################### [100%] cp: `/usr/share/zoneinfo/Chile/Continental' and `/etc/localtime' are the same file error: %post(timezone-2.5-34.3.x86_64) scriptlet failed, exit status 1 (same error with any package manager) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=306567#c7 Harald Mueller-Ney <hmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|hmuelle@novell.com | --- Comment #7 from Harald Mueller-Ney <hmuelle@novell.com> 2007-08-31 01:51:21 MST --- I assume this issue is fixed changing the postscript to: [ /usr/share/zoneinfo/$TIMEZONE -ef /etc/localtime ] || cp /usr/share/zoneinfo/$TIMEZONE /etc/localtime We should submit this already and after first QA results check it in immediately. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=306567#c8 --- Comment #8 from Michael Schröder <mls@novell.com> 2007-08-31 11:22:49 MST --- Actually I think this code also wrong. Say a user has linked some different timezone into /etc/localtime (without updating sysconfig). Then your postinstall script will *overwrite* the linked timezone file, which is bad. The right approach is IMHO: cp -l /usr/share/zoneinfo/$TIMEZONE /etc/localtime.$$ 2>/dev/null || cp -f /usr/share/zoneinfo/$TIMEZONE /etc/localtime.$$ mv /etc/localtime.$$ /etc/localtime -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=306567#c9 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #9 from Petr Baudis <pbaudis@novell.com> 2007-08-31 17:25:44 MST --- Thanks, that's a good point. I've updated the specfile for SLES9 again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=306567#c11 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Petr Baudis <pbaudis@novell.com> 2007-09-09 08:09:57 MST --- New timezone updates should be released by now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com