This is an automated email from the git hooks/post-receive script.
firstyear pushed a change to branch master in repository 389-ds-base.
from af11fb8 Issue 49374 - Add CI test case new 4f2207a Ticket 49449 - Load sysctl values on rpm upgrade.
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: rpm/389-ds-base.spec.in | 3 +++ 1 file changed, 3 insertions(+)
This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master in repository 389-ds-base.
commit 4f2207a3bc13a9181a4cadfeeb7819b5c036966e Author: William Brown firstyear@redhat.com Date: Fri Dec 1 09:52:55 2017 +0100
Ticket 49449 - Load sysctl values on rpm upgrade.
Bug Description: We provide sysctl values. We should apply them on upgrade or installation to prevent a need to reboot.
Fix Description: Add a post install script to load the sysctl values from the system as they wolud be on a reboot. Note this may not work in all cases (ie mock, container etc) so we have to mask failures "just in case".
https://pagure.io/389-ds-base/issue/49449
Author: wibrown
Review by: tbordaz (Thank you!) --- rpm/389-ds-base.spec.in | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in index 19c4f14..7938d16 100644 --- a/rpm/389-ds-base.spec.in +++ b/rpm/389-ds-base.spec.in @@ -396,6 +396,9 @@ if ! getent passwd $USERNAME >/dev/null ; then fi fi
+# Reload our sysctl before we restart (if we can) +sysctl --system &> $output; true + %if %{use_perl} # START UPGRADE SCRIPT echo looking for instances in %{_sysconfdir}/%{pkgname} > $output 2>&1 || :
389-commits@lists.fedoraproject.org