delete the direct root manipulation of the nix store #18

Open
opened 2024-03-11 17:44:38 +00:00 by jade · 4 comments
Owner

would fix: NixOS/nix#10139

if everything goes through the daemon it would increase reliability. we can't necessarily eliminate the need for this for e.g. nixos-enter though. sigh. spin a background daemon? idk.

would fix: https://git.lix.systems/NixOS/nix/issues/10139 if everything goes through the daemon it would increase reliability. we can't necessarily eliminate the need for this for e.g. nixos-enter though. sigh. spin a background daemon? idk.
Owner

We don't need to fully delete the capability, just make it never the default (which it never should have been).

We don't need to fully delete the capability, just make it never the default (which it never should have been).
ma27 self-assigned this 2024-06-24 10:06:12 +00:00
Member

Self-assigning, will give this a shot :)

Self-assigning, will give this a shot :)
Member

This issue was mentioned on Gerrit on the following CLs:

  • comment in cl/1963 ("Fix passing custom CA files into the builtin:fetchurl sandbox")
  • commit message in cl/3569 ("cli: fork+exec subdaemons, don't just fork")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/1963", "number": 1963, "kind": "comment"}, {"backlink": "https://gerrit.lix.systems/c/lix/+/3569", "number": 3569, "kind": "commit message"}], "cl_meta": {"1963": {"change_title": "Fix passing custom CA files into the builtin:fetchurl sandbox"}, "3569": {"change_title": "cli: fork+exec subdaemons, don't just fork"}}} --> This issue was mentioned on Gerrit on the following CLs: * comment in [cl/1963](https://gerrit.lix.systems/c/lix/+/1963) ("Fix passing custom CA files into the builtin:fetchurl sandbox") * commit message in [cl/3569](https://gerrit.lix.systems/c/lix/+/3569) ("cli: fork+exec subdaemons, don't just fork")
Member

So, I actually hacked a draft together on Oceansprint (it's actually kinda dangerous to change the behavior, I managed to turn the testsuite into a giant forkbomb with this). @raito mentioned that it's planned to get rid of single user mode in the first place and use on-demand daemons instead.

Personally, I agree with this approach. And I don't think it makes sense to force us to a review cycle for an inferior solution before.

Hence, unassigning myself.

(Also, sorry that it took me so long to do something about it. Yes, I do feel kinda bad about it! :( )

So, I actually hacked a draft together on Oceansprint (it's actually kinda dangerous to change the behavior, I managed to turn the testsuite into a giant forkbomb with this). @raito mentioned that it's planned to get rid of single user mode in the first place and use on-demand daemons instead. Personally, I agree with this approach. And I don't think it makes sense to force us to a review cycle for an inferior solution before. Hence, unassigning myself. (Also, sorry that it took me so long to do something about it. Yes, I do feel kinda bad about it! :( )
ma27 removed their assignment 2025-03-27 18:58:26 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#18
No description provided.