summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-01-07 17:49:58 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-01-07 17:52:52 +0100
commit78694bbb35225a0e2e39d686456563d492bfe81c (patch)
treea02babb013687789ee78389830e9b8c9ca11bcdc /sys-cluster/keepalived/files
parentsys-kernel/rt-sources: version bump to 4.19.10_p8 (diff)
downloadgentoo-78694bbb35225a0e2e39d686456563d492bfe81c.tar.gz
gentoo-78694bbb35225a0e2e39d686456563d492bfe81c.tar.bz2
gentoo-78694bbb35225a0e2e39d686456563d492bfe81c.zip
sys-cluster/keepalived: security cleanup
Bug: https://bugs.gentoo.org/670856 Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-cluster/keepalived/files')
-rw-r--r--sys-cluster/keepalived/files/keepalived.confd6
-rw-r--r--sys-cluster/keepalived/files/keepalived.init33
2 files changed, 0 insertions, 39 deletions
diff --git a/sys-cluster/keepalived/files/keepalived.confd b/sys-cluster/keepalived/files/keepalived.confd
deleted file mode 100644
index 5f56cb23b031..000000000000
--- a/sys-cluster/keepalived/files/keepalived.confd
+++ /dev/null
@@ -1,6 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Keepalived options
-# Increase logging:
-#KEEPALIVED_OPTS="-D"
diff --git a/sys-cluster/keepalived/files/keepalived.init b/sys-cluster/keepalived/files/keepalived.init
deleted file mode 100644
index c290c9dbc518..000000000000
--- a/sys-cluster/keepalived/files/keepalived.init
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use logger
- # The interfaces do not actually need to exist to start, it handles them gracefully.
- use net
-}
-
-command="/usr/sbin/keepalived"
-command_args="${KEEPALIVED_OPTS}"
-pidfile="/var/run/keepalived.pid"
-
-extra_commands="checkconfig reload"
-
-checkconfig() {
- # keepalived has a config check command, but it does not work while the daemon is running!
- if [ ! -e /etc/keepalived/keepalived.conf ] ; then
- eerror "You need an /etc/keepalived/keepalived.conf file to run keepalived"
- return 1
- fi
-}
-
-start_pre() {
- checkconfig || return 1
-}
-
-reload() {
- ebegin "Reloading keepalived.conf"
- start-stop-daemon --pidfile $pidfile --signal HUP
- eend $?
-}