Commit Graph

168 Commits

Author SHA1 Message Date
Ondřej Pohořelský
e046bce812 Update to new upstream release 2021-05-21 13:09:17 +02:00
Jan Staněk
c6984163ba
Patch issues found by coverity (rhbz#1938678) 2021-04-16 13:20:26 +02:00
Jan Staněk
888e351a6c
Modernize and clean spec file
- Unify spaces/tabs to spaces
- Use autosetup/autopatch, get rid of explicit patch numbers
2021-04-16 13:12:31 +02:00
Zbigniew Jędrzejewski-Szmek
0b0cc322e5 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:14:09 +01:00
Fedora Release Engineering
69ccde9270 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 00:39:06 +00:00
Tom Stellard
9cac67c578 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-16 23:58:00 +00:00
Fedora Release Engineering
4bce1dc99f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 12:37:17 +00:00
Fedora Release Engineering
ec80856746 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 12:20:23 +00:00
Fedora Release Engineering
2cdc6cfebe - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 18:41:12 +00:00
Fedora Release Engineering
86570c2545 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 14:02:43 +00:00
Igor Gnatenko
2fbbe3c5ef Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:56 +01:00
Tomas Mraz
cf4aac1213 new upstream release 3.1.23 2018-08-27 15:05:24 +02:00
Fedora Release Engineering
ef5feb2beb - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 20:42:19 +00:00
Tomas Mraz
d5d9dba94b log the jobs being run 2018-05-23 15:24:02 +02:00
Tomas Mraz
c93dd9d5bf Add gcc to BuildRequires 2018-03-08 11:20:31 +01:00
Florian Weimer
b2639042fe Drop "BuildRequires: fileutils /etc/init.d" 2018-02-25 11:49:54 +01:00
Fedora Release Engineering
3fecac9bc1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 03:10:01 +00:00
Tomas Mraz
5dfacd58d8 improve the wrong_format patch, also rename it to correct name 2017-09-14 15:54:13 +02:00
Tomas Mraz
f2ac390859 the ownership of the spool directory should be root
(at is configured with daemon username root)
- document the -n option
2017-09-14 14:56:09 +02:00
Fedora Release Engineering
32eca464c6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 17:54:06 +00:00
Fedora Release Engineering
78569dfe5b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 03:27:13 +00:00
Tomas Mraz
c5dcedc7c3 fix the POSIX timers support (#1436523) 2017-03-28 10:03:29 +02:00
Fedora Release Engineering
c90eeec20a - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 06:28:12 +00:00
Tomas Mraz
0f7125cd45 properly include the license files 2017-02-02 15:10:19 +01:00
Tomas Mraz
aa74292e24 new upstream release
- properly lock the lock files to be able to safely remove
  stale ones
2016-07-01 10:43:48 +02:00
Tomas Mraz
4516f77e69 SIGPIPE should not be ignored in atd (#1338039) 2016-05-23 14:51:40 +02:00
Tomas Mraz
4e99767fd3 new upstream release
- correct the DST correction when using UTC time specification (#1320322)
2016-03-23 15:24:03 +01:00
Dennis Gilmore
2f9ec0f869 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 16:37:52 +00:00
Tomas Mraz
c65246e094 clear non-job files from at dir 2015-09-09 14:07:23 +02:00
Dennis Gilmore
1aae4dded4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 01:13:39 +00:00
Tomas Mraz
aadd9920c6 superfluous patch dropped 2014-11-28 10:09:34 +01:00
Tomas Mraz
4fe15d5740 test for write error on fclose (#1166882)
- also drop unnecessary and broken nowrap patch
2014-11-24 15:35:59 +01:00
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