+invirt-console-server (0.0.1) unstable; urgency=low
+
+ * sipb-xen -> invirt
+ * -> -server while we're at it
+
+ -- Greg Price <price@mit.edu> Fri, 24 Oct 2008 03:54:40 -0400
+
sipb-xen-console (8.4) unstable; urgency=low
* Create a dummy console entry that exists by default so that conserver
-Source: sipb-xen-console
+Source: invirt-console-server
Section: servers
Priority: extra
-Maintainer: SIPB Xen Project <sipb-xen@mit.edu>
+Maintainer: Invirt Project <invirt@mit.edu>
Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), config-package-dev (>= 4.5~), nscd, openssh-server, debathena-ssh-server-config, initscripts
Standards-Version: 3.7.2
-Package: sipb-xen-console
+Package: invirt-console-server
Architecture: all
Provides: ${diverted-files}
Conflicts: ${diverted-files}
Depends: sipb-xen-base, ${shlibs:Depends}, ${misc:Depends}, conserver-client, daemon, debathena-kerberos-config, fuse-utils, libnss-pgsql1, nscd, openssh-server, python, python-routefs, sipb-xen-chrony-config, sipb-xen-database-common, remctl-server, debathena-ssh-server-config
-Description: SIPB Xen serial console server
- This package should be installed on sipb-xen-console
- It makes sure that necessary tools are available.
+Description: Invirt serial-console proxy server
+ This is the software for the serial-console proxy server.
This package was created for internal use of the SIPB Xen Project of
-the MIT Student Information Processing Board. Ask sipb-xen@mit.edu if
+the MIT Student Information Processing Board. Ask invirt@mit.edu if
you have questions about redistribution.
#!/bin/bash
### BEGIN INIT INFO
-# Provides: sipb-xen-console
+# Provides: invirt-console-server
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# Short-Description: sipb-xen Console Server homedir filesystem
+# Short-Description: Invirt console proxy server
# Description:
### END INIT INFO
-# Author: SIPB Xen Project <sipb-xen@mit.edu>
+# Author: Invirt Project <invirt@mit.edu>
# Do NOT "set -e"
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
-DESC="The sipb-xen console server"
-NAME=sipb-xen-console
-DAEMON=/usr/bin/sipb-xen-consolefs
+DESC="the Invirt console server"
+NAME=invirt-console-server
+DAEMON=/usr/bin/invirt-consolefs
DAEMON_ARGS="/consolefs"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
gen_config()
{
for i in /etc/conserver/invirt-hosts.cf \
- /etc/remctl/acl/invirt-console \
+ /etc/remctl/acl/invirt-console-server \
/etc/issue.net.no_tkt \
/etc/nss-pgsql.conf \
; do
#!/usr/bin/make -f
-DEB_DIVERT_EXTENSION = .sipb-xen
-DEB_TRANSFORM_FILES_sipb-xen-console += \
- /etc/init.d/bootmisc.sh.sipb-xen \
- /etc/nsswitch.conf.sipb-xen \
- /etc/nscd.conf.sipb-xen \
- /etc/pam.d/sshd.sipb-xen \
- /etc/ssh/sshd_config.debathena.sipb-xen
+DEB_DIVERT_EXTENSION = .invirt
+DEB_TRANSFORM_FILES_invirt-console-server += \
+ /etc/init.d/bootmisc.sh.invirt \
+ /etc/nsswitch.conf.invirt \
+ /etc/nscd.conf.invirt \
+ /etc/pam.d/sshd.invirt \
+ /etc/ssh/sshd_config.debathena.invirt
ifneq ($(wildcard /usr/share/base-files/nsswitch.conf),)
- DEB_CHECK_FILES_SOURCE_/etc/nsswitch.conf.sipb-xen = \
+ DEB_CHECK_FILES_SOURCE_/etc/nsswitch.conf.invirt = \
/usr/share/base-files/nsswitch.conf
endif
-DEB_DIVERT_FILES_sipb-xen-console += \
- /etc/conserver/conserver.cf.sipb-xen \
- /etc/motd.sipb-xen
+DEB_DIVERT_FILES_invirt-console-server += \
+ /etc/conserver/conserver.cf.invirt \
+ /etc/motd.invirt
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/config-package.mk
<% from invirt.config import structs as cfg %>
connectionstring = host=${cfg.db.host} dbname=${cfg.db.dbname} user=${cfg.db.user} port=${cfg.db.port}
-getpwnam = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE name = $1
-getpwuid = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
-allusers = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh', machine_id + 1000, machine_id + 1000 FROM machines
+getpwnam = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE name = $1
+getpwuid = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
+allusers = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines
getgrnam = SELECT name, NULL, machine_id + 1000 FROM machines WHERE name = $1
getgrgid = SELECT name, NULL, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
groups_dyn = SELECT NULL LIMIT 0;
self.lasttime = time()
self.fuse_args.add("allow_other", True)
- openlog('sipb-xen-consolefs ', LOG_PID, LOG_DAEMON)
+ openlog('invirt-consolefs ', LOG_PID, LOG_DAEMON)
syslog(LOG_DEBUG, 'Init complete.')