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

Not able to point this db cache location in a flag #911

Closed
klauern opened this issue Sep 20, 2019 · 1 comment
Closed

Not able to point this db cache location in a flag #911

klauern opened this issue Sep 20, 2019 · 1 comment
Labels
Milestone

Comments

@klauern
Copy link

klauern commented Sep 20, 2019

What did you do? (required. The issue will be closed when not provided.)

I'm attempting to run the vuls server from a read-only filesystem, using Redis as a backend to store and retrieve all of the information. When I start it up, passing in all of the necessary information to speak to a Redis instance, it fails saying it is unable to fill the Library.

These lines appear to load the Library, with no way to customize it:

vuls/report/report.go

Lines 153 to 155 in d5a3e5c

nCVEs, err := libmanager.FillLibrary(r)
if err != nil {
return xerrors.Errorf("Failed to fill with Library dependency: %w", err)

And the error seems to occur here:

if err := db.Init(); err != nil {

  • Current Output
time="2019-09-20T02:37:19Z" level=error msg="Failed to fill with Library dependency: failed to mkdir: mkdir db: read-only file system" prefix=localhost
@klauern klauern added the bug label Sep 20, 2019
@kotakanbe kotakanbe added this to the v0.9.3 milestone Apr 8, 2020
@kotakanbe
Copy link
Member

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

No branches or pull requests

2 participants