[Bug 718606] [NEW] when libvirt-bin start, it donnot read config in /etc/default/libvirt-bin
wang junling
718606 at bugs.launchpad.net
Mon Feb 14 09:11:39 UTC 2011
Public bug reported:
i fix the bug like this:
/etc/init/libvirt-bin:
description "libvirt daemon"
author "Dustin Kirkland <kirkland at canonical.com>"
start on runlevel [2345]
stop on runlevel [!2345]
expect daemon
respawn
pre-start script
mkdir -p /var/run/libvirt
# Clean up a pidfile that might be left around
rm -f /var/run/libvirtd.pid
start_libvirtd="yes"
[ -r /etc/default/libvirt-bin ] && . /etc/default/libvirt-bin
[ "$start_libvirtd" = "yes" ] || { stop; exit 0; }
end script
# If you used to set $libvirtd_opts in /etc/default/libvirt-bin,
# change the 'exec' line here instead.
script
libvirtd_opts="-d"
start_libvirtd="yes"
[ -r /etc/default/libvirt-bin ] && . /etc/default/libvirt-bin
exec /usr/sbin/libvirtd ${libvirtd_opts}
end script
#exec /usr/sbin/libvirtd -d
** Affects: libvirt (Ubuntu)
Importance: Undecided
Assignee: wang junling (wangjl)
Status: Fix Committed
** Changed in: libvirt (Ubuntu)
Status: New => Fix Committed
** Changed in: libvirt (Ubuntu)
Assignee: (unassigned) => wang junling (wangjl)
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/718606
Title:
when libvirt-bin start,it donnot read config in /etc/default/libvirt-
bin
More information about the Ubuntu-server-bugs
mailing list