[OpenAFS] Apache2 and openafs

Dominic Hargreaves dominic.hargreaves@it.ox.ac.uk
Tue, 8 Jul 2014 14:39:57 +0100

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 08, 2014 at 02:10:14PM +0200, Georg Sluyterman wrote:
> I have a webserver running Apache2 on a Debian Wheezy/7 (LAMP, some php w=
eb application) where the files are stored in AFS.=20
> What is the preferred way to run apache2 and ensure that it has a valid t=
oken? Is there a working script for /etc/init.d that works well, or perhaps=
 something for djb daemontools?=20

We do this using some local scripts which make use of k5start and fghack
(from daemontools) along these lines:

$K5START -f $KEYTAB -l 10h -L -K 10 -t -I $KRB5_REALM -S $KRB5_SERVICE -v -=
U -- $FGHACK $APACHE2 -f $APACHECONF -k start'

Dominic Hargreaves, Systems Development and Support Section
IT Services, University of Oxford, 13 Banbury Road, Oxford, OX2 6NN

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

Version: GnuPG v1.4.12 (GNU/Linux)