[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)

Luigi Gangitano gangitano at lugroma3.org
Tue Oct 21 13:57:05 UTC 2014


> Il giorno 21/ott/2014, alle ore 15:41, Petter Reinholdtsen <pere at hungry.com> ha scritto:
> 
> 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.

The point is that if /usr needs special handling for resolvconf scripts (which, as you say, happen to run before /usr is mounted at startup) a fix in resolvconf would solve this issue for every package installing resolvconf scripts.

Otherwise we would need to catch it in any package using invoke-rc.d in resolvconf hooks.

Regards,

L

--
Luigi Gangitano -- <luigi at debian.org> -- <gangitano at lugroma3.org>
GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972  C24A F19B A618 924C 0C26
GPG: 4096R/2BA97CED: 8D48 5A35 FF1E 6EB7 90E5  0F6D 0284 F20C 2BA9 7CED




More information about the pkg-squid-devel mailing list