Gentoo Archives: gentoo-user

From: Tanstaafl <tanstaafl@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cron job email time off by one hour
Date: Tue, 07 May 2013 15:01:58
Message-Id: 5189174A.2070505@libertytrek.org
In Reply to: Re: [gentoo-user] Cron job email time off by one hour by Alan McKinnon
1 On 2013-05-07 10:42 AM, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 > On 07/05/2013 16:31, Tanstaafl wrote:
3 >> Cron jobs run at the correct times.
4 >>
5 >> EMails generated by cron have a time one hour in the past.
6 >>
7 >> Looking at the email header shows the correct date/time stamps, but
8 >> since Thunderbird by default uses the date/time header set by the
9 >> client, it shows up as arriving an hour earlier than it actually did.
10
11 > In the absence of info config from you other than the timezone, I'd say
12 > Daylight Savings.
13
14 Thanks Alan,
15
16 I'll provide emerge --info at the end of this message, but not sure how
17 that helps.
18
19 > Recent cronds do new things with DST and timezones, depending on various
20 > factors described in man cron. Perhaps you fell afoul of that.
21
22 Entirely probable, but googling hasn't helped reveal a solution.
23
24 One other thing - reading man cron, it says that /etc/crontab should be
25 mode 0600... mine was 0644. I just changed it, but is there some way
26 that could have caused it?
27
28 Any pointers/ideas? I can't be the only one to encounter this...
29
30 Thanks again...
31
32 **************** emerge --info
33
34 # emerge --info
35 Portage 2.1.11.55 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3,
36 3.3.8-gentoo x86_64)
37 =================================================================
38 System uname:
39 Linux-3.3.8-gentoo-x86_64-AMD_Opteron-tm-_Processor_244-with-gentoo-2.1
40 KiB Mem: 2058236 total, 23500 free
41 KiB Swap: 506040 total, 322284 free
42 Timestamp of tree: Sat, 04 May 2013 16:00:01 +0000
43 ld GNU ld (GNU Binutils) 2.22
44 app-shells/bash: 4.2_p37
45 dev-lang/python: 2.7.3-r3, 3.1.5-r1, 3.2.3-r2
46 dev-util/cmake: 2.8.9
47 dev-util/pkgconfig: 0.28
48 sys-apps/baselayout: 2.1-r1
49 sys-apps/openrc: 0.11.8
50 sys-apps/sandbox: 2.5
51 sys-devel/autoconf: 2.69
52 sys-devel/automake: 1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
53 sys-devel/binutils: 2.22-r1
54 sys-devel/gcc: 4.6.3
55 sys-devel/gcc-config: 1.7.3
56 sys-devel/libtool: 2.4-r1
57 sys-devel/make: 3.82-r4
58 sys-kernel/linux-headers: 3.7 (virtual/os-headers)
59 sys-libs/glibc: 2.15-r3
60 Repositories: gentoo gnustep sunrise ultrabug mbi-local
61 ACCEPT_KEYWORDS="amd64"
62 ACCEPT_LICENSE="* -@EULA"
63 CBUILD="x86_64-pc-linux-gnu"
64 CFLAGS="-march=opteron -O2"
65 CHOST="x86_64-pc-linux-gnu"
66 CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
67 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
68 /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/
69 /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/
70 /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
71 CXXFLAGS="-march=opteron -O2"
72 DISTDIR="/usr/portage/distfiles"
73 FCFLAGS="-O2 -pipe"
74 FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified
75 distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
76 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs
77 unmerge-orphans userfetch"
78 FFLAGS="-O2 -pipe"
79 GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
80 LANG="en_US.UTF-8"
81 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
82 MAKEOPTS="-j5"
83 PKGDIR="/usr/portage/packages"
84 PORTAGE_CONFIGROOT="/"
85 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
86 --compress --force --whole-file --delete --stats --human-readable
87 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
88 PORTAGE_TMPDIR="/var/tmp"
89 PORTDIR="/usr/portage"
90 PORTDIR_OVERLAY="/var/lib/layman/gnustep /var/lib/layman/sunrise
91 /var/lib/layman/ultrabug /usr/local/portage"
92 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
93 USE="3dnow acl amd64 bash-completion berkdb bzip2 cli cracklib crypt
94 curl cxx dovecot-sasl dri fam fortran gd gdbm gpm iconv mmx modules
95 mudflap multilib ncurses nls nptl openmp pam pcre readline sasl session
96 snmp sse sse2 ssl tcpd truetype unicode vhosts xml zlib" ABI_X86="64"
97 ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
98 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
99 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
100 ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug
101 file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw
102 multi null plug rate route share shm softvol" APACHE2_MODULES="actions
103 alias auth_basic auth_digest authn_anon authn_dbd authn_dbm
104 authn_default authn_file authz_dbm authz_default authz_groupfile
105 authz_host authz_owner authz_user autoindex cache cgi dav dav_fs
106 dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache
107 filter headers ident imagemap include info log_config logio mem_cache
108 mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect
109 proxy_http rewrite setenvif so speling status unique_id userdir
110 usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi
111 words flow plan sheets stage tables krita karbon braindump author"
112 CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool
113 swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate
114 evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom
115 oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing
116 tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev"
117 KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
118 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
119 presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
120 PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7"
121 PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19"
122 USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128
123 radeon savage sis tdfx trident vesa via vmware dummy v4l"
124 XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p
125 iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
126 dhcpmac delude chaos account"
127 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
128 PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
129 PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON