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

scripts: remove default 'sandbox = false' from multi-user installer #2693

Merged
merged 1 commit into from Mar 24, 2019

Conversation

thoughtpolice
Copy link
Member

@thoughtpolice thoughtpolice commented Feb 22, 2019

The multi-user installer script set sandbox = false unilaterally, overriding the new default configuration of true for Linux. Removing it allows the platform default to kick in.

@edolstra
Copy link
Member

Maybe it's better to not emit sandbox = ... at all? That way it will use the builtin default value (false on macOS, true on Linux).

@LnL7
Copy link
Member

LnL7 commented Feb 23, 2019

I could be wrong, but I think only build-users-group is required for a multi-user install.

Sandboxing is now enabled by default on Linux, but is still disabled on
macOS. However, the installer always turned it off to ensure consistent
behavior.

Remove this default configuration, so we fall back to the default
platform-specific value.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
@thoughtpolice thoughtpolice changed the title scripts: enable Linux sandbox by default with multi-user installer scripts: remove default 'sandbox = false' from multi-user installer Feb 23, 2019
@thoughtpolice
Copy link
Member Author

@edolstra Fixed, and confirmed to work (defaulting to sandbox = true) on a brand new Ubuntu 18.04 machine with the multi-user installer.

Copy link
Member

@zimbatm zimbatm left a comment

Choose a reason for hiding this comment

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

LGTM

@domenkozar domenkozar merged commit 6f03590 into NixOS:master Mar 24, 2019
@thoughtpolice thoughtpolice deleted the scripts/multi-user-sandbox branch March 29, 2019 08:18
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.

None yet

5 participants