summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2017-08-31 20:55:00 -0500
committerMatthias Maier <tamiko@gentoo.org>2017-08-31 20:55:28 -0500
commit733c3216e3706a24d863260414f0767d66b7ca9e (patch)
tree608e69e92cb7f0c878f18075190cda9ffdfa65ff /app-emulation/libvirt/files/libvirtd.init-r15
parentdev-python/libvirt-python: drop vulnerable 3.2.0, 3.4.0, 3.5.0, bug #629462 (diff)
downloadgentoo-733c3216e3706a24d863260414f0767d66b7ca9e.tar.gz
gentoo-733c3216e3706a24d863260414f0767d66b7ca9e.tar.bz2
gentoo-733c3216e3706a24d863260414f0767d66b7ca9e.zip
app-emulation/libvirt: drop vulnerable 3.2.0, 3.4.0, 3.5.0, bug #629462
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'app-emulation/libvirt/files/libvirtd.init-r15')
-rw-r--r--app-emulation/libvirt/files/libvirtd.init-r1537
1 files changed, 0 insertions, 37 deletions
diff --git a/app-emulation/libvirt/files/libvirtd.init-r15 b/app-emulation/libvirt/files/libvirtd.init-r15
deleted file mode 100644
index 25224601d7f6..000000000000
--- a/app-emulation/libvirt/files/libvirtd.init-r15
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Virtual Machine Management daemon (libvirt)"
-
-LIBVIRTD_OPTS=${LIBVIRTD_OPTS:-"${LIBVIRTD_OPTS}"}
-LIBVIRTD_TIMEOUT=${LIBVIRTD_TERMTIMEOUT:-"TERM/25/KILL/5"}
-
-command="/usr/sbin/libvirtd"
-command_args="-d ${LIBVIRTD_OPTS}"
-start_stop_daemon_args="--env KRB5_KTNAME=/etc/libvirt/krb5.tab"
-pidfile="/var/run/libvirtd.pid"
-retry="${LIBVIRTD_TERMTIMEOUT}"
-
-depend() {
- USE_FLAG_FIREWALLD
- use USE_FLAG_AVAHI USE_FLAG_ISCSI USE_FLAG_RBD dbus virtlockd
- after ntp-client ntpd nfs nfsmount portmap rpc.statd iptables ip6tables ebtables corosync sanlock cgconfig xenconsoled
-}
-
-start_pre() {
- # Test configuration directories in /etc/libvirt/ to be either not
- # present or a directory, i.e. not a regular file, bug #532892
- local has_errors=0
- ebegin "Checking for suitable directories in \"/etc/libvirt\""
-
- for dir in lxc nwfilter qemu storage; do
- if [ -f /etc/libvirt/$dir ]; then
- has_errors=1
- eerror "/etc/libvirt/$dir was created as a regular file. It must be either"
- eerror "a directory or not present for libvirtd to start up successfully."
- fi
- done
-
- eend ${has_errors} "Please correct the error(s) above"
-}