Package: squid3
Version: 3.3.8-1.2
Tags: patch
User: [email protected]
Usertags: debian-edu
Hi.
I discovered this on Debian Edu, where the following line is in
/var/log/syslog shortly after the first boot of a main server:
Oct 15 09:47:23 tjener resolvconf[149]:
/etc/resolvconf/update-libc.d/squid3: 6:
/etc/resolvconf/update-libc.d/squid3: invoke-rc.d: not found
I believe this is because the script is called before /usr/ is mounted,
and /usr/sbin/invoke-rc.d is not available yet. What about rewriting
the code to look like this instead?
# Avoid reload before /usr is mounted
if [ -d /usr/sbin ] ; then
invoke-rc.d squid3 reload || true
fi
--
Happy hacking
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]