* [ISSUE] sysstat cron jobs do not run with fcron
@ 2024-03-31 12:04 ericjunkermann
2024-04-01 21:35 ` Clos3y
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ericjunkermann @ 2024-03-31 12:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]
New issue by ericjunkermann on void-packages repository
https://github.com/void-linux/void-packages/issues/49623
Description:
### Is this a new report?
Yes
### System Info
Void 6.6.21_1 x86_64 AuthenticAMD notuptodate hold rFFFF
### Package(s) Affected
sysstat-12.7.5_1 fcron-3.3.1_2
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
The sysstat cron jobs (now in /etc/cron.d/sysstat) should run normally.
### Actual behaviour
The sysstat cron jobs do not run, and fcron reports an error that /etc/cron.hourly does not exist.
The latter is true because apparently the update of systat removed it (because it was not empty?).
The former is because fcron does not use /etc/cron.d - it contains a script **check_system_crontabs.sh** which is in fcron's upstream repository but is **NOT** distributed - see comments in that file for how to use it (if it was distributed!) - the comments do not say that it overwrites /var/spool/cron/systab.orig and the corresponding binary file which loses the hourly.cron , daily.cron ... which were previously there. Those interval files need to be somewhere else (/etc/fcrontab ?) so that they will still run.
### Steps to reproduce
See above - this is a state of affairs, not an action.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sysstat cron jobs do not run with fcron
2024-03-31 12:04 [ISSUE] sysstat cron jobs do not run with fcron ericjunkermann
@ 2024-04-01 21:35 ` Clos3y
2024-04-02 16:22 ` [ISSUE] [CLOSED] " ahesford
2024-04-02 16:22 ` ahesford
2 siblings, 0 replies; 4+ messages in thread
From: Clos3y @ 2024-04-01 21:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
New comment by Clos3y on void-packages repository
https://github.com/void-linux/void-packages/issues/49623#issuecomment-2030600052
Comment:
@leahneukirchen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ISSUE] [CLOSED] sysstat cron jobs do not run with fcron
2024-03-31 12:04 [ISSUE] sysstat cron jobs do not run with fcron ericjunkermann
2024-04-01 21:35 ` Clos3y
@ 2024-04-02 16:22 ` ahesford
2024-04-02 16:22 ` ahesford
2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2024-04-02 16:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]
Closed issue by ericjunkermann on void-packages repository
https://github.com/void-linux/void-packages/issues/49623
Description:
### Is this a new report?
Yes
### System Info
Void 6.6.21_1 x86_64 AuthenticAMD notuptodate hold rFFFF
### Package(s) Affected
sysstat-12.7.5_1 fcron-3.3.1_2
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
The sysstat cron jobs (now in /etc/cron.d/sysstat) should run normally.
### Actual behaviour
The sysstat cron jobs do not run, and fcron reports an error that /etc/cron.hourly does not exist.
The latter is true because apparently the update of systat removed it (because it was not empty?).
The former is because fcron does not use /etc/cron.d - it contains a script **check_system_crontabs.sh** which is in fcron's upstream repository but is **NOT** distributed - see comments in that file for how to use it (if it was distributed!) - the comments do not say that it overwrites /var/spool/cron/systab.orig and the corresponding binary file which loses the hourly.cron , daily.cron ... which were previously there. Those interval files need to be somewhere else (/etc/fcrontab ?) so that they will still run.
### Steps to reproduce
See above - this is a state of affairs, not an action.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sysstat cron jobs do not run with fcron
2024-03-31 12:04 [ISSUE] sysstat cron jobs do not run with fcron ericjunkermann
2024-04-01 21:35 ` Clos3y
2024-04-02 16:22 ` [ISSUE] [CLOSED] " ahesford
@ 2024-04-02 16:22 ` ahesford
2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2024-04-02 16:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 633 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/49623#issuecomment-2032507029
Comment:
The fact that `fcron` doesn't support `/etc/cron.d` is a design decision, not a bug. We ship crontab snippets as a convenience, but users are expected to either use a cron daemon that supports them or else implement their own preferred approach to periodic execution.
If running a script we didn't distribute clobbered the system crontab that runs the rest of the scripts in `/etc/cron.*`, restore the file from the package and be more careful about running such scripts in the future.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-02 16:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-31 12:04 [ISSUE] sysstat cron jobs do not run with fcron ericjunkermann
2024-04-01 21:35 ` Clos3y
2024-04-02 16:22 ` [ISSUE] [CLOSED] " ahesford
2024-04-02 16:22 ` ahesford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).