[pkg-squid-devel] Bug#765476: squid3: Trying to restart squid3 in /etc/resolvconf/update-libc.d/squid3 before /usr is mounted (invoke-rc.d: not found)

Petter Reinholdtsen pere at hungry.com
Tue Oct 21 13:41:42 UTC 2014


[Luigi Gangitano] wrote:
> Hi Petter,
> 
> Thanks for your report.
> 
> I checked the resolvconf documentation and init script invocation in
> squid3 is handled exactly as instructed. Since this is the standard
> for resolvconf I suspect that any other service which configures
> resolvconf hooks will be affected by late /usr mount.
> 
> We should solve the issue there, so I suggest we move this bug to resolvconf.
> 
> Do you agree?

This is an issue with squid, not resolvconf.  If squid is providing a
script for resolvconf to run, it need to make sure it work also if
/usr/ is a separate partition and executed before /usr/ is mounted.
The fact that there might be other buggy scripts around do not change
this, and there is nothing resolvconf can do to work around this fact.
The kernel will activate interfaces whenever it want, for example
before /usr/ is mounted, and while resolvconf handle this just fine,
the squid resolvconf script do not.

So I see no point in moving it to resolvconf, and believe the squid
script just need to stop trying to restart squid if /usr/ isn't
mounted.

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-squid-devel mailing list