From 6b85e11a22260aa2142d16fddf34bf41dcbac0f0 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 27 Apr 2022 15:41:22 -0700 Subject: [PATCH] update: collectd configuration can be removed --- setup/start.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/setup/start.sh b/setup/start.sh index 7bad09046..8193635cf 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -136,12 +136,6 @@ log "Configuring collectd" rm -rf /etc/collectd /var/log/collectd.log ln -sfF "${PLATFORM_DATA_DIR}/collectd" /etc/collectd cp "${script_dir}/start/collectd/collectd.conf" "${PLATFORM_DATA_DIR}/collectd/collectd.conf" -if [[ "${ubuntu_version}" == "20.04" ]]; then - # https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1872281 - if ! grep -q LD_PRELOAD /etc/default/collectd; then - echo -e "\nLD_PRELOAD=/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so" >> /etc/default/collectd - fi -fi systemctl restart collectd log "Configuring sysctl"