use timedated to monitor time zone changes
@walters
Submitted by Colin Walters Assigned to Desktop Maintainers
Link to original bug (#693675)
Description
`<poettering>` walters: it shouldn't do that... that's highly ineffecient
`<kay>` walters: re rely on the interfaces that change it
`<poettering>` walters: because you have to watch all of /etc
`<poettering>` walters: and if you don't watch all of /etc, then the inotify watch is borked
`<kay>` watching the entire /etc is madness
`<walters>` poettering, yeah: http://git.gnome.org/browse/gnome-desktop/tree/libgnome-desktop/gnome-wall-clock.c?id=c14b46f36e57e146e3aa64cf9a994acc656a7693
`<poettering>` walters: for now, the bus signal timedated sends out is the only sane thing to do
`<walters>` poettering, yeah, i'll file a bug about switching to that
`<poettering>` walters: that code appears very much broken
`<poettering>` walters: i presume this will only watch /etc/localtime, and then, when it is changed it won't watch it anymore, since timedated and friends do that atomically
Edited by Emmanuele Bassi