Bug 117102

Summary: at not running scheduled tasks
Product: [Fedora] Fedora Reporter: Sergio Pascual <sergio.pasra>
Component: atAssignee: Jens Petersen <petersen>
Status: CLOSED DUPLICATE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:01:42 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:

Description Sergio Pascual 2004-02-28 15:25:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040124 Galeon/1.3.13

Description of problem:
Tasks scheduled with at are not done. 
Instead, a file named "2"
appears in the working directory.
The mail with the output of the scheduled task is send, but the content
of the mail is compose of error messages described below

Version-Release number of selected component (if applicable):
at-3.1.8-46.1

How reproducible:
Always

Steps to Reproduce:
1. Run a progran inside at:
prompt$ at now
at> ls
at> Crtl-D

Actual Results:  A file named 2 appears in the working directory. to
see the contente of the file I make
prompt$ cat 2
Execution directory inaccessible
prompt$

A mail is sent to me, the content of the mail is:

USER=hare: Command not found.
export: Permission denied.
LOGNAME=hare: Command not found.
export:Permission denied.
HOME=/home/hare: Command not found.
export: Permission denied.
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.:
Command not found.
export: Permission denied.
VENDOR=intel: Command not found.
export: Permission denied.
OSTYPE=linux: Command not found.
export: Permission denied.
MACHTYPE=i386: Command not found.
export: Permission denied.

And follows with more enviroment variables


Expected Results:  A mail is send to me with the output of the ls
program in the present working directory

Additional info:

In the version of at shiped with redhat 9, a meesage appeared
before the at prompt: 
"warning: commands will be executed using (in order) a) $SHELL b)
login shell c) /bin/sh"

This message has disappeared in the present version

Comment 1 Jens Petersen 2004-03-01 01:28:54 UTC
Are you using tcsh or csh?

Comment 2 Sergio Pascual 2004-03-01 14:44:32 UTC
I'm using tcsh. I have checked that "at" works if your login shell is
bash (that is to say, the shell in /etc/passwd)

Comment 3 Jens Petersen 2004-03-02 01:26:37 UTC
Please update to the at in FC devel (aka rawhide).

*** This bug has been marked as a duplicate of 109587 ***

Comment 4 Red Hat Bugzilla 2006-02-21 19:01:42 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.