Bug#710803: cron: systematically creates a temporary file in /tmp every hour

2013-06-09 Thread Christian Kastner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-06-07 15:55, Saint Germain wrote: On 5 June 2013 23:34, Christian Kastner deb...@kvr.at wrote: On 2013-06-05 13:12, Saint Germain wrote: Indeed even if cron has nothing to do, a temporary file is always created in /tmp and immediatly

Bug#710803: cron: systematically creates a temporary file in /tmp every hour

2013-06-09 Thread Saint Germain
On Sunday, 9 June 2013, Christian Kastner deb...@kvr.at wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-06-07 15:55, Saint Germain wrote: On 5 June 2013 23:34, Christian Kastner deb...@kvr.at wrote: On 2013-06-05 13:12, Saint Germain wrote: Indeed even if cron has nothing to

Bug#710803: cron: systematically creates a temporary file in /tmp every hour

2013-06-09 Thread Justin T Pryzby
Hi Christian, From memory, I believe debian already patches cron in one other way to avoid spinning up laptop drives (I believe it's related to stat()ing /etc/cron.d to check for updated files?). I believe we should aim to fix this here, too. I'm attaching a very lightly tested patch. Note

Bug#710803: cron: systematically creates a temporary file in /tmp every hour

2013-06-07 Thread Saint Germain
On 5 June 2013 23:34, Christian Kastner deb...@kvr.at wrote: On 2013-06-05 13:12, Saint Germain wrote: Indeed even if cron has nothing to do, a temporary file is always created in /tmp and immediatly deleted. nothing to do = there is no job (cron.hourly is empty and users cron are empty)

Bug#710803: cron: systematically creates a temporary file in /tmp every hour

2013-06-05 Thread Christian Kastner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It seems that the following Debian commit which introduces a temporary file has an unfortunate side-effect: http://anonscm.debian.org/gitweb/?p=pkg-cron/pkg- cron.git;a=commitdiff;h=e61050367866fb1b627e2c004d370914eced70cb Indeed even if cron

Bug#710803: cron: systematically creates a temporary file in /tmp every hour

2013-06-05 Thread Saint Germain
On 5 June 2013 11:08, Christian Kastner deb...@kvr.at wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It seems that the following Debian commit which introduces a temporary file has an unfortunate side-effect: http://anonscm.debian.org/gitweb/?p=pkg-cron/pkg-

Bug#710803: cron: systematically creates a temporary file in /tmp every hour

2013-06-05 Thread Christian Kastner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-06-05 13:12, Saint Germain wrote: Indeed even if cron has nothing to do, a temporary file is always created in /tmp and immediatly deleted. I am trying to reduce the power consumption of my server and this patch had the effect of

Bug#710803: cron: systematically creates a temporary file in /tmp every hour

2013-06-02 Thread SaintGermain
Package: cron Version: 3.0pl1-124 Severity: minor Dear Maintainer, It seems that the following Debian commit which introduces a temporary file has an unfortunate side-effect: http://anonscm.debian.org/gitweb/?p=pkg-cron/pkg- cron.git;a=commitdiff;h=e61050367866fb1b627e2c004d370914eced70cb