Description of problem:
I had locally made /etc/localtime a symlink to /usr/share/zoneinfo/America/New_York because the Evolution calendar prefers this format. I used system-config-date to change the timezone to America/Los_Angeles, and it apparently wrote through the symlink at /etc/localtime and corrupted /usr/share/zoneinfo/America/New_York. It should be smart enough to replace the symlink in that case.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
2. Change the timezone to something else with system-config-date.
3. rpm -Vf /usr/share/zoneinfo/America/New_York
system-config-date updates /etc/localtime using slip.util.files.linkorcopyfile from python-slip, which calls realpath on the destination path. That behavior clearly isn't what system-config-date wants, but I can't speak to what behavior is best for python-slip in general.
Created attachment 432751 [details]
Wrapper script to warn about this bug
I installed the attached script at /usr/local/bin/system-config-date to make sure I don't get burned by this issue again. Other users might wish to do the same.
This is a problem in python-slip.
python-slip-0.2.12-1.fc14 has been submitted as an update for Fedora 14.
python-slip-0.2.12-1.fc12 has been submitted as an update for Fedora 12.
python-slip-0.2.12-1.fc13 has been submitted as an update for Fedora 13.
python-slip-0.2.12-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update python-slip'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/python-slip-0.2.12-1.fc13
python-slip-0.2.13-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
python-slip-0.2.13-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
python-slip-0.2.13-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.