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

Feature request: In-memory roots from currently-running processes #70

Open
chkno opened this issue May 21, 2021 · 0 comments · May be fixed by #75
Open

Feature request: In-memory roots from currently-running processes #70

chkno opened this issue May 21, 2021 · 0 comments · May be fixed by #75

Comments

@chkno
Copy link
Contributor

chkno commented May 21, 2021

--gc-roots is good because it includes all the roots in use by currently-running processes (found by rummaging through /proc/). But --gc-roots is bad because it includes all the old profiles.

nixos-rebuild switch, nix-env updates, etc., (intentionally) don't restart everything. vulnix ought to be able to raise issues with currently-running jobs (especially because nix dynamic gc-root tracking already does all the hard work here).

Please provide an option to just include the roots from currently-running processes.

@chkno chkno linked a pull request May 21, 2021 that will close this issue
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 a pull request may close this issue.

1 participant