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
Automatically load /usr/lib/sysctl.d/70-dirsrv.conf after installing 389-ds-base #2508
Comments
Comment from firstyear (@Firstyear) at 2017-11-13 01:38:37 Metadata Update from @Firstyear:
|
Comment from firstyear (@Firstyear) at 2017-11-13 01:38:49 Metadata Update from @Firstyear:
|
Comment from firstyear (@Firstyear) at 2017-12-01 09:56:24 |
Comment from firstyear (@Firstyear) at 2017-12-01 09:56:33 Metadata Update from @Firstyear:
|
Comment from tbordaz (@tbordaz) at 2017-12-01 10:27:52 The patch looks good but do you think it is safer to use sysctl --system rather than just reload 389-ds systemd conf file with 'sysctl --load <389-conf-file>' ? |
Comment from firstyear (@Firstyear) at 2017-12-01 10:39:59 The issue is that sysctl has some quirks - it loads things "in order". So if we direct load a file, we may not see the results of local changes that would over-ride it. Additionally, if a file of the same name is already loaded, then we also don't load the system one. So:
Has a different result to:
In the former, our /usr version is skipped - in the latter, we load our file, and it will be unloaded next reboot. So using --system is good as it simulates a reboot and what the values will be when the system restarts, rather than allowing odd transient errors to exist. That's why I chose this flag :) |
Comment from tbordaz (@tbordaz) at 2017-12-01 10:55:28 @Firstyear thanks for your complete explanation !! ACK |
Comment from tbordaz (@tbordaz) at 2017-12-01 10:55:30 Metadata Update from @tbordaz:
|
Comment from firstyear (@Firstyear) at 2017-12-01 11:45:08 commit 4f2207a |
Comment from firstyear (@Firstyear) at 2017-12-01 11:45:13 Metadata Update from @Firstyear:
|
Comment from mreynolds (@mreynolds389) at 2017-12-08 20:09:34 |
Comment from vashirov (@vashirov) at 2020-02-12 17:35:34 Metadata Update from @vashirov:
|
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49449
Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1511885
The text was updated successfully, but these errors were encountered: