avahi doesn't load the services/squid-deb-proxy.service

Bug #1491663 reported by Vahid Mardani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squid-deb-proxy (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

After restart the `squid-deb-proxy` in syslog: `Failed to load service group file /services/squid-deb-proxy.service, ignoring.`

So i added the :

    service avahi-daemon reload

in the `/usr/share/squid-deb-proxy/init-common.sh`

at the last line of the `post_start` function:

  post_start() {
    # create avahi service
    PORT=$(grep http_port /etc/squid-deb-proxy/squid-deb-proxy.conf|cut -d' ' -f2)
    if [ -n "$PORT" ] && [ -d /etc/avahi/services/ ]; then
     cat > $AVAHIFILE << EOF
  <?xml version="1.0" standalone='no'?>
  <!DOCTYPE service-group SYSTEM "avahi-service.dtd">
  <service-group>
    <name replace-wildcards="yes">Squid deb proxy on %h</name>
    <service protocol="ipv6">
      <type>_apt_proxy._tcp</type>
      <port>$PORT</port>
    </service>
    <service protocol="ipv4">
      <type>_apt_proxy._tcp</type>
      <port>$PORT</port>
    </service>
  </service-group>
  EOF
    # ensure proper permissions
    chmod 0644 $AVAHIFILE
    fi

    service avahi-daemon reload

  }

Now, it's working perfectly

description: updated
Revision history for this message
Rolf Leggewie (r0lf) wrote :

works fine for me.

What ubuntu release and package version are you using?

Revision history for this message
Rolf Leggewie (r0lf) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
Joshua Powers (powersj) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. In an effort to keep an up-to-date list of bugs to work I have reviewed this report to verify it still requires a fix and it occurs on a supported version of Ubuntu.

I was unable to reproduce this in a Yakkety or Zesty VM and do not see any such error message.

It is unfortunate that we were unable to resolve this defect, however there appears to be no further action possible at this time. I am therefore moving the bug to 'Incomplete'. If you disagree or have additional details, please feel free to add a comment and then change the status of the bug to 'Confirmed'.

Changed in squid-deb-proxy (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for squid-deb-proxy (Ubuntu) because there has been no activity for 60 days.]

Changed in squid-deb-proxy (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.