void-linux / void-linux/void-packages

latest sysstat upgrade removes sysstat cron jobs

Open
#49,682 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

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

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No, this is a packaging issue.

Expected behaviour

The sysstat cron jobs should continue to run after the upgrade to sysstat-12.7.5_1 .

Actual behaviour

After the upgrade cron jobs do not run. In fact the file containing them has been removed (from /etc/cron.hourly). There is a replacement in /etc/cron.d but my scheduling program - fcron - does not read files in that directory.

Steps to reproduce
  1. On a system with an earlier version of sysstat with fcron and sysstat cron jobs running ...
  2. Upgrade sysstat to 12.7.5_1
  3. Cron jobs no longer run.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting how the sysstat package upgrade moves its cron jobs from /etc/cron.hourly to /etc/cron.d, using the reported upgrade from sysstat-12.7.5_1 as the reproduction case. Check the scheduling behavior with fcron and verify that the sysstat jobs continue running after the upgrade without losing the /etc/cron.d replacement.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.