After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 541058 - Support /etc and /usr on separate partitions
Support /etc and /usr on separate partitions
Status: RESOLVED FIXED
Product: gnome-system-tools
Classification: Deprecated
Component: s-t-b
2.22.x
Other All
: Normal normal
: ---
Assigned To: Carlos Garnacho
Depends on:
Blocks:
 
 
Reported: 2008-07-01 10:23 UTC by James Westby
Modified: 2009-08-19 08:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
path to symlink /etc/localtime (376 bytes, patch)
2008-07-01 10:24 UTC, James Westby
committed Details | Review

Description James Westby 2008-07-01 10:23:37 UTC
Please describe the problem:
Hi,

Attached is a patch from Steve Langasek to copy rather than symlink
/etc/localtime, as /etc and /usr may be on separate partitions.

Please consider applying it.

Thanks,

James


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 James Westby 2008-07-01 10:24:25 UTC
Created attachment 113770 [details] [review]
path to symlink /etc/localtime
Comment 2 Milan Bouchet-Valat 2009-08-18 22:40:29 UTC
I'd like to commit that patch, but I'm not sure it wouldn't have side-effects. What if the timezone is updated via a package upgrade, and /etc/localtime gets outdated on the long term? Just wondering...
Comment 3 James Westby 2009-08-18 22:55:47 UTC
Whatever changes the timezone should make sure that the places
are in sync. Yes, there is a race if they do it in opposite
orders, but that's just a flaw in the design of the system.

Thanks,

James
Comment 4 Milan Bouchet-Valat 2009-08-18 23:56:17 UTC
So you think that the package manager should take care of updating /etc/localtime with new data, and that it's OK for us to copy it? If so, I'll commit it tomorrow.
Comment 5 James Westby 2009-08-19 00:00:38 UTC
Yes, I believe that is the case.

Thanks,

James
Comment 6 Milan Bouchet-Valat 2009-08-19 08:50:01 UTC
Pushed as ef56d32ecfb3878733a84308bc17bb410f3a879c, thanks for the feedback. I'd rater ensure that upgrade tools are indeed updating the file - I'll let packagers know that it's required in the release notes.