#19237 crontab should support TMPDIR env variable

Package:
cron
Source:
cron
Description:
process scheduling daemon
Submitter:
Steve Greenland
Date:
2018-11-27 20:51:03 UTC
Severity:
wishlist
#19237#5
Date:
1998-03-10 04:03:03 UTC
From:
To:
This was added in a previous release, but causes problems with emacs
(because emacs changes how it does file backups in /tmp vs other
directories). I've removed the TMPDIR support, but will add it back
later. This bug report is just a reminder to me.

#19237#10
Date:
2013-02-24 01:12:53 UTC
From:
To:
Package: cron
Version: 3.0pl1-124
Followup-For: Bug #19237
Control: usertags -1 + tmp

More than 10 years later, the crontab program still doesn't use TMPDIR.

#19237#15
Date:
2018-11-27 20:46:26 UTC
From:
To:
Recent correspondence for a consequent GNU emacs bug report:
----- Forwarded message from Glenn Morris <rgm@gnu.org> ----- Date: Tue, 27 Nov 2018 00:56:29 -0500 From: Glenn Morris <rgm@gnu.org> To: Boruch Baum <boruch_baum@gmx.com> Cc: 33219@debbugs.gnu.org Subject: Re: bug#33219: 25.2; crontab -e doesn't connect to existing emacs daemon User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) differently. For example, perhaps "crontab -e" does not pass TMPDIR to the spawned editor: https://bugs.debian.org/19237 I verified by doing: M-: (getenv "TMPDIR") in the Emacs spawned by crontab that this is indeed the case. So yes, I think it is a crontab issue. ----- End forwarded message -----