Hi!

> During a dist-upgrade all packages are unpacked and then all packages
> are configured. So squid, as many other daemons, is stopped until all
> other packages are unpacked.
> 
> Other daemons that behave this way (this list is from one of my system,
> so is not complete in any way):
[snip list]

Then the other packages are broken, too.  

I really don't see what the problem is.  Simple restart squid in
postinst if upgrading, instead of stopping in prerm and starting in
postinst.  Afaik, squid won't read any new config files that might be
installed during the unpack phase anyway (that's what /etc/init.d/squid
reload is for, anyway), so this should work perfectly.

For reference, a package that does this correctly is stunnel4.

-- 
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| [EMAIL PROTECTED], [EMAIL PROTECTED] |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to