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

Add check if gvmd data feed dir exists #1360

Merged

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Nov 23, 2020

What:

gvmd now checks if the parent feed directory exists and only warns about it once per startup.

Why:
To avoid flooding the log if the feed directory does not exist because the sync was not run yet.

How did you test it:

I tested this by running gvmd and renaming the gvmd feed directory ($PREFIX/var/lib/gvm/data-objects/)
to a different name and back.

Checklist:

To avoid flooding the log if the feed directory does not exist
because the sync was not run yet, gvmd now checks if the parent feed
directory exists and only warns about it once per startup.
@timopollmeier timopollmeier marked this pull request as ready for review November 23, 2020 07:58
@mattmundell mattmundell merged commit 9a0bb86 into greenbone:gvmd-20.08 Nov 23, 2020
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