Re: [Nix-dev] Which option replaces security.setuidOwners?

2017-02-14 Thread Thomas Hunger
There are some docs here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/security/wrappers/default.nix#L111 Though I agree that we should probably also add something to the manual about how to elevate privileges in NixOS. ~ On 14 February 2017 at 22:12, Tomasz Czyż

Re: [Nix-dev] Which option replaces security.setuidOwners?

2017-02-14 Thread Tomasz Czyż
Actually, very strange that such a huge change has no documentation changes at all. Good thing is, there were some tests :) 2017-02-14 22:07 GMT+00:00 Bjørn Forsman : > On 14 February 2017 at 23:04, Bjørn Forsman > wrote: > > On 14 February

Re: [Nix-dev] Which option replaces security.setuidOwners?

2017-02-14 Thread Bjørn Forsman
On 14 February 2017 at 23:04, Bjørn Forsman wrote: > On 14 February 2017 at 22:51, Domen Kožar wrote: >> We need to use renames for backwards compatibility then :) > > A rename implies same signature under different namespace (AFAICS). > This is not the

Re: [Nix-dev] Which option replaces security.setuidOwners?

2017-02-14 Thread Bjørn Forsman
On 14 February 2017 at 22:51, Domen Kožar wrote: > We need to use renames for backwards compatibility then :) A rename implies same signature under different namespace (AFAICS). This is not the case here, because the option types are different. I've got a local change that is

Re: [Nix-dev] Which option replaces security.setuidOwners?

2017-02-14 Thread Domen Kožar
We need to use renames for backwards compatibility then :) On Tue, Feb 14, 2017, 21:52 Thomas Hunger wrote: > Hi, > > The option is now called `wrappers`. You can look at e.g. [1] for how to > update the code (more complex examples can be found in that same diff). The >

Re: [Nix-dev] Which option replaces security.setuidOwners?

2017-02-14 Thread Thomas Hunger
Hi, The option is now called `wrappers`. You can look at e.g. [1] for how to update the code (more complex examples can be found in that same diff). The assert is a great idea! ~ [1] https://github.com/NixOS/nixpkgs/pull/16654/files#diff- 83d20e45a7ca489ef290ee1ee57543c7L28 (forgot reply all)

[Nix-dev] Which option replaces security.setuidOwners?

2017-02-14 Thread Bjørn Forsman
Hi all, Now that security.setuiOwners is removed in master branch, which option replaces it? This is what users are faced with currently: $ nixos-rebuild build -I nixpkgs=. building Nix... error: The option `security.setuidOwners' defined in `/etc/nixos/config/base-small.nix' does not exist.