Marcela Mašláňová
65700164d9
There are two bugs:
...
1. It looks like the at command does not validate that it has succeeded to write all data before it makes the file executable (i.e on a disk full an empty file might get created).
2. After 60 minutes (run_time + CHECK_INTERVAL <= now), atd (approx line 750) starts to unlink the lockfile and retries the execution of the job, leaving us with this unfortunate loop.
Reproducer:
ATD_PID=$(ps -C atd -o pid=)
QUEUE=a
JOBNO=$(printf '%05x' 123)
BAD_TIME=$(expr $(date +%s) / 60 - 61)
CTM=$(printf '%08x' $BAD_TIME )
FILENAME=/var/spool/at/${QUEUE}${JOBNO}${CTM}
touch $FILENAME
chmod 0700 $FILENAME
kill -HUP ${ATD_PID}
sleep 0.5
ls -l $FILENAME
rm -f $FILENAME
Thanks to: Anders Blomdell
2013-12-02 16:34:37 +01:00
Marcela Mašláňová
f1d08b29c2
Backport help into usage.
2013-12-02 13:44:51 +01:00
Marcela Mašláňová
5b86b9d85e
Backport POSIX timers.
2013-12-02 12:33:07 +01:00
Marcela Mašláňová
9b663b75a8
Backport mails with hostname.
2013-12-02 11:07:41 +01:00
Marcela Mašláňová
8c0170ef17
Add missing bracket.
2013-12-02 10:59:10 +01:00
Marcela Mašláňová
42434fb932
Option -V and correct shell added.
2013-09-26 17:01:11 +02:00
Marcela Mašláňová
d5e10f209c
Change patch for SElinux.
2013-09-26 16:37:12 +02:00
Marcela Mašláňová
00ae67b775
Change patch for PAM.
2013-09-26 16:36:47 +02:00
Marcela Mašláňová
6daadbc278
Fix missing - in Makefile patch, change specfile to enable only whats needed.
2013-09-26 14:11:08 +02:00
Marcela Mašláňová
abcc660cd9
Change makefile to work with latest release.
2013-09-19 17:25:27 +02:00
Marcela Mašláňová
8bfac11a74
Fix dates because rpm is now checking if date exists. Sigh.
2013-09-19 16:54:01 +02:00
Dennis Gilmore
64f633c84a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-08-02 21:24:31 -05:00
Marcela Mašláňová
f5721f0cb6
Fix missing ? in dist.
2013-07-11 17:42:57 +02:00
Peter Robinson
ecd5f487e8
Fix patch to fix FTBFS with gcc 4.8
2013-02-11 19:39:04 +00:00
Marcela Mašláňová
5ff8c5d66b
Fix license field again.
2012-11-14 14:36:53 +01:00
Marcela Mašláňová
25bd03beab
Fix selinux patch to apply without fuzz=2.
2012-11-01 15:18:17 +01:00
Marcela Mašláňová
6c1de80a0b
Fix license field. Fix systemd macros in scriptlets part of the specfile.
2012-11-01 14:11:37 +01:00
Marcela Mašláňová
e44b6db31e
Merge branch 'master' of ssh://pkgs.fedoraproject.org/at
2012-07-30 10:51:26 +02:00
Dennis Gilmore
2497ceda41
Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-26 23:41:31 -05:00
Marcela Mašláňová
5ace57d78d
fix whitespaces
2012-07-24 12:47:28 +02:00
Marcela Mašláňová
363b8ce826
PAM support rewritten to work with new defaults
...
The problem with pam is visible with systemd, which change some default. Now is
after pam_close_session closed all jobs, which will terminate all at jobs.
rhbz#812682
2012-04-19 17:33:40 +02:00
Marcela Mašláňová
53ff479aaa
systemd-user-sessions.service is used in unit file, so the atd should be
...
started after almost all services are up and running
2012-04-19 17:27:41 +02:00
Marcela Mašláňová
926bb3fb9c
at-3.1.13-help.patch update usage
2012-04-19 17:27:29 +02:00
Marcela Mašláňová
197130ca9a
at-3.1.13-usePOSIXtimers.patch use POSIX timers, so we won't need
...
pm-utils hack anymore.
2012-04-19 17:27:14 +02:00
Marcela Mašláňová
e85ff306c1
at-3.1.13-mailwithhostname.patch in email mention also hostname address.
2012-04-19 17:26:53 +02:00
Dennis Gilmore
451d8d2a07
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2012-01-12 15:58:27 -06:00
Marcela Mašláňová
4b79d98615
754156 fix typo in script
2011-11-15 16:05:46 +01:00
Marcela Mašláňová
d7c6e9279d
Merge branch 'master' of ssh://pkgs.fedoraproject.org/at
...
Conflicts:
at.spec
2011-11-14 10:48:00 +01:00
Marcela Mašláňová
4c35e57e8e
fix incorrect option in test in 56atd
2011-11-14 10:42:16 +01:00
Dennis Gilmore
f351badf66
- Rebuilt for glibc bug#747377
2011-10-26 18:36:44 -05:00
Marcela Mašláňová
e595e9b0c0
729742 fix 56atd script for systemd
2011-10-05 18:26:18 +02:00
Marcela Mašláňová
d6845c84b2
rebuilt with new rpm
...
Related: rhbz#728707
2011-08-15 16:10:46 +02:00
Marcela Mašláňová
be09101c0c
Upload source file.
2011-07-29 15:02:50 +02:00
Marcela Mašláňová
92956ea3ad
Update to 3.1.13.
2011-07-29 14:27:23 +02:00
Marcela Mašláňová
2fe8626dfd
fix permission of init.d/atd
2011-07-21 16:23:09 +02:00
Marcela Mašláňová
e581cc970e
Use _unitdir macro.
2011-07-20 16:35:59 +02:00
Marcela Mašláňová
14aaaeabc5
create sysvinit script 714642 (inspired by cronie)
2011-07-20 10:30:32 +02:00
Marcela Mašláňová
df8b4988f7
- re-add missing export SHELL 674426
...
- remove sysvinit scripts 714642
- clean specfile (use bcond, remove defattr)
2011-07-19 17:37:35 +02:00
Dennis Gilmore
07d6592193
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-02-07 20:53:00 -06:00
Marcela Mašláňová
f9653b11d0
Permission in install section has been fixed
...
Thanks to Ville Skyttä (rhbz#669497)
2011-01-14 10:36:32 +01:00
Marcela Mašláňová
7827f5c1ba
Merge branch 'master' of ssh://pkgs.fedoraproject.org/at
2010-12-07 14:30:42 +01:00
Marcela Mašláňová
84e7577d70
Add flex-static to pass koji build.
2010-12-07 14:29:59 +01:00
Marcela Mašláňová
7e08daa611
Fix typo in systemd configuration
...
- fix permissions of config files
2010-12-07 13:08:50 +01:00
Marcela Mašláňová
1c55d59fb6
New BuildRequires is needed flex-static
2010-11-30 13:50:10 +01:00
Marcela Mašláňová
a16f9f1e98
systemd init script (replacement)
2010-11-30 13:28:14 +01:00
Marcela Mašláňová
fb9263a86c
Too many values on output of init script printed out.
2010-08-04 14:33:24 +02:00
Fedora Release Engineering
ef8c60d818
dist-git conversion
2010-07-28 10:24:44 +00:00
Marcela Mašláňová
7d7d3d5dcd
- 568222 interrupted 'at' job creates empty job for non-root
2010-03-15 09:05:33 +00:00
Marcela Mašláňová
40fa1a06f1
- prevent arbitrary destruction of at jobs (based on 564243)
2010-02-12 12:18:30 +00:00
Marcela Mašláňová
c5c176fd70
- polish pam in atd again
2010-01-18 14:47:12 +00:00