[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#604855: unblock: shibboleth-sp2/2.3.1+dfsg-3

Ferenc Wagner <wferi@niif.hu> writes:
> Russ Allbery <rra@debian.org> writes:
>> Ferenc Wagner <wferi@niif.hu> writes:

>>> Maybe invoke-rc.d --quiet apache2 restart || [ $? -eq 100 ] ?

>> Ah, that's a good idea.  I didn't realize invoke-rc.d had a special
>> exit status for a missing script.

> But anyway, can the Shibboleth module be enabled when Apache isn't
> installed?  The restart is already protected by this check:

>     if [ -f /etc/apache2/mods-enabled/shib2.load ] ; then
>         invoke-rc.d apache2 restart
>     fi

I think it can if Apache is then removed (but not purged), but someone
else also pointed out that we don't want to restart Apache if it's not
running, which would also take care of the problem of ensuring Apache is
installed.  I'll forward that message along.

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: