#1758 Accuracy not a valid systemd keyword in koji-sweep-db.timer
Closed: Fixed by tkopecek. Opened by jforaker.

The timer attempts to set an accuracy with:

Accuracy=1h

which causes errors:

[root@koji ~]# systemctl status -l koji-sweep-db.timer
 koji-sweep-db.timer - Daily maintenance script for koji db
   Loaded: loaded (/usr/lib/systemd/system/koji-sweep-db.timer; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: https://pagure.io/docs/koji/
Nov 04 13:59:51 koji.buildfarm systemd[1]: [/usr/lib/systemd/system/koji-sweep-db.timer:7] Unknown lvalue 'Accuracy' in section 'Timer'

AccuracySec looks to be the proper keyword. That said, it doesn't seem like there's much benefit to be gained from setting timer accuracy lower than systemd's generous 1m default, so perhaps it should just be removed instead?


Metadata Update from @tkopecek:
- Custom field Size adjusted to small
- Issue set to the milestone: 1.20
- Issue tagged with: bug, easyfix

PR #1761

Commit d412eb00 fixes this issue

Commit 5b8c74a0 fixes this issue

Metadata Update from @jcupova:
- Issue tagged with: testing-done

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1758

Please continue any further discussion there.

Metadata
Related Pull Requests