How to figure out which, if any, update changed /etc/localtime from a link to a hard file?

NoOp glgxg at sbcglobal.net
Sat Apr 18 00:03:25 UTC 2009


On 04/17/2009 04:43 PM, David M. Karr wrote:
> NoOp wrote:

>> 
>> How did you find the problem? It might be helpful to others if you can
>> provide a link/ref in case someone else runs into the same in the future.
> 
> The thread I started on c.l.j.p has some info about this: 
> <http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/dfa4f1e81bf06bc0/12da6b3f321c64d9#12da6b3f321c64d9>
> 
>> Interesting; none of my systems (hardy & intrepid) have /etc/localtime
>> symlinked. Now, usr/share/zoneinfo/localtime is a symlink *back* to
>> /etc/localtime.
> 
> Even stranger.
> 
> 

Not really - this might be of interest:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6456628
[(tz) Default timezone is incorrectly set occasionally on Linux]

The 'Workaround' states:
<quote>
Work Around  	

One more workaround is to use a symlink for /etc/localtime. But it might
cause some problems with Linux native code. Linux stopped using a
symlink several years ago.
</quote>

It's worth a read to the end.






More information about the ubuntu-users mailing list