summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-10-06 13:29:18 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-10-06 13:34:47 -0500
commitda1ec900bf353dff675a0d460445b24e3a4e0515 (patch)
tree117fbaf725636196f06336d47c84861e3b8cdae7 /sys-cluster
parentkde-apps/kdepimlibs: backport patch from upstream for CVE-2016-7966 (diff)
downloadgentoo-da1ec900bf353dff675a0d460445b24e3a4e0515.tar.gz
gentoo-da1ec900bf353dff675a0d460445b24e3a4e0515.tar.bz2
gentoo-da1ec900bf353dff675a0d460445b24e3a4e0515.zip
sys-cluster/cinder: cleanup
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/cinder/files/cinder-confd3
-rw-r--r--sys-cluster/cinder/files/cinder-init58
-rw-r--r--sys-cluster/cinder/files/cinder-sudoers4
3 files changed, 0 insertions, 65 deletions
diff --git a/sys-cluster/cinder/files/cinder-confd b/sys-cluster/cinder/files/cinder-confd
deleted file mode 100644
index d09928c17c9c..000000000000
--- a/sys-cluster/cinder/files/cinder-confd
+++ /dev/null
@@ -1,3 +0,0 @@
-#Don't touch this unless you know what you are doing
-PID_PATH=/run/cinder
-
diff --git a/sys-cluster/cinder/files/cinder-init b/sys-cluster/cinder/files/cinder-init
deleted file mode 100644
index 6747d1258ed0..000000000000
--- a/sys-cluster/cinder/files/cinder-init
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-BASENAME=$(echo $SVCNAME | cut -d '-' -f 1)
-SERVERNAME=$(echo $SVCNAME | cut -d '-' -f 2)
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -r /etc/conf.d/$BASENAME ]; then
- eerror "No cinder conf.d file found: /etc/conf.d/$BASENAME)"
- return 1
- fi
- return 0
-}
-
-start() {
- checkconfig || return $?
- . /etc/conf.d/$BASENAME
-
- ebegin "Starting ${SVCNAME}"
- if [ ! -d ${PID_PATH} ]; then
- mkdir ${PID_PATH}
- chown cinder:root ${PID_PATH}
- fi
-
- start-stop-daemon --start \
- --quiet \
- --user cinder \
- --pidfile "${PID_PATH}/${SVCNAME}.pid" \
- --make-pidfile \
- --background \
- --exec /usr/bin/cinder-${SERVERNAME} -- --config-file /etc/cinder/cinder.conf --log-file /var/log/cinder/cinder-${SERVERNAME}
-
- eend $? "Failed to start ${SVCNAME}"
-}
-
-stop() {
- checkconfig || return $?
- . /etc/conf.d/$BASENAME
-
- ebegin "Stopping ${SVCNAME}"
-
- start-stop-daemon --stop \
- --quiet \
- --user cinder \
- --pidfile "${PID_PATH}/${SVCNAME}.pid" \
- --exec /usr/bin/cinder-${SERVERNAME} -- --config-file /etc/cinder/cinder.conf
-
- eend $? "Failed to stop ${SVCNAME}"
-}
-
-#restart() {
-#
-#}
diff --git a/sys-cluster/cinder/files/cinder-sudoers b/sys-cluster/cinder/files/cinder-sudoers
deleted file mode 100644
index f44bab4a5778..000000000000
--- a/sys-cluster/cinder/files/cinder-sudoers
+++ /dev/null
@@ -1,4 +0,0 @@
-Defaults:cinder !requiretty
-
-cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap
-