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.

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:

...............
access("/etc/timezone",4)             ERR#2 'No such file or directory'
access("/etc/sysconfig/clock",4)         ERR#2 'No such file or directory'
stat("/etc/localtime",{ mode=-r--r--r-- ,inode=17310898,size=253,blksize=16384 }) = 0 (0x0) lstat("/etc",{ mode=drwxr-xr-x ,inode=17310720,size=3072,blksize=16384 }) = 0 (0x0) lstat("/etc/localtime",{ mode=-r--r--r-- ,inode=17310898,size=253,blksize=16384 }) = 0 (0x0)
stat("/etc/GMT",0xbfbfe91c)             ERR#2 'No such file or directory'
................

When we created the /etc/timezone file by hand with correct content (like the sogo.conf setting above), the error message has gone.
I think the inverse team need to handle this in FreeBSD port of sogo.


Attachment: smime.p7s
Description: S/MIME kriptográfiai aláírás

Reply via email to