BackupPC-users

Re: [BackupPC-users] Getting files newer than error

2012-09-17 05:27:51
Subject: Re: [BackupPC-users] Getting files newer than error
From: "Tyler J. Wagner" <tyler AT tolaris DOT com>
To: mstowe AT chicago.us.mensa DOT org, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 17 Sep 2012 10:26:25 +0100
On 2012-09-14 13:46, Michael Stowe wrote:
> The Linux kernel keeps its own time, generally in UTC.  This is translated
> to "local time" depending on the environment process of the user itself. 
> Thus, the backuppc user can have a completely different time than, say,
> you, or root.
> 
> Depending on the environment when BackupPC is launched, it may be
> operating on UTC, or any other arbitrary time zone, which can have
> absolutely nothing to do with the time zone you see (even as the backuppc
> user, since its environment can be different when launching BackupPC and
> when launched from the command line.)
> 
> So, the most likely explanation, and one not yet eliminated, is that the
> scripts launching BackupPC do not have any time zones set, and therefore
> the backuppc process is inheriting the UTC time.

Processes which do not set a preferred time zone inherit the system default
defined by /etc/localtime, which is usually a copy of a timezone definition
file. For instance, you can set your system time zone like this:

cp -a /usr/share/zoneinfo/Etc/UTC /etc/localtime

However, this is only UTC if you set it that way during install.

Unless you have users that specifically go around setting the $TZ variable,
users will not have different times.

Regards,
Tyler

-- 
"When a claim is falsified in science [...], it is discarded. It is put
in the trashbin of bad ideas.  When a claim of religion is falsified,
it becomes a metaphor."
   -- Jerry Coyne

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/