Skip to content
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

cronie 1.7.0 sends error emails "/etc/default/anacron: No such file or directory" #159

Closed
sbraz opened this issue Oct 14, 2023 · 3 comments

Comments

@sbraz
Copy link

sbraz commented Oct 14, 2023

Hi,
As reported in https://bugs.gentoo.org/915724, since b53221f, 0anacron attempts to source a non-existing file because no /etc/default/anacron gets installed.
It sends this kind of errors by email:

/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory
run-parts: /etc/cron.hourly/0anacron exited with return code 1

I'm pinging @fgozzini who authored the commit. It would be nice to restore the test -r check that was present in the first version of #115.

sbraz added a commit to sbraz/cronie that referenced this issue Oct 14, 2023
@sbraz
Copy link
Author

sbraz commented Oct 14, 2023

I've offered a fix in #160.

@t8m
Copy link
Member

t8m commented Oct 16, 2023

I've merged the other PR as I've read it first in the list of PRs. Thank you for your bug report and fix anyway.

@t8m t8m closed this as completed Oct 16, 2023
@sbraz
Copy link
Author

sbraz commented Oct 16, 2023

No problem, adding the commit here for reference: 7700b14 (from #161).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants