[yast-commit] <rest-service> master : disable FQDNLookup and enable df in collectd.conf (bnc#553185)
![](https://seccdn.libravatar.org/avatar/03f46662129c78729420d160bdff6dd0.jpg?s=120&d=mm&r=g)
ref: refs/heads/master commit 9c7da747c21c19670941a34bd71827acd7e03e81 Author: Stefan Schubert <schubi@suse.de> Date: Tue Nov 10 12:22:57 2009 +0100 disable FQDNLookup and enable df in collectd.conf (bnc#553185) --- .../status/package/yast2-webservice-status.spec | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/plugins/status/package/yast2-webservice-status.spec b/plugins/status/package/yast2-webservice-status.spec index 0130f33..7bcb559 100644 --- a/plugins/status/package/yast2-webservice-status.spec +++ b/plugins/status/package/yast2-webservice-status.spec @@ -77,6 +77,18 @@ rm -rf $RPM_BUILD_ROOT # granting all permissions for root # /etc/yastws/tools/policyKit-rights.rb --user root --action grant >& /dev/null || : + +# +# nslookup of static hostnames can result to an error. Due this error collectd +# will not be started. So FQDN (fully qualified domain name) is disabled. +# +sed -i "s/^FQDNLookup.*/FQDNLookup false/" "/etc/collectd.conf" + +# +# enable "df" plugin of collectd +# +sed -i "s/^#LoadPlugin df.*/LoadPlugin df/" "/etc/collectd.conf" + # # enable and start collectd # -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
Stefan Schubert