From: Evan Broder Date: Tue, 14 Oct 2008 07:14:15 +0000 (-0400) Subject: Add a dummy console for the console server's conserver in case no VMs X-Git-Tag: sipb-xen-console/8.4^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/commitdiff_plain/f9d380495c03ff66c054ce0a8e8b5a45a1848cb1?hp=5425e1410471a188dadd826c3ef44108221f5c5e Add a dummy console for the console server's conserver in case no VMs are running svn path=/trunk/packages/sipb-xen-console/; revision=1121 --- diff --git a/debian/changelog b/debian/changelog index f2ef80c..20977e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sipb-xen-console (8.4) 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:13:47 -0400 + sipb-xen-console (8.3) unstable; urgency=low * Update nss-pgsql.conf.mako to reflect new config file format diff --git a/files/etc/conserver/conserver.cf.sipb-xen b/files/etc/conserver/conserver.cf.sipb-xen index 2142ed0..6d7130e 100644 --- a/files/etc/conserver/conserver.cf.sipb-xen +++ b/files/etc/conserver/conserver.cf.sipb-xen @@ -2,6 +2,16 @@ 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 * { type exec; }