atd fails to execute jobs in a timely manner after sleep/hibernation

Bug #783835 reported by Matthias Kretz
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
at (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: at

How to reproduce:
put a job into atd. E.g.
% echo "date > /tmp/atd.stamp"|at 11:00
Then put the computer to sleep. After wakeup, the job will not execute at 11:00 anymore - or if that time has already passed, it should execute right away, but often takes 0.5h or more.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: at 3.1.12-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue May 17 09:02:51 2011
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426.3)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: at
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Matthias Kretz (mkretz) wrote :
Revision history for this message
Matthias Kretz (mkretz) wrote :

Attached is a solution to the problem. It might be better to fix it in atd itself (i.e. use something different than sleep, or install a signal handler).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in at (Ubuntu):
status: New → Confirmed
Revision history for this message
Kanehekili (jentiger-moratai) wrote :

I would like to confirm the bug. It happens on Xubuntu 12.10. The workaround from Matthias Kretz solved it. (I had to replace SIGHUP with 1 - then it worked. It took me weeks to locate that problem - it should be fixed!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.