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

Fix GVMUpdate job #297

Conversation

alexandrefresnais
Copy link

@alexandrefresnais alexandrefresnais commented Nov 9, 2021

Summary

This PR makes the sync-all.sh script executable directly by the gvm user.
The supervisor conf is running the GVMUpdate job as gvm user and thus, the feed is never updated due to su errors.
See #293

I did not want to make the job run as root for good security practices reasons.
So instead, I check whether or not the user is root or gvm and adapt the update commands.

Fixed Bug/Issues solved:

Resolves #293

#293

Breaking Changes:

The sync-all.sh script is working when executed by gvm user.

@austinsonger austinsonger linked an issue Nov 12, 2021 that may be closed by this pull request
@austinsonger austinsonger merged commit f9a6b1b into Secure-Compliance-Solutions-LLC:dev Nov 12, 2021
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.

[Bug] Feed update issues
2 participants