Public bug reported:

Distributor ID: Ubuntu
Description:    Ubuntu 9.10
Release:        9.10
Codename:       karmic

# libvirtd --version
libvirtd (libvirt) 0.7.0

ii  libvirt0
0.7.0-1ubuntu13.1


if listen_tls = 1 is set in libvirtd.conf, but the certs required aren't 
present in /etc/pki, libvirtd silently fails to launch, returning with error 
code 0 (success) and so confusing start-stop-daemon into thinking it launched.

libvirtd SHOULD:

- print an error mesage like "libvirtd: listen_tls set but 
/etc/pki/CA/cacert.pem not found, cannot launch"
- return a non-zero error code
- if listen_tls or listen_tcp are set but --listen is not specified on the 
command line, log/print a warning like "WARNING: listen_tls or listen_tcp 
enabled but --listen not specified on the command line. libvirtd will not 
listen on the network."

This probably qualifies as an upstream bug more than anything, BUT
ubuntu's config file for libvirtd needs to at least mention the
certificate paths in the comments for listen_tls.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
no useful errors if tls certs missing or unreadable
https://bugs.launchpad.net/bugs/546723
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to