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

2010-11-26 Thread Mehdi Dogguy
On 26/11/2010 16:57, Ferenc Wagner wrote: Michael Biebl writes: the apache init script already has a status method, why don't you use invoke-rc.d apache2 status>/dev/null 2>&1&& invoke-rc.d apache2 restart I like this idea. Any objections against the following code? if [ -f /etc/ap

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

2010-11-26 Thread Ferenc Wagner
Russ Allbery writes: > Ferenc Wagner writes: > >> Russ Allbery writes: >> >>> Ferenc Wagner 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

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

2010-11-25 Thread Michael Biebl
On 25.11.2010 13:13, Teodor MICU wrote: > > I see at least two possible implementations: > 1) use the 'status_of_proc' LSB function (there are many init scripts > doing this for the status command); > 2) check if there is any Apache process running: > # pidof apache2 > /dev/null && invoke-rc.d a

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

2010-11-25 Thread Russ Allbery
Ferenc Wagner writes: > Russ Allbery writes: >> Ferenc Wagner 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 enable

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

2010-11-25 Thread Teodor MICU
Hi, 2010/11/25 Russ Allbery : > Ah, hm, that's a good point.  I hadn't thought about that, since the old > Shibboleth modules depended on Apache.  But the current packages only > recommend. > > I'm not sure the best way to do this.  Check for whether apache2.2-common > is installed, since it conta

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

2010-11-25 Thread Ferenc Wagner
Russ Allbery writes: > Ferenc Wagner 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 installe

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

2010-11-24 Thread Russ Allbery
Mehdi Dogguy writes: > On 11/24/2010 10:02 PM, Russ Allbery wrote: >> Please unblock package shibboleth-sp2. This package includes both a >> daemon and an Apache module, and those need to be in sync following an >> upgrade or strange problems can result. This version adds code to >> postinst to

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

2010-11-24 Thread Mehdi Dogguy
On 11/24/2010 10:02 PM, Russ Allbery wrote: > > Please unblock package shibboleth-sp2. This package includes both a > daemon and an Apache module, and those need to be in sync following an > upgrade or strange problems can result. This version adds code to > postinst to restart Apache after upgr

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

2010-11-24 Thread Russ Allbery
Package: release.debian.org Severity: normal User: release.debian@packages.debian.org Usertags: unblock Please unblock package shibboleth-sp2. This package includes both a daemon and an Apache module, and those need to be in sync following an upgrade or strange problems can result. This vers