Red Hat Bugzilla – Bug 109587
at generates bad tcsh scripts
Last modified: 2007-11-30 17:10:33 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
Description of problem:
at generates a bad script when SHELL=/bin/tcsh. It puts the correct
heading line #!/bin/tcsh into the script, but it puts /bin/sh-style
environment-setting commands into the script, e.g.
NNTPSERVER=news.yale.edu; export NNTPSERVER
This script of course fails when run.
If instead at is called with SHELL=/bin/sh, then it generates a
correct /bin/sh-style script which works correctly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Set environment variable SHELL=/bin/tcsh
5. Read email response.
Actual Results: Email showing attemt to execute environment, e.g.,
NNTPSERVER=news.yale.edu: Command not found.
export: Permission denied.
Expected Results: Email containing "mike' (the result of the "whoami"
To see the script generated, try at 'now+1 hour'; then look in
/var/spool/at and examine the generated script.
Probably a dupe of 91233
I agree. Thanks for pointing this out to me. I'm marking this as a
duplicate of 91233.
*** This bug has been marked as a duplicate of 91233 ***
*** Bug 111386 has been marked as a duplicate of this bug. ***
I would like to address this issue separately from bug 91233.
Nevermind, fixed in FC Development in at-3.1.8-49.
*** Bug 117102 has been marked as a duplicate of this bug. ***
*** Bug 117276 has been marked as a duplicate of this bug. ***
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.