Quoting indymaynard (<email address hidden>):
> Glad to see that I'm not the only one baffled. This has kicked my butt.
>
>
> # procps - set sysctls from /etc/sysctl.conf
> #
> # This task sets kernel sysctl variables from /etc/sysctl.conf and
> # /etc/sysctl.d
>
> description "set sysctls from /etc/sysctl.conf"
>
> start on virtual-filesystems
>
> task
> script
> cat /etc/sysctl.d/*.conf /etc/sysctl.conf | sysctl -p -
> end script
If you add '-e' to the sysctl command, does that stop the error? So
it would look like this:
===================================================================
# procps - set sysctls from /etc/sysctl.conf
#
# This task sets kernel sysctl variables from /etc/sysctl.conf and
# /etc/sysctl.d
Quoting indymaynard (<email address hidden>): d/*.conf /etc/sysctl.conf | sysctl -p -
> Glad to see that I'm not the only one baffled. This has kicked my butt.
>
>
> # procps - set sysctls from /etc/sysctl.conf
> #
> # This task sets kernel sysctl variables from /etc/sysctl.conf and
> # /etc/sysctl.d
>
> description "set sysctls from /etc/sysctl.conf"
>
> start on virtual-filesystems
>
> task
> script
> cat /etc/sysctl.
> end script
If you add '-e' to the sysctl command, does that stop the error? So
it would look like this:
======= ======= ======= ======= ======= ======= ======= ======= ======= ====
# procps - set sysctls from /etc/sysctl.conf
#
# This task sets kernel sysctl variables from /etc/sysctl.conf and
# /etc/sysctl.d
description "set sysctls from /etc/sysctl.conf"
start on virtual-filesystems
task d/*.conf /etc/sysctl.conf | sysctl -e -p - ======= ======= ======= ======= ======= ======= ======= ======= ====
script
cat /etc/sysctl.
end script
=======