Skip to content

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

@chkno

Description

@chkno

--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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions