b98f09
@@ -47,7 +47,7 @@
%post
/usr/sbin/groupadd -f -g 71 realtime
- if grep kernel.hung_task_panic /etc/sysctl.conf >/dev/null 2>&1
+ if grep kernel.hung_task_panic /etc/sysctl.conf /etc/sysctl.d/* >/dev/null 2>&1
then
:
else
@@ -60,7 +60,7 @@
EOF
fi
- if grep kernel.hung_task_timeout_secs /etc/sysctl.conf >/dev/null 2>&1
+ if grep kernel.hung_task_timeout_secs /etc/sysctl.conf /etc/sysctl.d/* >/dev/null 2>&1
rt-setup overwrites "kernel.hung_task_panic" and "kernel.hung_task_timeout_secs" values even if those values are already set. https://bugzilla.redhat.com/show_bug.cgi?id=2168478
rt-setup overwrites "kernel.hung_task_panic" and "kernel.hung_task_timeout_secs" values even if those values are already set.
https://bugzilla.redhat.com/show_bug.cgi?id=2168478