Skip to content

additionalNetrcSources files are loaded only once #183

@abeluck

Description

@abeluck

We have a private binary cache. Our tokens are short lived (60m), and automatically rotated during the work day by a local service. Every morning we have to re-up the oauth session. This means the netrc value is being updated on a regular basis.

But with detsys nix the files in additionalNetrcSources are read only once when the daemon boots. This means after an hour when the token rotates, even though the file referenced in additionalNetrcSources has been updated with a new token, the nix-daemon is still using the old one.

Ideally the additionalNetrcSources files would be checked on every use just like the real/effective netrc file is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions