2013-07-25 18:06 keltezéssel, Giovanni Bechis írta:
On Wed, Jul 24, 2013 at 11:17:39PM +0200, Szl??dovics P??ter wrote:
2013-07-02 13:01 keltez??ssel, Odhiambo Washington ??rta:
Hello,

I have SOGoTimeZone = "Africa/Nairobi"; in sogo.conf

I enabled sogo-ealarms-notify in my cron and it keeps sending these:


2013-07-02 11:03:02.314 sogo-ealarms-notify[21090] No local time
zone specified.
2013-07-02 11:03:02.334 sogo-ealarms-notify[21090] Using time zone
with absolute offset 0.

This strictly FreeBSD related because works fine on OpenBSD

Do I need to specify the TZ in another file?
The reason of the problem:

sogo-ealarms-notify doesn't use that sogo.conf variable, just finds
the /etc/timezone and/or /etc/sysconfig/clock files, but they not
exist on FreeBSD.
I think it's a minor bug, because it found the /etc/localtime file,
but don't use it's contents...
Part of trace output:

This is the relevant bits of my ktrace output, localtime is a symlink to the 
correct zone file.

Yes, but only perhaps on OpenBSD... The /etc/localtime on Odhiambo's FreeBSD is a regular file. :(
So, it's real path doesn't help.

I think the most safe solution, if the sogo-ealarms-notify get the TZ info from the sogo.conf. It will work under every ports of sogo.

--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to