Package: at Version: 3.1.16-1 Severity: important Tags: upstream Dear Maintainer,
When a job is running longer than CHECK_INTERVAL (defined in atd.c, currently 3600 seconds), and run_file() is called (e.g. a second job is submitted after a bit more than an hour) it will be removed from ATJOB_DIR and atq no longer reports this job. However, the job will happily finish. Yet, this is pretty confusing. This is caused in atd.c inside an if-clause where a comment contains a "FIXME". From my understanding, this if-clause can be removed alltogether because the file is more than just a lockfile. It serves as documentation for atq. Furthermore, this script-file will be removed upon job completion. However, maybe I am missing some circumstances where it is necessary to remove this file at this point. To reproduce, send this to at: echo -n start date sleep 7000 echo -n end date end after one hour, submit something else. The first job will be gone, but ps ax can still see the sleep and eventually you will get mail. I found this on a Ubuntu system, but I use a Debian system to report the bug. -- System Information: Debian Release: 8.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: armhf (armv7l) Kernel: Linux 3.16.0-4-armmp (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages at depends on: ii init-system-helpers 1.22 ii libc6 2.19-18+deb8u3 ii libpam-runtime 1.1.8-3.1+deb8u1 ii libpam0g 1.1.8-3.1+deb8u1 ii lsb-base 4.1+Debian13+nmu1 Versions of packages at recommends: ii exim4-daemon-light [mail-transport-agent] 4.84.2-1 at suggests no packages. -- Configuration Files: /etc/at.deny [Errno 13] Permission denied: u'/etc/at.deny' -- debconf information excluded