Commit Graph

136 Commits

Author SHA1 Message Date
Tomas Mraz
7ca7f064c8 make atd less abort prone 2014-11-06 16:16:42 +01:00
Tomas Mraz
831ee27011 add proper Obsoletes for the sysvinit subpackage 2014-10-10 16:58:48 +02:00
Tomas Mraz
fc356ce304 atd.init is no longer needed 2014-10-02 11:26:17 +02:00
Tomas Mraz
ad609f98fc new upstream release fixing regression from security fix in bash
- drop sysvinit subpackage
2014-10-02 11:10:27 +02:00
Peter Robinson
107aa1f03b - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-15 21:34:28 +00:00
Dennis Gilmore
216c8b3054 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 20:53:54 -05:00
Marcela Mašláňová
37819ccac5 1079304 remove part of patch, which is not needed anymore. 2014-03-25 15:57:33 -04:00
Marcela Mašláňová
1a66c4d172 remove parallel build -> it fails on secondary arches 1058686 2014-01-28 12:25:19 +01:00
Marcela Mašláňová
9f623ae7d4 Clean specfile. 2013-12-04 11:47:08 +01:00
Marcela Mašláňová
6d4186b4e5 Fix patches to apply correctly. PAM and SElinux patches were rewritten to correct way. Thanks to: Tomas Mraz 2013-12-04 11:45:09 +01:00
Marcela Mašláňová
2d6e674bb5 925041 Does not support aarch64 in f19 and rawhide. 2013-12-03 09:45:59 +01:00
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
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á
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á
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á
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