Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] latest sysstat upgrade removes sysstat cron jobs
@ 2024-04-02 19:51 ericjunkermann
  2024-04-02 19:54 ` ericjunkermann
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ericjunkermann @ 2024-04-02 19:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 950 bytes --]

New issue by ericjunkermann on void-packages repository

https://github.com/void-linux/void-packages/issues/49682

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: latest sysstat upgrade removes sysstat cron jobs
  2024-04-02 19:51 [ISSUE] latest sysstat upgrade removes sysstat cron jobs ericjunkermann
@ 2024-04-02 19:54 ` ericjunkermann
  2024-04-04 11:53 ` Clos3y
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ericjunkermann @ 2024-04-02 19:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]

New comment by ericjunkermann on void-packages repository

https://github.com/void-linux/void-packages/issues/49682#issuecomment-2032988921

Comment:
This is actually a replacement for #49623, because somebody closed that apparently without noticing that it was about sysstat and only secondarily about fcron in regard to which the only point was the the distribution (or not) of check_system_crontabs.sh .

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: latest sysstat upgrade removes sysstat cron jobs
  2024-04-02 19:51 [ISSUE] latest sysstat upgrade removes sysstat cron jobs ericjunkermann
  2024-04-02 19:54 ` ericjunkermann
@ 2024-04-04 11:53 ` Clos3y
  2024-04-04 13:07 ` ericjunkermann
  2024-04-04 14:36 ` Clos3y
  3 siblings, 0 replies; 5+ messages in thread
From: Clos3y @ 2024-04-04 11:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 795 bytes --]

New comment by Clos3y on void-packages repository

https://github.com/void-linux/void-packages/issues/49682#issuecomment-2036963519

Comment:
Regarding the `fcron` aspect, `check_system_crontabs.sh` overwrites the system crontab (https://github.com/yo8192/fcron/blob/f49f631186c5ef8881845f43d9e58214dfa897b6/script/check_system_crontabs.sh#L9-L11), so I don't think distributing that script is a good idea.

As for `sysstat` specifically, I'm not sure what the solution is. When you look at the sysstat makefile (https://github.com/sysstat/sysstat/blob/443ade20dacee37c4e1cac946212f467a22fcac5/Makefile.in#L625-L632) there are only two options for cron on systemd-less distros: either in `/etc/cron.d` or `/etc/cron.{daily,hourly}`. But the latter causes cron to halt for 50 minutes (#49553).

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: latest sysstat upgrade removes sysstat cron jobs
  2024-04-02 19:51 [ISSUE] latest sysstat upgrade removes sysstat cron jobs ericjunkermann
  2024-04-02 19:54 ` ericjunkermann
  2024-04-04 11:53 ` Clos3y
@ 2024-04-04 13:07 ` ericjunkermann
  2024-04-04 14:36 ` Clos3y
  3 siblings, 0 replies; 5+ messages in thread
From: ericjunkermann @ 2024-04-04 13:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

New comment by ericjunkermann on void-packages repository

https://github.com/void-linux/void-packages/issues/49682#issuecomment-2037168885

Comment:
I get the point about fcron, The script is mentioned in the fcron docs, though probably with insufficient detail of what it does. Not void's problem I guess.

I have read #49553 and it makes sense. I have fixed my own crontab files so that what want to happen actually happens, but it would have been nice if the sysstat upgrade somehow came with a warning for fcron users. (I've been using fcron for years but never bothered about cron.d)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: latest sysstat upgrade removes sysstat cron jobs
  2024-04-02 19:51 [ISSUE] latest sysstat upgrade removes sysstat cron jobs ericjunkermann
                   ` (2 preceding siblings ...)
  2024-04-04 13:07 ` ericjunkermann
@ 2024-04-04 14:36 ` Clos3y
  3 siblings, 0 replies; 5+ messages in thread
From: Clos3y @ 2024-04-04 14:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

New comment by Clos3y on void-packages repository

https://github.com/void-linux/void-packages/issues/49682#issuecomment-2037392720

Comment:
> it would have been nice if the sysstat upgrade somehow came with a warning for fcron users.

Yeah I agree: I'll take some blame for not suggesting that in my issue.

So what do you envisage as the resolution to this issue?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-04 14:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-02 19:51 [ISSUE] latest sysstat upgrade removes sysstat cron jobs ericjunkermann
2024-04-02 19:54 ` ericjunkermann
2024-04-04 11:53 ` Clos3y
2024-04-04 13:07 ` ericjunkermann
2024-04-04 14:36 ` Clos3y

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).