[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 14:58:05 UTC 2014
[Luigi Gangitano]
> 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.
Which fix in resolvconf did you have in mind? I fail to see what
resolvconf can do differently.
> Otherwise we would need to catch it in any package using invoke-rc.d
> in resolvconf hooks.
Not all packages depend on stuff in /usr/. Only those that do will
have to handle missing /usr/. This is nothing special for resolvconf,
it affect all packages running early in the boot, like packages
providing scripts in /etc/rcS.d/, ifupdown scripts or udev hooks.
Packages trying to run scripts early in the boot need to take this
into account, and squid is no exception there.
--
Happy hacking
Petter Reinholdtsen
More information about the pkg-squid-devel
mailing list