Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1152434

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: bhu, carnil, cwawak, cww, eblake, fkrska, fweimer, hartsjc, heuristik, jherrman, jkurik, john.haxby, jonstanley, koen.schram, lars, michele, myllynen, ngalvin, nkim, pdwyer, pm-eus, poulacou2, psklenar, pvn, rcyriac, redhat, 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_4.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1147043 Environment:
Last Closed: 2014-10-15 07:58:14 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    
Bug Blocks:    

Description Jan Kurik 2014-10-14 07:43:39 UTC
This bug has been copied from bug #1147043 and has been proposed
to be backported to 6.4 z-stream (EUS).

Comment 5 Radka Brychtova 2014-10-14 15:49:09 UTC
[0 root@unused-4-151 ~]# rpm -qa at bash
at-3.1.10-43.el6_2.1.x86_64
bash-4.1.2-29.el6.x86_64

[0 root@unused-4-151 ~]# foo () { date; }
[0 root@unused-4-151 ~]# export -f foo
[0 root@unused-4-151 ~]#  rm -f /var/spool/mail/root;echo "ls" | at now; sleep 3; cat /var/spool/mail/root
job 2 at 2014-10-14 11:17
From root.redhat.com  Tue Oct 14 11:17:57 2014
Return-Path: <root.redhat.com>
X-Original-To: root
Delivered-To: root.redhat.com
Received: by unused-4-151.brq.redhat.com (Postfix, from userid 0)
	id ADEDF22C9F; Tue, 14 Oct 2014 11:17:57 -0400 (EDT)
Subject: Output from your job        2
To: root.redhat.com
Message-Id: <20141014151757.ADEDF22C9F.redhat.com>
Date: Tue, 14 Oct 2014 11:17:57 -0400 (EDT)
From: root.redhat.com (root)

sh: line 29: syntax error near unexpected token `=\(\)\ {\ \ date"
"}'
sh: line 29: `"}; export BASH_FUNC_foo()'

**************************************************************************
**************************************************************************
[0 root@unused-4-151 ~]# rpm -qa at bash
at-3.1.10-44.el6_4.1.x86_64
bash-4.1.2-29.el6.x86_64

[0 root@unused-4-151 ~]# foo () { date; }
[0 root@unused-4-151 ~]# export -f foo
[0 root@unused-4-151 ~]#  rm -f /var/spool/mail/root;echo "ls" | at now; sleep 3; cat /var/spool/mail/root
job 5 at 2014-10-14 11:22
From root.redhat.com  Tue Oct 14 11:22:35 2014
Return-Path: <root.redhat.com>
X-Original-To: root
Delivered-To: root.redhat.com
Received: by unused-4-151.brq.redhat.com (Postfix, from userid 0)
	id 8B7F222CA4; Tue, 14 Oct 2014 11:22:35 -0400 (EDT)
Subject: Output from your job        5
To: root.redhat.com
Message-Id: <20141014152235.8B7F222CA4.redhat.com>
Date: Tue, 14 Oct 2014 11:22:35 -0400 (EDT)
From: root.redhat.com (root)

anaconda-ks.cfg
at-3.1.10-44.el6_4.1.x86_64.rpm
install.log
install.log.syslog
install.time
penguin-install.log

Comment 7 errata-xmlrpc 2014-10-15 07:58:14 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-1638.html