Consider deprecating MAKES_NON_ROOT #1357

Closed
opened 2024-07-26 00:39:46 +02:00 by dsalaza4 · 1 comment
dsalaza4 commented 2024-07-26 00:39:46 +02:00 (Migrated from github.com)

MAKES_NON_ROOT is only supported on a container level: github.com/fluidattacks/makes@4e2e7ab329/makes/container-image/main.nix (L135)

This creates two m commands: One with MAKES_NON_ROOT support and another one without it.

If you try to reinstall makes via nix-env from the container, you end up with a Makes version that does not support MAKES_NON_ROOT. This creates strange behaviors that are very difficult to debug.

MAKES_NON_ROOT is only supported on a container level: https://github.com/fluidattacks/makes/blob/4e2e7ab3295e092237691336ec406273c54c3c4b/makes/container-image/main.nix#L135 This creates two `m` commands: One with MAKES_NON_ROOT support and another one without it. If you try to reinstall makes via `nix-env` from the container, you end up with a Makes version that does not support MAKES_NON_ROOT. This creates strange behaviors that are very difficult to debug.
dsalaza4 commented 2024-08-13 03:02:59 +02:00 (Migrated from github.com)

We will keep the makes user available so users can use it for tools that require to be executed with a non-root user.

We will keep the `makes` user available so users can use it for tools that require to be executed with a non-root user.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
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
justin/makes#1357
No description provided.