Bug 853010

Summary: crontab(5) doesn't specify parse order of crontab file
Product: [openSUSE] openSUSE Tumbleweed Reporter: Sebastian Herbszt <sebastian.herbszt>
Component: BasesystemAssignee: Tomáš Chvátal <tchvatal>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: lchiquitto
Version: 13.2 Milestone 0   
Target Milestone: ---   
Hardware: Other   
OS: SLES 11   
Whiteboard: maint:released:sle11-sp3:58511
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Deadline: 2014-08-13   

Description Sebastian Herbszt 2013-11-29 17:39:52 UTC
User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0

Quote from Debian bug #622645 [1]:

crontab(5) leaves it ambiguous what happens when you interleave environment 
variables and commands, or repeat environment variables.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622645


Reproducible: Always

Steps to Reproduce:
Set up a crontab file with:

* * * * * echo test
MAILTO=""

Actual Results:  
Output gets mailed to owner.

Expected Results:  
crontab(5) leaves it ambiguous.

Tested on SLES 11 with cron-4.1-194.207.1.
Comment 1 Vojtech Dziewiecki 2013-12-02 11:08:41 UTC
I'll fix this bug by explaining that in the manpage.

Hello maintenance team, please decide when we fix it.
Comment 3 Swamp Workflow Management 2014-07-30 08:41:12 UTC
An update workflow for this issue was started.
This issue was rated as moderate.
Please submit fixed packages until 2014-08-13.
https://swamp.suse.de/webswamp/wf/58473
Comment 5 Tomáš Chvátal 2014-08-06 09:35:33 UTC
Submitted as sr#42296.
Comment 7 Swamp Workflow Management 2014-08-15 19:04:26 UTC
SUSE-RU-2014:1026-1: An update that has two recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 853010,879734
CVE References: 
Sources used:
SUSE Linux Enterprise Server 11 SP3 for VMware (src):    cron-4.1-194.209.1
SUSE Linux Enterprise Server 11 SP3 (src):    cron-4.1-194.209.1
SUSE Linux Enterprise Desktop 11 SP3 (src):    cron-4.1-194.209.1