Mailinglist Archive: opensuse-bugs (5384 mails)

< Previous Next >
[Bug 680113] bad mtime handling of atjobs dir causes delayed execution of jobs

https://bugzilla.novell.com/show_bug.cgi?id=680113

https://bugzilla.novell.com/show_bug.cgi?id=680113#c2


Vitezslav Cizek <vcizek@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
CC| |vcizek@xxxxxxxxxx
InfoProvider| |ischwarze@xxxxxxxxxx

--- Comment #2 from Vitezslav Cizek <vcizek@xxxxxxxxxx> 2011-04-15 15:47:45 UTC
---
(In reply to comment #0)

I can't reproduce this on my 11.4 box.

Steps to Reproduce:
1. Schedule an at job to be run in ten minutes.
$ echo "command" | at +5 min
$ atq
3 2011-04-15 17:31 a cizek

2. Set the mtime of the atjobs directory to one hour in the future, for
example
using the -t option of touch(1).
$ sudo touch -t 04151755 /var/spool/atjobs
$ ls -ld /var/spool/atjobs
drwx------. 2 at at 4096 Apr 15 2011 /var/spool/atjobs/

2. Restart the atd(8).
$ sudo rcatd restart
$ atq
3 2011-04-15 17:31 a cizek

3. Schedule an at job to be run immediately.
$ echo "command" | at now

The command gets executed immediately.

Actual Results:
Execution of both jobs will be delayed for at least one hour.

Actually all the jobs get executed right on time.

Did I miss something, when I was trying to reproduce?

--
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.

< Previous Next >