-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
nixos/mysql: enable sandbox mode #87833
Conversation
@GrahamcOfBorg test mariadb-galera-mariabackup |
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.
Looks safe to me. I retired my mysql database though. Maybe someone else could test this?
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.
In a separate PR we should eliminate the need to run anything as root
. I can do 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.
Just a couple minor requests, if you don't mind, and then we should merge this ASAP. Thanks for your never ending hard work @Izorkin!
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.
Thanks for all the discussion. I was happy to learn a few things. @Mic92 I'll leave final approval and merging to you.
It also occurred to me that while we are doing a good job with release notes maybe we should write a section in the NixOS manual about |
Thanks! |
Motivation for this change
Running mysql service in sandbox mode.
When the service startup, forced changed permissions to MySQL database folder.
cc @aanderse @flokli
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)