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

Preserve customized /etc/sysctl.conf? #789

Closed
ar-jan opened this issue Sep 28, 2015 · 5 comments
Closed

Preserve customized /etc/sysctl.conf? #789

ar-jan opened this issue Sep 28, 2015 · 5 comments

Comments

@ar-jan
Copy link
Contributor

ar-jan commented Sep 28, 2015

Would it be possible to preserve customizations to /etc/sysctl.conf? I need the option kernel.unprivileged_userns_clone = 1 for software I'm running alongside BOA, but when I just add this line the change is overwritten by BOA.

@kunago
Copy link

kunago commented Sep 28, 2015

I am running quite a few softwares alongside BOA on the same server and a lot of config files get overwritten on an update. My solultion was to write a small script that I launch once BOA finishes upgrading and that script fixes all the settings I desire to keep "my way".

@omega8cc
Copy link
Owner

BOA has a long list of control files (or config variables) which can be used to avoid overwriting some files on every upgrade: https://github.com/omega8cc/boa/blob/master/docs/ctrl/system.ctrl#L48

Let's add something also for /etc/sysctl.conf

@omega8cc
Copy link
Owner

Done!

@ar-jan
Copy link
Contributor Author

ar-jan commented Sep 28, 2015

Great, thanks!

@ar-jan
Copy link
Contributor Author

ar-jan commented Feb 4, 2016

Note to self (and possibly others): this could actually also have been achieved by placing this option in a file in /etc/sysctl.d/, since Debian supports this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants