Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 774051

Summary: sys-process/systemd-cron-1.5.15: Unknown key name 'ConditionPathExists' in section 'Timer', ignoring.
Product: Gentoo Linux Reporter: Michael Brakemeier <michael>
Component: Current packagesAssignee: Richard Freeman <rich0>
Status: UNCONFIRMED ---    
Severity: normal CC: lssndrbarbieri
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/systemd-cron/systemd-cron/issues/71
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Brakemeier 2021-03-03 12:25:54 UTC
Current Versions of sys-process/systemd-cron at least up to Version 1.5.15 uses invalid timer Units and spam the log with messages:
Mär 03 12:31:09 abaddon systemd[1]: /lib/systemd/system/cron-monthly.timer:10: Unknown key name 'ConditionPathExists' in section 'Timer', ignoring.
Mär 03 12:31:09 abaddon systemd[1]: /lib/systemd/system/cron-failure@.service:11: Special user nobody configured, this is not safe!
Mär 03 12:31:09 abaddon systemd[1]: /lib/systemd/system/cron-weekly.timer:10: Unknown key name 'ConditionPathExists' in section 'Timer', ignoring.
Mär 03 12:31:09 abaddon systemd[1]: /lib/systemd/system/cron-failure@.service:11: Special user nobody configured, this is not safe!
Mär 03 12:31:09 abaddon systemd[1]: /lib/systemd/system/cron-daily.timer:10: Unknown key name 'ConditionPathExists' in section 'Timer', ignoring.
Mär 03 12:31:09 abaddon systemd[1]: /lib/systemd/system/cron-failure@.service:11: Special user nobody configured, this is not safe!
Mär 03 12:31:09 abaddon systemd[1]: /lib/systemd/system/cron-hourly.timer:10: Unknown key name 'ConditionPathExists' in section 'Timer', ignoring.
Mär 03 12:31:09 abaddon systemd[1]: /lib/systemd/system/cron-failure@.service:11: Special user nobody configured, this is not safe!

This seems to be fixed upstream, latest version is 1.5.17, please update.




Reproducible: Always

Steps to Reproduce:
1.emerge sys-process/systemd-cron
2.
3.
Actual Results:  
Repeated warnings in system log.

Expected Results:  
No warnings in system log.
Comment 1 Richard Freeman gentoo-dev 2021-03-05 15:33:59 UTC
I'll go ahead and bump and see what happens, but upstream actually still lists this issue as open.

https://github.com/systemd-cron/systemd-cron/issues/71
Comment 2 Larry the Git Cow gentoo-dev 2021-03-05 20:13:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a91f45a8de524855702689190df14f6f08f0089b

commit a91f45a8de524855702689190df14f6f08f0089b
Author:     Richard Freeman <rich0@gentoo.org>
AuthorDate: 2021-03-05 20:13:21 +0000
Commit:     Richard Freeman <rich0@gentoo.org>
CommitDate: 2021-03-05 20:13:21 +0000

    sys-process/systemd-cron: bump
    
    Bug: https://bugs.gentoo.org/774051
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Richard Freeman <rich0@gentoo.org>

 sys-process/systemd-cron/Manifest                  |  1 +
 .../systemd-cron/systemd-cron-1.5.17.ebuild        | 86 ++++++++++++++++++++++
 2 files changed, 87 insertions(+)