[Sugar-devel] [PATCH sugar] Partial fix for GSM connection time (see SL#2992; fixes SL#1727)
Jerry Vonau
jvonau at shaw.ca
Fri Jan 20 12:54:30 EST 2012
On Fri, 2012-01-20 at 15:05 +0000, Daniel Drake wrote:
> On Mon, Jan 9, 2012 at 9:19 PM, Sascha Silbe <silbe at activitycentral.com> wrote:
> > Currently there seems to be no way to determine the connection time [4], so
> > as a partial fix we try to track the connection time ourselves. This will be
> > off in case Sugar gets restarted (or the connection established during boot
> > before Sugar is running), but is still better than being completely off in
> > _all_ cases.
>
Sorry for coming to the party late, but is this a result of using the
$TZ variable to alter sugar's environment?
> This looks great but I think you should file an upstream ticket about
> the connection.timestamp issue, and reference it in the code in a
> FIXME comment.
>
I'm thinking that NM is running in root's environment and will base its
calculations on what is in /etc/localtime. Do you think exporting $TZ
for root's environment would help correct this?
Jerry
More information about the Sugar-devel
mailing list