Bug 1148731

Summary: Regression from bash function mangling patch breaks "at" jobs
Product: Red Hat Enterprise Linux 6 Reporter: Jan Kurik <jkurik>
Component: atAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.6CC: carnil, cwawak, cww, eblake, fkrska, fweimer, gary, hartsjc, heuristik, jherrman, jkurik, john.haxby, jonstanley, karlos, koen.schram, lars, lpol, myllynen, ngalvin, nkim, pdwyer, pm-eus, poulacou2, psklenar, pvn, rcyriac, richard.ryder, rikard.oberg, rskvaril, sardella, seldridg, s.kieske, sreber, tbowling, tmraz, toracat, tscherf, vanhoof, wayne.johnson
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: at-3.1.10-44.el6_6.1 Doc Type: Bug Fix
Doc Text:
Due to a security issue fix in Bash, "at" jobs failed to run because the "atd" daemon exported environment variables with an incorrect syntax to the Bash shell running the jobs. With this update, "atd" filters out environment variables that cannot be parsed by the Bash shell, thus allowing the "at" jobs to run properly.
Story Points: ---
Clone Of: 1147043 Environment:
Last Closed: 2014-10-16 13:00:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1147043, 1148844, 1149276, 1149277, 1149363    
Bug Blocks:    

Description Jan Kurik 2014-10-02 08:38:28 UTC
This bug has been copied from bug #1147043 and has been proposed
to be backported to 6.6 z-stream (EUS).

Comment 5 Radka Brychtova 2014-10-06 13:00:45 UTC
[root@example ~]# at now
at> ls
at> <EOT>
job 6 at 2014-09-26 12:05

packages: 
at-3.1.10-43.el6_2.1.x86_64
environment-modules-3.2.10-1.el6_5.x86_64
bash-4.1.2-29.el6.x86_64

OUTPUT:
sh: line 32: syntax error near unexpected token `=\(\)\ {\ \ eval\ \`/usr/bin/modulecmd\ bash\ \$\*\`"
"}'
sh: line 32: `"}; export BASH_FUNC_module()'
.....................................................
.....................................................
packages 
at-3.1.10-44.el6_6.1.x86_64
environment-modules-3.2.10-1.el6_5.x86_64
bash-4.1.2-29.el6.x86_64

OUTPUT:
anaconda-ks.cfg
at-3.1.10-44.el6_6.1.x86_64.rpm
bash-4.1.2-15.el6_5.1.x86_64.rpm
install.log
install.log.syslog
install.time
penguin-install.log

Comment 6 Tomas Mraz 2014-10-06 14:32:30 UTC
*** Bug 1149717 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2014-10-16 13:00:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1637.html