Public bug reported:
Binary package hint: squid-deb-proxy
Here's the summary of the problem after system startup:
% sudo service squid-deb-proxy status
squid-deb-proxy start/running, process 1297
% sudo service squid-deb-proxy-avahi status
squid-deb-proxy-avahi stop/waiting
As we see the squid-deb-proxy avahi advertiser does not start and no
machine can see we have a deb proxy around. Both dependencies (avahi and
squid-deb-proxy services) are running in my case. If I do 'service
squid-deb-proxy-avahi start' it goes up without a problem... I have
worked around it so the upstart script starts the advertising without
squid going up but this is not a solution obviously. I've tried to check
what could be wrong with the upstart script but there does not appear to
be any good documentation or manual for upstart scripting... thus I have
no clue why the script fails to start squid-deb-proxy-avahi... Here's
how it looks:
description "squid-deb-proxy-avahi"
start on (squid-deb-proxy and avahi-daemon)
stop on stopping squid-deb-proxy
# get it back with
# avahi-browse -prt _apt_proxy._tcp
script
PORT=$(grep http_port /etc/squid-deb-proxy/squid-deb-proxy.conf|cut -d' ' -f2)
if [ -n "$PORT" ] && [ -x /usr/bin/avahi-publish ]; then
exec avahi-publish -s "Squid deb proxy" _apt_proxy._tcp $PORT
fi
end script%
** Affects: squid-deb-proxy (Ubuntu)
Importance: Undecided
Status: New
--
Avahi service for squid-deb-proxy does not start
https://bugs.launchpad.net/bugs/666014
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs