[Pkg-roundcube-maintainers] Bug#508633: roundcube-core: It that necessary restarting the webserver in post removal?

Tiago Bortoletto Vaz tiago at debian-ba.org
Mon Dec 15 13:48:48 UTC 2008


Hi Vincent,

On Sat, Dec 13, 2008 at 02:40:54PM +0100, Vincent Bernat wrote:
> OoO Peu avant le début de  l'après-midi du samedi 13 décembre 2008, vers
> 13:24, Tiago Bortoletto Vaz <tiago at debian-ba.org> disait :
> 
> > For apache installation with a valid SSL certificate it's bad having to type
> > the key when removing roundcube. Sometimes the admin with credentials to remove
> > the package is not the one who has the certificate key. Also, it's a problem
> > for massive and/or automatic removal processes. So, is it possible to have a
> > "reload" instead of "restart" call in postrm script?
> 
> There is  no real  need to  use restart. reload  should be  OK. However,
> invoke-rc.d does not understand "reload"  and will call it even when the
> service  is disabled.  This  is against  the  policy, hence  the use  of
> restart. restart is not done when the service is disabled.

Sorry but I couldn't find where Policy says it's not allowed, once reload wont
be nocive when the service is disabled. I've seen several packages reloading
rather than restarting the webserver on their scripts. The only special care is
about redirecting fd 3 to /dev/null in order to have it "talking" to debconf
and avoid the issue #446324.

> Maybe  we can  hack around  to check  if the  service is  running before
> issuing a reload.

Please take a look in the attached patch and consider it if sounds ok for you.
Actually I'm not completly sure about this issue, so please let me know if I'm
wrong.

Thanks,

-- 
Tiago Bortoletto Vaz
http://tiagovaz.org
0xA504FECA - http://pgp.mit.edu
GNU/Linux user #188687
-------------- next part --------------
A non-text attachment was scrubbed...
Name: roundcube-reloading-fix.patch
Type: text/x-diff
Size: 1804 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20081215/459e494a/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20081215/459e494a/attachment.pgp 


More information about the Pkg-roundcube-maintainers mailing list