From: Evan Broder Date: Tue, 14 Oct 2008 07:14:14 +0000 (-0400) Subject: Add a dummy console for the host conservers in case no VMs are running X-Git-Tag: sipb-xen-console-server/2.8^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/commitdiff_plain/7f53b6cbcf5195b38271e6bff3a4a8fcbf3e9edb?ds=sidebyside Add a dummy console for the host conservers in case no VMs are running svn path=/trunk/packages/sipb-xen-console-server/; revision=1120 --- diff --git a/debian/changelog b/debian/changelog index f08d5e9..b1eb4d5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sipb-xen-console-server (2.8) unstable; urgency=low + + * Create a dummy console entry that exists by default so that conserver + won't quit if no consoles are defined. + + -- Evan Broder Tue, 14 Oct 2008 03:10:28 -0400 + sipb-xen-console-server (2.7) unstable; urgency=low * Don't run conserver as root; use sudo instead diff --git a/files/etc/conserver/conserver.cf.sipb-xen b/files/etc/conserver/conserver.cf.sipb-xen index 837e411..a1f6403 100644 --- a/files/etc/conserver/conserver.cf.sipb-xen +++ b/files/etc/conserver/conserver.cf.sipb-xen @@ -1,6 +1,17 @@ config * { sslrequired yes; } + +# If no consoles are defined, as is the case when the host first boots +# up, conserver will quit. This keeps it running. +# +# Should someone create a VM called dummy-console, their VM will +# shadow over this one. +console dummy-console { + master localhost; + type noop; +} + default * { logfile /var/log/conserver/&.log; timestamp "1lab";