From 7c76c14ecf33a25b58f96b6747c3630805ee0fb9 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Mon, 17 Nov 2008 04:57:01 -0500 Subject: [PATCH] Use daemon/$HOSTNAME instead of the first principal in the invirt keytab for svn svn path=/trunk/packages/invirt-web/; revision=1688 --- debian/changelog | 7 +++++++ files/etc/init.d/apache2.invirt | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a2c0ada..13bb4bd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +invirt-web (0.0.11) unstable; urgency=low + + * Use daemon/$HOSTNAME for the svn repository instead of the first + principal in the keytab + + -- Evan Broder Mon, 17 Nov 2008 04:56:36 -0500 + invirt-web (0.0.10) unstable; urgency=low * Make /etc/apache2/sites-available/default a mako template diff --git a/files/etc/init.d/apache2.invirt b/files/etc/init.d/apache2.invirt index dd72f01..d74ba3b 100755 --- a/files/etc/init.d/apache2.invirt +++ b/files/etc/init.d/apache2.invirt @@ -24,7 +24,8 @@ kstart_start () { chown www-data $KRB5CCNAME /sbin/start-stop-daemon --start --pidfile "$TMP_PIDFILE" -c www-data \ --exec /usr/bin/k5start -- -b -p "$TMP_PIDFILE" \ - -U -f "$KSTART_KEYTAB" -K10 -S afs -I "$AFSCELL" -t -b + -U -f "$KSTART_KEYTAB" -K10 -S afs -I "$AFSCELL" -t \ + "daemon/$(hostname -f)" cat "$TMP_PIDFILE" >|"$KSTART_PIDFILE" rm -f "$TMP_PIDFILE" } -- 1.7.9.5