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

Do not spam logs if the owned-homedir check results in a noop #6880

Conversation

virusdave
Copy link
Contributor

Addresses log spam mentioned here

Admittedly, this doesn't attempt to canonicalize the paths before comparison, so it's just a quick & dirty, best-effort way to reduce log spam. Further improvement is probably possible.

@virusdave
Copy link
Contributor Author

@thufschmitt mind taking a look at this little change?

Copy link
Member

@thufschmitt thufschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
Indeed an annoying edge-case worth fixing

@thufschmitt thufschmitt merged commit 380fff1 into NixOS:master Aug 8, 2022
Minion3665 pushed a commit to Minion3665/nix that referenced this pull request Feb 23, 2023
…homedir_check_master

Do not spam logs if the owned-homedir check results in a noop
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.

2 participants