On 25 July 2013 00:17, Szládovics Péter <[email protected]> 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.
>>
>> 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.
>
>
I agree with you on this.

I believe the Inverse Team can help resolve this instead of asking the
FreeBSD port maintainer to work out a kludge to resolve it. I just think
the system should be adapted to *BSDs when it comes to this check, or it
should read from sogo.conf.

In any case, I am CCing Jim Riggs on this. Hope he picks it up.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to