forked from cronie-crond/cronie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
2653 lines (1602 loc) · 92.2 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2021-03-17 Tomas Mraz <[email protected]>
* Release new version 1.5.6
2021-03-17 Tomas Mraz <[email protected]>
* Partially revert the behavior of crontab command without arguments
If the stdin is not a TTY we behave as required in the POSIX spec.
This still prevents mistakes from simply running crontab without
arguments in a terminal.
2021-03-17 Tomas Mraz <[email protected]>
* Any online power supply indicates that the system is on mains
2021-01-22 Tomas Mraz <[email protected]>
* Fix some compilation warnings
2021-01-22 Tomas Mraz <[email protected]>
* Always load database on startup even if all files have st_mtime == 0
2020-11-28 Mark Hills <[email protected]>
* Fix compiler warnings on 32-bit systems
2020-12-28 Sami Kerola <[email protected]>
* build-sys: update to autoconf 2.70
2020-12-24 Hyunsoo Choe <[email protected]>
* Fix race condition between file update and load_database
Issue: https://github.com/cronie-crond/cronie/issues/73
2020-11-02 Tomas Mraz <[email protected]>
* configure.ac: Drop the bug report e-mail from AC_INIT()
Fixes #70
2020-10-25 Wayne Van Son <[email protected]>
* docs(readme): adds Void Linux to packaged distributions
2020-08-20 Björn Persson <Bjorn@Rombobjörn.se>
* Add missing Content-Transfer-Encoding.
2020-08-03 Kevin Adler <[email protected]>
* Fix anacron build when obstack not available
2020-07-23 Fernando Cappi <[email protected]>
* Expand MAILTO and MAILFROM environment variables
2020-07-13 J. Paul Reed <[email protected]>
* Fix crontab.5 man page, wrt verbiage regarding named lists/ranges for crontab entries.
See https://github.com/cronie-crond/cronie/issues/62 for more info.
2020-06-11 Fernando Cappi <[email protected]>
* Add new option to test a crontab file syntax without installing it
Co-authored-by: Fernando Cappi <[email protected]>
2020-06-10 Tomas Mraz <[email protected]>
* Update packit configuration for latest Fedora versions
2020-06-10 Tomas Mraz <[email protected]>
* Fix the .spec for packit
2020-04-21 Tomas Mraz <[email protected]>
* Sync cronie.spec with Fedora
2019-11-11 Dominika Hodovska <[email protected]>
* Enable copr builds and add packit config
2020-04-21 Tomas Mraz <[email protected]>
* Handle out-of-memory condition from mkprints() call
2020-04-20 John Horne <[email protected]>
* Ensure the command name is not null before logging it.
2020-04-20 John Horne <[email protected]>
* Moved CMDEND code to outside for for loop.
2020-04-20 John Horne <[email protected]>
* Add CMDEND log entry to log when cron jobs end.
2020-03-02 Ian2020 <[email protected]>
* Allow backslashes when not part of a line continuation
2019-12-16 Tomas Mraz <[email protected]>
* Fix incorrect flag set for @weekly jobs.
Fixes #52
2019-11-24 Josef Schlehofer <[email protected]>
* Fix incorrect include of fcntl.h
2019-11-06 Tomas Mraz <[email protected]>
* crontab: Fix coloring when crontab ends with comment
Also emphasize a missing EOL at EOF by red warning text
Fixes #45
2019-10-31 Tomas Mraz <[email protected]>
* Release new version 1.5.5
2019-10-31 Tomas Mraz <[email protected]>
* Avoid warning for strncat.
2019-10-29 Christian Kastner <[email protected]>
* crontab.1: Various fixes and improvements
2019-10-30 Christian Kastner <[email protected]>
* crontab: fsync to check for full disk
2019-10-30 Christian Kastner <[email protected]>
* crontab: Add Y/N to retry prompt
2019-10-30 Christian Kastner <[email protected]>
* entries: Explicitly validate upper ranges and steps
2019-10-29 Christian Kastner <[email protected]>
* crond: report missing newline before EOF
2019-09-09 Christian Hesse <[email protected]>
* do not log carriage return
2019-08-22 sgerwk <[email protected]>
* skip directories when given as crontabs
2019-07-22 Stephane Blondon <[email protected]>
* crontab -l colors comment lines in a different color
2019-07-09 sgerwk <[email protected]>
* fix compile instruction: configure is generated by autogen.sh
2019-07-08 Tomas Mraz <[email protected]>
* getdtablesize() can return very high values in containers
2019-05-11 John Horne <[email protected]>
* Power supply name not detected correctly.
2019-05-07 Tomas Mraz <[email protected]>
* Revert "Avoid creating pid files when crond doesn't fork"
2019-04-15 Tomas Mraz <[email protected]>
* anacron: fix types in comparisons
2019-03-31 Sami Kerola <[email protected]>
* mics: stop using plain integer as NULL pointer
2019-03-31 Sami Kerola <[email protected]>
* cron: fix type in comparison
2019-03-31 Sami Kerola <[email protected]>
* cron: fix variable shadowing
2019-03-31 Sami Kerola <[email protected]>
* cron: mark signal number arguments in signal handlers unused
2019-04-08 Tomáš Mráz <[email protected]>
* Update readme.md with recent releases
2019-04-08 Tomas Mraz <[email protected]>
* Move allowed() and related function to security.c
2019-03-31 Sami Kerola <[email protected]>
* build-sys: enable anacron by default
2019-03-31 Sami Kerola <[email protected]>
* build-sys: use none-recursive build
2019-04-02 sgerwk <[email protected]>
* cronnext: optionally select jobs by substring
2019-03-18 Tomas Mraz <[email protected]>
* crond: Do not abort loading crontab prematurely in case of error
2019-03-18 Tomas Mraz <[email protected]>
* Release new version 1.5.4
2019-03-18 Tomas Mraz <[email protected]>
* crond: Fix regression from last release
Only first job from a crontab was being run.
2019-03-15 Tomas Mraz <[email protected]>
* Release new version 1.5.3
2019-03-15 Tomas Mraz <[email protected]>
* Fix warnings in anacron and crond code.
2019-03-15 Tomas Mraz <[email protected]>
* Fix CVE-2019-9704 and CVE-2019-9705
2019-03-15 Tomas Mraz <[email protected]>
* Remove leftover debugging message.
2019-03-11 Marcel Plch <[email protected]>
* Make crond run after autofs mounts
2019-02-15 Tomas Mraz <[email protected]>
* crontab: Make crontab without arguments fail.
2018-12-07 Marcel Plch <[email protected]>
* Use system-auth instead of password-auth for PAM authentication (#25)
2018-11-23 Marcel Plch <[email protected]>
* Restart crond if it fails
2018-11-19 Tomas Mraz <[email protected]>
* load_env: parse the environment variables in-place
2018-11-19 Tomáš Mráz <[email protected]>
* Update readme.md with the latest release and better link to Fedora
2018-11-18 Oliver Kurz <[email protected]>
* readme.md: Replace dead link to openSUSE ML with package link
2018-10-18 Tomas Mraz <[email protected]>
* Use the role from the crond context for system job contexts.
2018-08-28 Marcel Plch <[email protected]>
* Fix unsafe code
2018-08-28 Marcel Plch <[email protected]>
* Fix possible memory leaks
2018-05-03 Tomas Mraz <[email protected]>
* Release new version 1.5.2
2018-05-03 Tomas Mraz <[email protected]>
* Silence may be used uninitialized warning.
2018-05-03 Tomas Mraz <[email protected]>
* crontab: do not try to replace the crontab with a directory
2018-01-24 Tomas Mraz <[email protected]>
* Support the MAILFROM also in anacron.
2017-11-28 Tomas Mraz <[email protected]>
* Document that in range the first number must be less than second.
2017-10-28 sgerwk <[email protected]>
* round time on the minute
2017-10-28 sgerwk <[email protected]>
* print all jobs executed in interval
2017-10-28 sgerwk <[email protected]>
* new options -l and -q
2017-10-28 sgerwk <[email protected]>
* output in yaml format
2017-10-28 sgerwk <[email protected]>
* print the job(s) that is going to be executed next
2017-10-28 sgerwk <[email protected]>
* allow checking a time interval
2017-10-28 sgerwk <[email protected]>
* print format for flags
2017-11-02 Marco Migliori <[email protected]>
* cronnext can read additional crontabs from files
2017-09-14 Tomas Mraz <[email protected]>
* Use proper variable types.
2017-09-14 Tomas Mraz <[email protected]>
* Add myself as author.
2017-09-14 Tomas Mraz <[email protected]>
* Log startup even when started in non-forking mode.
2017-07-14 Mark Montague <[email protected]>
* Fix SELinux denial when running under Docker
2017-07-01 Sami Kerola <[email protected]>
* build-sys: use silent build rule
2017-06-11 Sami Kerola <[email protected]>
* cronnext: improve manual page
2017-06-11 Sami Kerola <[email protected]>
* all: add version printing option -V
2017-06-11 Sami Kerola <[email protected]>
* cronnext: use same style in usage() with other commands
2017-06-10 Sami Kerola <[email protected]>
* various files: fix indentation
2017-06-10 Sami Kerola <[email protected]>
* crond: never define unused cron_start_pam()
2017-05-01 SjonHortensius <[email protected]>
* Add Arch Linux to list of distributions
2017-04-28 Tomas Mraz <[email protected]>
* Fix misleading indentation.
2017-04-28 Tomas Mraz <[email protected]>
* Make cronnext build and work with additional features enabled.
2017-04-18 Tomas Mraz <[email protected]>
* Add MIME-Version header also to mails generated by anacron.
2017-04-18 Tomas Mraz <[email protected]>
* Add MIME-Version header to generated mails.
2017-03-29 Tomas Mraz <[email protected]>
* The output might not be mailed, make the message more precise.
2017-03-29 Tomas Mraz <[email protected]>
* Allow empty environment values in crontab.
2017-03-29 Tomáš Mráz <[email protected]>
* Point releases to the GitHub cronie releases page
2017-03-29 Kristýna Streitová <[email protected]>
* crontab.5: Add a mention about disabling logging
2017-03-29 Kristýna Streitová <[email protected]>
* Avoid creating pid files when crond doesn't fork
2017-01-20 Tomas Mraz <[email protected]>
* readme.md: remove CRs
2017-01-20 Tomas Mraz <[email protected]>
* Add readme.md for github
2016-09-08 Tomas Mraz <[email protected]>
* Make it clear that one of the reasons for getpwnam() failure is unknown user.
2016-09-05 Tomas Mraz <[email protected]>
* On some machines the power supply is named ADP0.
2016-08-23 Tomas Mraz <[email protected]>
* Query power supply status directly from kernel.
2016-06-27 Tomas Mraz <[email protected]>
* cronnext: Fix warnings
2016-06-27 Tomas Mraz <[email protected]>
* cronnext: Print usage and error on stderr.
2016-06-27 Marco Migliori <[email protected]>
* Added useful utility cronnext to find out time of the next job run.
2016-06-23 Tomas Mraz <[email protected]>
* anacron: Check return value of fchdir.
2016-06-23 Tomas Mraz <[email protected]>
* Release new version 1.5.1
2016-06-23 Tomas Mraz <[email protected]>
* Remove unneeded obsolete SELinux include.
2016-06-23 Tomas Mraz <[email protected]>
* Remove unneeded obsolete SELinux includes.
2016-06-23 Tomas Mraz <[email protected]>
* Rename timeval time to tv so time function can be used.
2016-06-23 Tomas Mraz <[email protected]>
* Fix longstanding race condition on crontab modification.
If crontab is modified twice at the same second the crond reads it
which means the timestamp will not change, the latest content will
never be read.
2016-06-10 Tomas Mraz <[email protected]>
* Fix misleading comment in pam configuration file.
2016-05-13 Tomas Mraz <[email protected]>
* anacron: use mkstemp() instead of tempnam()
Although the use of tempnam() seemed to be safeguarded
better to not use it at all.
2016-05-13 Tomas Mraz <[email protected]>
* anacron: Drop potentially unsafe umask setting.
2016-05-13 Tomas Mraz <[email protected]>
* anacron: Do not try to mail to empty address.
2016-04-25 Tomas Mraz <[email protected]>
* Clarify the crontab(1) documentation.
2016-04-23 Gary Tierney <[email protected]>
* Remove hardcoded "system_u" SELinux user
This gets rid of the hardcoded reference to the ref-policy system_u user
and instead relies on the user that cronie is currently running as.
2016-04-25 Tomas Mraz <[email protected]>
* Clarify return value.
2016-03-15 Tomas Mraz <[email protected]>
* Correct instructions for disabling Anacron.
2015-11-07 Ville Skyttä <[email protected]>
* Man page syntax fixes
2015-11-05 Robert Byrnes <[email protected]>
* Inherit PATH from the crond environment if -P option is used.
2015-07-13 Tomas Mraz <[email protected]>
* In crontab command use a temporary filename that is ignored by crond.
2015-05-28 Tomas Mraz <[email protected]>
* Add *.patch and *.orig to .gitignore
2015-05-28 Tomas Mraz <[email protected]>
* Add compile to .gitignore.
2015-05-28 Tomas Mraz <[email protected]>
* Release new version 1.5.0
properly create dist tarball even with anacron and PAM disabled
2015-05-28 Tomas Mraz <[email protected]>
* Pass the job environment also when executing the sendmail.
2015-01-31 Felix Janda <[email protected]>
* database.c: Use POSIX NAME_MAX instead of BSD MAXNAMLEN
2015-04-21 Tomas Mraz <[email protected]>
* Prevent adding duplicate orphans on reload.
2015-02-05 Tomas Mraz <[email protected]>
* Do not overwrite the last zero-byte.
2015-02-03 Tomas Mraz <[email protected]>
* Log the crond shutdown.
2015-01-28 Tomas Mraz <[email protected]>
* No need to call strcmp on already matched variables.
2015-01-28 Tomas Mraz <[email protected]>
* Use unbiased random number for RANDOM_DELAY.
2015-01-28 Tomas Mraz <[email protected]>
* Call PAM only when it makes sense.
2015-01-28 Tomas Mraz <[email protected]>
* Fix broken test for match_rx() failure.
2014-11-04 Tomas Mraz <[email protected]>
* Properly check the existence of the user at the time the job is run.
2014-09-17 Marcela Mašláňová <[email protected]>
* contrib/cronie.systemd: Services must be running before starting
crond, otherwise many jobs is not running properly for no obvious
reason. nss-user-lookup.target should help when people are authenticated
through nss/sssd. Based on: https://bugzilla.redhat.com/show_bug.cgi?id=1067236
2014-07-30 Marcela Mašláňová <[email protected]>
* src/cron.c: More logging when getpwnam fails. Based on: rhbz#1123984 Signed-off-by: Marcela Mašláňová <[email protected]>
2014-07-25 Marcela Mašláňová <[email protected]>
* configure.ac, src/env.c: BSD doesn't define environ in unistd.h.
Also cronie didn't have option for enabling BSD specifics. Based on: [email protected] Signed-off-by: Marcela Mašláňová <[email protected]>
2014-07-25 Marcela Mašláňová <[email protected]>
* anacron/readtab.c: Add missing brackets into anacron readtab. Signed-off-by: Marcela Mašláňová <[email protected]>
2014-07-25 Marcela Mašláňová <[email protected]>
* src/misc.c: Include missing header for signal handlers. Signed-off-by: Marcela Mašláňová <[email protected]>
2014-07-04 Marcela Mašláňová <[email protected]>
* contrib/cronie.systemd: Missing reload definition in unit file was
added. Signed-off-by: Marcela Mašláňová <[email protected]>
2014-04-30 Marcela Mašláňová <[email protected]>
* : commit b2c8cbcef8c97b5a175d6e71995249b288707b0f Author: Tomas
Mraz <[email protected]> Date: Tue Apr 29 14:08:25 2014
+0200
2014-03-31 Martin Poole <[email protected]>
* src/misc.c: crond installs a signal hander for SIGINT & SIGTERM
which removes the pid file and exits. This handler is not reset for
individual forked sub-processes which results in the condition that
if the child receives SIGINT or SIGTERM the pid file is erroneously
removed. Signed-off-by: Marcela Mašláňová <[email protected]>
2014-02-14 Marcela Mašláňová <[email protected]>
* anacron/readtab.c: Anacron does not correctly check configuration
parameters for validity and can segfault on certain data types. The return code
from the match_rx calls in readtab.c are not being checked
correctly. Bugfix let to segfaults in downstreams on non intel
architectures. All options in anacrontab should be now working
correctly. Based on patch from: Martin Poole
2014-01-20 Marcela Mašláňová <[email protected]>
* contrib/cronie.systemd: Remove syslog.target according to Fedora
and systemd guidelines. https://fedorahosted.org/fpc/ticket/177#comment:2 Thanks to: Ville Skyttä
2014-01-17 Ville Skyttä <[email protected]>
* man/anacron.8: [PATCH] Fix anacron.8 UTF-8 encoding. Signed-off-by: Marcela Mašláňová <[email protected]>
2013-12-18 Ville Skyta <[email protected]>
* anacron/lock.c, anacron/readtab.c, man/crontab.5, src/cron.c,
src/database.c: Spelling fixes. Signed-off-by: Marcela Mašláňová <[email protected]>
2013-12-18 Ville Skytta <[email protected]>
* anacron/readtab.c, src/do_command.c: strncmp() size fixes. Signed-off-by: Marcela Mašláňová <[email protected]>
2013-12-18 Martin Poole <[email protected]>
* anacron/readtab.c: Anacron does not correctly check configuration
parameters for validity and can segfault on certain data types. The
return code from the match_rx calls in readtab.c are not being
checked correctly. Signed-off-by: Marcela Mašláňová <[email protected]>
2013-09-26 Marcela Mašláňová <[email protected]>
* man/cron.8: crond -n must change pam setting.
2013-09-12 Marcela Mašláňová <[email protected]>
* cronie.init: Non-root user can't read configuration. Init file
will fail with proper error message. rhbz#1006869
2013-08-29 Marcela Mašláňová <[email protected]>
* : commit 2ec335f9549e8134102ac37665171a40a5407512 Author: Saul
Wold <[email protected]> Date: Mon Aug 26 11:18:27 2013 +0200
2013-08-16 Tomas Mraz <[email protected]>
* src/security.c: Pull PAM environment variables also from session
modules. - also fix memory leak of environment returned by pam_getenvlist()
2013-08-13 Marcela Mašláňová <[email protected]>
* contrib/cronie.systemd: KillMode in systemd unit file will enable
to finish jobs executed by cron. Even if cron dies, jobs should
continue. Based on: https://bugzilla.redhat.com/show_bug.cgi?id=919290
2013-08-09 Tomas Mraz <[email protected]>
* src/misc.c: Fcntl locking has different semantics than flock.
Prefer flock.
2013-07-18 Marcela Mašláňová <[email protected]>
* ChangeLog, configure.ac: Release 1.4.11
2013-06-11 Tomas Mraz <[email protected]>
* src/user.c: Log failures in load_user().
2013-06-11 Tomas Mraz <[email protected]>
* man/crontab.5, src/cron.c, src/entry.c, src/env.c, src/globals.h,
src/structs.h: Add support for RANDOM_DELAY of jobs.
2013-06-11 Tomas Mraz <[email protected]>
* src/user.c: Fixed bug introduced by previous commit and simplified
error handling.
2013-06-07 Tomas Mraz <[email protected]>
* src/env.c, src/funcs.h, src/user.c: Copy some variables from the
crond process environment. Also cleanup error handling in load_env().
2013-06-06 Tomas Mraz <[email protected]>
* src/cron.c: setenv takes 3 arguments
2013-06-06 Tomas Mraz <[email protected]>
* src/cron.c: Do not use putenv with string literal.
2013-04-25 Tomas Mraz <[email protected]>
* src/do_command.c: Make From field in mails from crond RFC
compliant.
2012-12-30 Sami Kerola <[email protected]>
* src/crontab.c: cron: clarify usage() print out The -n option needs argument, which was missing from the usage(). Signed-off-by: Sami Kerola <[email protected]>
2012-12-29 Sami Kerola <[email protected]>
* anacron/global.h, anacron/main.c, anacron/readtab.c: anacron: fix
shadow declarations Change global variables to have more specific name. This will make
warnings about shadowing to go away, and may result to a little more
readable code. log.c:74:35: warning: declaration of 'args' shadows a global
declaration [-Wshadow] global.h:97:15: warning: shadowed declaration
is here [-Wshadow] Reference:
http://web.archiveorange.com/archive/v/N6p0RpcfZsIBsaU8B2sE#72jDywyk8NZ3i9gSigned-off-by: Sami Kerola <[email protected]>
2012-12-29 Sami Kerola <[email protected]>
* src/crontab.c, src/entry.c, src/macros.h, src/security.c: smatch
scan: fix various warningss found using smatch entry.c:396 load_entry() info: redundant null check on e->pwd
calling free() entry.c:398 load_entry() info: redundant null check
on e->cmd calling free() /usr/include/bits/fcntl.h:48:10: warning: preprocessor token
O_NOFOLLOW redefined macros.h:136:9: this was the original
definition security.c:98:44: warning: non-ANSI function declaration of function
'cron_restore_default_security_context' crontab.c:439:29: warning:
non-ANSI function declaration of function 'tmp_path' Signed-off-by: Sami Kerola <[email protected]>
2013-01-02 Marcela Mašláňová <[email protected]>
* man/cron.8: Mention systemctl command in man page of crond. Based
on rhbz#891160.
2012-12-20 Sami Kerola <[email protected]>
* contrib/0anacron: contrib: remove bashisms Signed-off-by: Sami Kerola <[email protected]>
2012-12-20 Sami Kerola <[email protected]>
* COPYING.anacron, anacron/global.h, anacron/gregor.c,
anacron/gregor.h, anacron/lock.c, anacron/log.c, anacron/main.c,
anacron/matchrx.c, anacron/matchrx.h, anacron/readtab.c,
anacron/runjob.c: docs: corrections to FSF license files, and postal
address The COPYING and file is replaced by files from GNU web site. http://www.gnu.org/licenses/gpl-2.0.txt Postal addresses to FSF in other files are updated to match with the
address in license files. References:
http://lists.gnu.org/archive/html/freefont-announce/2005-04/msg00001.htmlSigned-off-by: Sami Kerola <[email protected]>
2012-12-02 Sami Kerola <[email protected]>
* cronie.init: init script: remove bashisms References: https://sourceforge.net/projects/checkbaskisms/
Signed-off-by: Sami Kerola <[email protected]>
2012-12-01 Sami Kerola <[email protected]>
* anacron/log.c, anacron/main.c, anacron/readtab.c,
anacron/runjob.c: anacron: make function declarations to be ansi
compliant Signed-off-by: Sami Kerola <[email protected]>
2012-12-01 Sami Kerola <[email protected]>
* anacron/main.c, anacron/runjob.c: anacron: remove numeric exit and
file descriptor values Use symbolic values from standard header instead. Signed-off-by: Sami Kerola <[email protected]>
2012-12-01 Sami Kerola <[email protected]>
* anacron/main.c: anacron: clean up usage() output Inform in usage which options will need arguments, and add reference
to manual page. Signed-off-by: Sami Kerola <[email protected]>
2012-12-01 Sami Kerola <[email protected]>
* anacron/runjob.c: anacron: set end job message string to be
constant runjob.c:308:7: warning: assignment discards 'const' qualifier from
pointer target type [enabled by default] Signed-off-by: Sami Kerola <[email protected]>
2012-12-01 Sami Kerola <[email protected]>
* anacron/global.h, anacron/main.c: anacron: add function attributes Signed-off-by: Sami Kerola <[email protected]>
2012-12-01 Sami Kerola <[email protected]>
* Makefile.am, cronie_common.h, src/cron.c, src/crontab.c,
src/security.c: compile: add function attributes Some of the argument values are not in use, and few functions does
not return. Informing which will make few warning messages
disapper, and compiler to generate better binary. Signed-off-by: Sami Kerola <[email protected]>
2012-12-01 Sami Kerola <[email protected]>
* src/cron.c: compile: fix signed and unsigned warnings cron.c:100:16: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare] cron.c:108:16: warning:
comparison between signed and unsigned integer expressions
[-Wsign-compare] cron.c:125:16: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare] Signed-off-by: Sami Kerola <[email protected]>
2012-11-27 Sami Kerola <[email protected]>
* src/cron.c: crond: make usage easier to read Signed-off-by: Sami Kerola <[email protected]>
2012-11-27 Sami Kerola <[email protected]>
* src/crontab.c: crontab: make usage easier to read Signed-off-by: Sami Kerola <[email protected]>
2012-11-27 Marcela Mašláňová <[email protected]>
* ChangeLog, configure.ac: New release 1.4.10.
2012-11-27 Marcela Mašláňová <[email protected]>
* src/crontab.c, src/do_command.c, src/funcs.h: Condtionalize pam
functions.
2012-11-27 Tomas Mraz <[email protected]>
* configure.ac: Drop duplicate -lselinux -laudit.
2012-11-27 Tomas Mraz <[email protected]>
* src/funcs.h, src/security.c, src/structs.h: Fix missing includes
for selinux and other types.
2012-11-27 Marcela Mašláňová <[email protected]>
* man/cron.8, src/cron.c: Fix some issues introduced in c58b1d9
Documentation improvements based on Michael Lass suggestions. * give -m an own line in manpage * don't explain -P twice * correct description of -P to what it actually does Signed-off-by: Marcela Mašláňová <[email protected]>
2012-11-26 Tomas Mraz <[email protected]>
* src/crontab.c: Fix const usage in crontab.
2012-11-22 Sami Kerola <[email protected]>
* man/anacron.8: docs: anacron fix out dated information about open
file limits For quite a while open files limit has defaulted to 1024, but rather
than informing what might be the number user should inspect value
from own time. Signed-off-by: Sami Kerola <[email protected]>
2012-11-22 Sami Kerola <[email protected]>
* man/anacrontab.5: docs: fix reference to other manual There is no crontabs(4). For user it makes most sense to look
crontab(1). Signed-off-by: Sami Kerola <[email protected]>
2012-11-22 Sami Kerola <[email protected]>
* man/anacron.8, man/anacrontab.5, man/cron.8, man/crontab.1,
man/crontab.5: docs: fix various groff issues * Add spaces after dots (English spacing). * Remove use of inline emphasis where possible. * Use mail and url macros. * Wrap long and join short lines. * Remove end of line white spaces. Signed-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* configure.ac, src/pathnames.h: build-sys: make ./configure to
seach vi path Using "/usr/ucb/vi" as defaut fallback EDITOR is not going to work
on most of distributions where this package is installed. That said
it might work somewhere, so searching the vi editor at configure
time is the sensible thing to do, if user does not want to define
the default. Signed-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* src/cron.c, src/crontab.c, src/database.c, src/do_command.c,
src/entry.c, src/env.c, src/macros.h, src/security.c, src/user.c:
debuging: make Debug macro look like function This will make indent(1) program not to think it is a clause. Signed-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* src/do_command.c, src/user.c: declarations: fix shadow
declarations user.c:68:7: warning: declaration of 'save_errno' shadows a previous
local [-Wshadow] user.c:64:14: warning: shadowed declaration is here
[-Wshadow] do_command.c:559:9: warning: declaration of 'pid' shadows a previous
local [-Wshadow] do_command.c:91:8: warning: shadowed declaration is
here [-Wshadow] Signed-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* src/Makefile.am, src/cron.c, src/cron.h, src/crontab.c,
src/database.c, src/do_command.c, src/entry.c, src/env.c,
src/externs.h, src/funcs.h, src/globals.h, src/job.c, src/macros.h,
src/misc.c, src/popen.c, src/pw_dup.c, src/security.c,
src/structs.h, src/user.c: includes: make inclusions clean This change makes files to include what they need, instead of having
generic inclusion headers which will include everything to
everywhere. Also the local headers havee ifndef & define
protection, which makes them to be save to include in any file,
without one having to think in which order the inclusions happen at
compile time. Signed-off-by: Sami Kerola <[email protected]>
2012-11-26 Tomas Mraz <[email protected]>
* src/misc.c: Fix up also the const in comment.
2012-11-24 Sami Kerola <[email protected]>
* src/crontab.c, src/database.c, src/env.c, src/funcs.h, src/misc.c:
variables: use const where ever possible Signed-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* src/crontab.c, src/security.c, src/user.c: build-sys: reduce
selinux and pam compiling scope when possible This will fix following warnings, and makes compiled program to
contain less unnecessary references. crontab.c:60:14: warning: 'selinux_context' defined but not used
[-Wunused-variable] security.c:188:12: warning:
'cron_open_pam_session' defined but not used [-Wunused-function]
security.c:250:12: warning: 'cron_authorize_context' defined but not
used [-Wunused-function] security.c:283:12: warning:
'cron_authorize_range' defined but not used [-Wunused-function] Signed-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* src/crontab.c: compliancy: do not mix declarations and code Signed-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* src/database.c, src/do_command.c: clean up: reduce variable
passing when they are not used Signed-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* src/database.c, src/pw_dup.c, src/security.c: assingments: remove
initialization if value is never used The next operation with these variables will overwrite the values
set at init. Signed-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* src/cron.c, src/entry.c, src/env.c, src/misc.c, src/popen.c:
compliancy: use memset() rather than bzero() Reference:
http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap03.htmlSigned-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* src/Makefile.am: build-sys: make clean needs to remove
cron-paths.h The file is generated at build time. This change is needed to make
distcheck work without an error. [...] ERROR: files left in build directory after distclean:
./src/cron-paths.h Signed-off-by: Sami Kerola <[email protected]>
2012-11-24 Sami Kerola <[email protected]>
* autogen.sh: build-sys: add autotools helper script The script will help building when source code is checked out from
git. Signed-off-by: Sami Kerola <[email protected]>
2012-11-26 Tomas Mraz <[email protected]>
* src/cron.c: Do not log that syslog will be used instead of
sendmail if explicitly requested.
2012-11-26 Tomas Mraz <[email protected]>
* configure.ac, src/cron.c, src/database.c: Enable system crontab by
default and use AC_ARG_ENABLE instead of AC_ARG_WITH.
2012-11-22 Marcela Mašláňová <[email protected]>
* ChangeLog, configure.ac: Minor release 1.4.9.
2012-11-13 Marcela Mašláňová <[email protected]>
* man/cron.8, src/cron.c: Documentation improvements based on
Michael Lass suggestions.
2012-11-02 Marcela Mašláňová <[email protected]>
* contrib/cronie.systemd: Add time-sync.target. If synchronization
is used, crond will start after sync by ntpd/chrony. rhbz#872516
2012-10-11 Tom Jones <[email protected]>
* man/cron.8, src/cron.c, src/entry.c, src/globals.h: The sysadmin
may want to arrange for the PATH to be correct in the environment
from which cron is launched. This new option tells cron to not
overwrite this path for itself or for the child cron jobs. Signed-off-by: Marcela Mašláňová <[email protected]>
2012-07-24 Marcela Mašláňová <[email protected]>
* configure.ac: The enable-relro erased previously set LDFLAGS.
2012-07-02 Marcela Mašláňová <[email protected]>
* man/crontab.5: Fix typo in man page. rhbz#836292 Thanks to: Dave Allan
2012-06-22 Marcela Mašláňová <[email protected]>
* anacron/global.h, anacron/lock.c, anacron/main.c,
anacron/readtab.c: Preferred hour of start of the job. If the hour
is missed job will be skipped.
2012-06-21 Marcela Mašláňová <[email protected]>