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

Russ Allbery rra at debian.org
Thu Nov 25 17:39:09 UTC 2010


Ferenc Wagner <wferi at niif.hu> writes:
> Russ Allbery <rra at debian.org> writes:
>> Ferenc Wagner <wferi at 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 at debian.org)               <http://www.eyrie.org/~eagle/>



More information about the Pkg-shibboleth-devel mailing list