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

Use a saner default for GVM_FEED_LOCK_PATH #1665

Merged
merged 2 commits into from
Aug 19, 2021

Conversation

bjoernricks
Copy link
Contributor

@bjoernricks bjoernricks commented Aug 5, 2021

What:

Use a saner default for GVM_FEED_LOCK_PATH

Why:

The GVM_FEED_LOCK_PATH is also used by the greenbone-feed-sync script.
If gvmd is not running and not started by the systemd service file the
/run/gvm directory (GVM_STATE_DIR) may not be available. Therefore use
a saner default: /var/lib/gvm/feed-update.lock which corresponds to a
similar lock file location in openvas scanner.

How did you test it:

Checklist:

The GVM_FEED_LOCK_PATH is also used by the greenbone-feed-sync script.
If gvmd is not running and not started by the systemd service file the
/run/gvm directory (GVM_STATE_DIR) may not be available. Therefore use
a saner default: /var/lib/gvm/feed-update.lock which corresponds to a
similar lock file location in openvas scanner.
@bjoernricks bjoernricks added backport-to-main This pull request will be ported to the master branch backport-to-stable This pull request will be backported to the stable branch labels Aug 5, 2021
@bjoernricks bjoernricks marked this pull request as ready for review August 5, 2021 09:49
@bjoernricks bjoernricks requested a review from a team as a code owner August 5, 2021 09:49
@bjoernricks bjoernricks merged commit 56cf907 into gvmd-20.08 Aug 19, 2021
@bjoernricks bjoernricks deleted the bricks/adjust-default-paths branch August 19, 2021 06:36
bjoernricks added a commit that referenced this pull request Aug 19, 2021
Use a saner default for GVM_FEED_LOCK_PATH (backport #1665)
bjoernricks added a commit that referenced this pull request Aug 19, 2021
Use a saner default for GVM_FEED_LOCK_PATH (backport #1665)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-main This pull request will be ported to the master branch backport-to-stable This pull request will be backported to the stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants