Skip to content

1175: specify user for cron.d freshclam file#1176

Merged
tomav merged 4 commits intodocker-mailserver:masterfrom
erik-wramner:1175-crontab-freshclam
Jul 23, 2019
Merged

1175: specify user for cron.d freshclam file#1176
tomav merged 4 commits intodocker-mailserver:masterfrom
erik-wramner:1175-crontab-freshclam

Conversation

@erik-wramner
Copy link
Copy Markdown
Contributor

See issue 1175, cron complains that the freshclam entry in cron.d is invalid as it lacks a user. Fixed by adding root as user.

Note that the unit tests were failing before this, they are still failing after this and I don't really know how to test this with a unit test. A good manual test is to let the cron job run once with and without the fix. Without it there are errors in the logs and the cron job does not run.

@erik-wramner
Copy link
Copy Markdown
Contributor Author

Merged in the fixed unit tests from my other pull request (dovecot fixes and root alias change script fix) so that the tests are green. It would be nice to get this in?

@tomav tomav merged commit 603dbbd into docker-mailserver:master Jul 23, 2019
@tomav
Copy link
Copy Markdown
Contributor

tomav commented Jul 23, 2019

Thanks @erik-wramner

@erik-wramner erik-wramner deleted the 1175-crontab-freshclam branch August 2, 2019 08:23
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

Successfully merging this pull request may close these issues.

2 participants