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
light: 1.1.2 -> 1.2, use new udev support instead of setuid wrapper. #47554
Conversation
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: light Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: light Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: light Partial log (click to expand)
|
''; | ||
}; | ||
}; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
environment.systemPackages = [ pkgs.light ]; | ||
security.wrappers.light.source = "${pkgs.light.out}/bin/light"; | ||
services.udev.packages = [ pkgs.light ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I need to be in a specific group for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, updated the documentation comment to mention it. Not sure if there's a best practice for managing this sort of group, but personally I'm happy with "video" as a few projects default to it and I'm not sure there's much need to make this too customizable :). But willing to be convinced otherwise of course.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. I added this to our release notes.
812b3f0
to
5cc251d
Compare
Success on aarch64-linux (full log) Attempted: light Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: light Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: light Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: light Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: light Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: light Partial log (click to expand)
|
Oh, good call! Thanks!! |
@@ -105,6 +105,14 @@ | |||
<varname>rabbitmq-server</varname>. | |||
</para> | |||
</listitem> | |||
<listitem> | |||
<para> | |||
The <literal>light</literal> module no longer use setuids binary, but |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo I introduced: setuid binaries
Success on aarch64-linux (full log) Attempted: light Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: light Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: light Partial log (click to expand)
|
This is good to go, I think? Just checking :). |
I have not really tested it myself by adding myself to the group, but I suppose you did, so should be good to merge then. |
Yep use it every day :). |
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)