On 06.11.2013 07:54, Michael Vogt wrote:
> On Tue, Nov 05, 2013 at 03:44:57PM +0100, Varac wrote:
>> Package: squid-deb-proxy
>> Version: 0.7.2
>> Severity: important
>  
> Thanks for your bugreport. 

sry for the delay !

>  
>> After restarting, the service is announced by avahi only on ipv6, not on
>> ipv4 anymore.
>> However, apt-get update still fails.
> 
> How does your
>   /etc/avahi/services/squid-deb-proxy.service
> file look like? It does contain the <service protocol="ipv4"> line I
> assume? 

# cat /etc/avahi/services/squid-deb-proxy.service
<?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>8000</port>
        </service>
        <service protocol="ipv4">
                <type>_apt_proxy._tcp</type>
                <port>8000</port>
        </service>
</service-group>




> 
> And if I read your log right, the _apt_proxy._tcp service appears
> again after you did a manual restart of the avahi service, is that
> correct? 

yes.

greetings, varac

> 
> Cheers,
>  Michael
>  
>> root@greyhound:~# avahi-browse -a|grep proxy
>> + vboxnet0 IPv6 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>> + vboxnet0 IPv4 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>> + virbr0 IPv4 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>> +    br0 IPv6 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>> +    br0 IPv4 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>>
>> root@greyhound:/etc/apt#
>> /usr/share/squid-deb-proxy-client/apt-avahi-discover
>> http://10.5.5.1:8000/
>>
>>
>>
>> root@greyhound:~# /etc/init.d/squid-deb-proxy restart
>> Restarting Squid Deb HTTP Proxy: squid-deb-proxy
>> Waiting.....................done.
>> 2013/07/26 20:20:28| strtokFile:
>> /etc/squid-deb-proxy/autogenerated/pkg-blacklist-regexp.acl not found
>> 2013/07/26 20:20:28| Warning: empty ACL: acl blockedpkgs urlpath_regex
>> "/etc/squid-deb-proxy/autogenerated/pkg-blacklist-regexp.acl"
>> .
>>
>> root@greyhound:~# apt-get update
>> 0% [Working]Failed to resolve service 'Squid deb proxy on greyhound' of
>> type '_apt_proxy._tcp' in domain 'local': Timeout reached
>> Failed to resolve service 'Squid deb proxy on greyhound' of type
>> '_apt_proxy._tcp' in domain 'local': Timeout reached
>> Failed to resolve service 'Squid deb proxy on greyhound' of type
>> '_apt_proxy._tcp' in domain 'local': Timeout reached
>> Failed to resolve service 'Squid deb proxy on greyhound' of type
>> '_apt_proxy._tcp' in domain 'local': Timeout reached
>> Failed to resolve service 'Squid deb proxy on greyhound' of type
>> '_apt_proxy._tcp' in domain 'local': Timeout reached
>> Failed to resolve service 'Squid deb proxy on greyhound' of type
>> '_apt_proxy._tcp' in domain 'local': Timeout reached
>> Hit http://security.debian.org wheezy/updates Release.gpg
>> Hit http://security.debian.org jessie/updates Release.gpg
>> Hit http://security.debian.org wheezy/updates Release
>> ...
>>
>> root@greyhound:~# /usr/share/squid-deb-proxy-client/apt-avahi-discover
>> Failed to resolve service 'Squid deb proxy on greyhound' of type
>> '_apt_proxy._tcp' in domain 'local': Timeout reached
>> Failed to resolve service 'Squid deb proxy on greyhound' of type
>> '_apt_proxy._tcp' in domain 'local': Timeout reached
>>
>>
>> root@greyhound:~# avahi-browse -a|grep proxy
>> + vboxnet0 IPv6 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>> +    br0 IPv6 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>>
>> root@greyhound:~# /etc/init.d/avahi-daemon restart
>> Restarting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
>>
>> root@greyhound:~# avahi-browse -a|grep proxy
>> + vboxnet0 IPv6 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>> + vboxnet0 IPv4 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>> + virbr0 IPv4 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>> +    br0 IPv6 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>> +    br0 IPv4 Squid deb proxy on greyhound
>> _apt_proxy._tcp      local
>>
>> -- System Information:
>> Debian Release: 7.2
>>   APT prefers stable
>>   APT policy: (990, 'stable')
>> Architecture: amd64 (x86_64)
>>
>> Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores)
>> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
>> Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to