[Bug 592349] New: atd jobs are executed delayed after wakeup from suspend-to-RAM
http://bugzilla.novell.com/show_bug.cgi?id=592349 http://bugzilla.novell.com/show_bug.cgi?id=592349#c0 Summary: atd jobs are executed delayed after wakeup from suspend-to-RAM Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i686 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hendrikw@arcor.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.8) Gecko/20100204 SUSE/3.5.8-0.1.1 Firefox/3.5.8 (.NET CLR 3.5.30729) When I schedule a job with the atd daemon and set the computer in suspend-to-RAM mode, the job is executed delayed by the time, the computer was in suspend-to-RAM mode. Reproducible: Always Steps to Reproduce: 1. schedule an at-job (at -f ...) at 7pm 2. set a wakup time 5 minutes before the at-job is scheduled: SECS=`date -u --date "2010-03-30 18:55:00" +%s` echo 0 > /sys/class/rtc/rtc0/wakealarm echo $SECS > /sys/class/rtc/rtc0/wakealarm 3. pm-suspend Actual Results: If the job was scheduled to run at 7:00pm and the computer was 1 hour in suspend-to-RAM mode the job is executed at 8:00pm. Expected Results: The job should be executed at the scheduled time (7:00pm). workaround: wakeup atd with a script in /etc/pm/sleep.d see this email thread for more details (in german): http://lists.opensuse.org/opensuse-de/2010-03/msg01298.html -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592349 http://bugzilla.novell.com/show_bug.cgi?id=592349#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |mseben@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592349 http://bugzilla.novell.com/show_bug.cgi?id=592349#c Cristian Rodríguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592349 http://bugzilla.novell.com/show_bug.cgi?id=592349#c2 Cristian Rodríguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Cristian Rodríguez <crrodriguez@novell.com> 2010-07-20 20:33:00 UTC --- right, fixed in submit request 43541, for opensuse-next-release. for old versions, do: place this code in /etc/pm/sleep.d/99at #!/bin/bash case "$1" in hibernate|suspend) stopservice atd ;; thaw|resume) restartservice atd ;; *) ;; esac exit 0 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=592349 https://bugzilla.novell.com/show_bug.cgi?id=592349#c3 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jslaby@novell.com --- Comment #3 from Jiri Slaby <jslaby@novell.com> 2011-02-07 15:14:12 UTC --- JFYI: /etc/pm/sleep.d/99at: line 7: stopservice: command not found .. /etc/pm/sleep.d/99at: line 10: restartservice: command not found Created a sr 60226. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592349 http://bugzilla.novell.com/show_bug.cgi?id=592349#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (592349) was mentioned in https://build.opensuse.org/request/show/43542 Factory / at -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com