-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sysstat
blocks fcron
running cron.hourly
#49553
Comments
sysstat
blocks fcron
running cron.hourly
sysstat
blocks fcron
running cron.hourly
probably caused by sysstat/sysstat@e659232, where an assumption is probably made that the cron daemon runs things in |
Hmm, adding
in a test file in
Perhaps this is an |
then yeah it's probably fcron. might be interesting to check how another cron daemon reacts to this |
I've tested with So I think a solution might be to patch |
Surely cronie runs all jobs in parallel? |
But perhaps sysstat should use a /etc/cron.d file, as run-parts from 0hourly will run in sequence (by design). So sysstat shouldn't be run from cron.hourly. |
Seemingly not.
Yeah that sounds sensible, so just change these to void-packages/srcpkgs/sysstat/template Lines 25 to 26 in fc3f3c3
|
I'm at it, let me test it locally. |
Upstream moved. Use /etc/cron.d since the sa1 calls should not block run-parts cron.hourly. Fixes void-linux/void-packages#49553. void-linux/void-packages@16ecee2
Upstream moved. Use /etc/cron.d since the sa1 calls should not block run-parts cron.hourly. Fixes void-linux#49553.
Is this a new report?
Yes
System Info
Void 6.6.22_1 x86_64 AuthenticAMD notuptodate rrrmFFFF
Package(s) Affected
sysstat-12.7.2_1, fcron-3.3.1_2
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No, not that I can see
Expected behaviour
fcron
runs all scripts in/etc/cron.hourly
Actual behaviour
fcron
runs all scripts alphabetically up tosysstat
. This process does not terminate, lockingfcron
and preventing the execution of files starting with letters after 's' in/etc/cron.hourly
.Steps to reproduce
sysstat
,fcron
, and setup thefcron
service and systab crontab./etc/cron.hourly
.sysstat
locking.The text was updated successfully, but these errors were encountered: