Re: [systemd-devel] [PATCH v9002 1/2] timedated: gather timezone from /etc/localtime sym target

2012-08-24 Thread shawn
On Thu, 2012-08-23 at 14:21 +0200, Frederic Crozat wrote: Le mardi 21 août 2012 à 23:11 -0700, Shawn Landden a écrit : @@ -218,19 +248,21 @@ static int write_data_timezone(void) { return r; } -p = strappend(/usr/share/zoneinfo/, tz.zone); +

Re: [systemd-devel] [PATCH v9002 1/2] timedated: gather timezone from /etc/localtime sym target

2012-08-23 Thread Frederic Crozat
Le mardi 21 août 2012 à 23:11 -0700, Shawn Landden a écrit : @@ -218,19 +248,21 @@ static int write_data_timezone(void) { return r; } -p = strappend(/usr/share/zoneinfo/, tz.zone); +p = strappend(ZONEINFO_PATH, tz.zone); if (!p)

[systemd-devel] [PATCH v9002 1/2] timedated: gather timezone from /etc/localtime sym target

2012-08-22 Thread Shawn Landden
/etc/localtime - /usr/share/zoneinfo/... or /etc/localtime - ../usr/share/zoneinfo/... (note, ../usr is not the same if /etc is a symlink, as this isn't using canonicalize_file_name()) keep other method for now, consider dropping later. Supporting relative links here are problematic as