Your message dated Sat, 22 May 2010 14:59:31 +0200
with message-id <[email protected]>
and subject line Re: Bug#519907: End of network outage does not put polipo back 
into "online mode".
has caused the Debian Bug report #519907,
regarding End of network outage does not put polipo back into "online mode".
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
519907: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519907
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: polipo
Version: 1.0.4+58-1
Severity: important
File: /etc/network/if-down.d/01polipo

Regularly when I have a network outage -- such as when I unplug my
laptop to take it to a meeting -- polipo switches to "offline mode",
but when I plug the network back in, it doesn't go back into "online
mode".  This is also the case for long outages on my wifi interface,
such as when I restart my wireless router.

Today I noticed that this is caused by Debian-specific "cleverness"
that polipo installs by default into /etc/network/if-{up,down}.d/; I
can only assume these scripts have not been properly tested with my
kind of network use cases.

Example symptom:

    $ curl -sLI http://fnord.com/ | head -1
    HTTP/1.1 502 Disconnected operation and object not in cache
    $ env -u http_proxy curl -sLI http://fnord.com/ | head -1
    HTTP/1.1 200 OK

This is my /etc/network/interfaces:

    auto lo
    iface lo inet loopback
    allow-hotplug eth0
    iface eth0 inet dhcp
    auto ath0
    iface ath0 inet manual
    wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
    wpa-roam-default-iface ath0-default
    iface ath0-default inet dhcp

My /etc/polipo/options has not been touched:

    # See the /usr/share/doc/polipo/README.Debian file for details on this file

    method any
    #method static
    #method manual
    #method dhcp
    #method bootp
    #method ppp
    #method wvdial

NetworkManager is *not* installed.

By the way, I suggest you replace

    ( grep -qsxi '^[[:blank:]]*method[[:blank:]]*any[[:blank:]]*$' $OPTION_FILE 
\
    || grep -qsxi '^[[:blank:]]*method[[:blank:]]*$METHOD[[:blank:]]*$' 
$OPTION_FILE )

with

    grep -qsxi 
"^[[:blank:]]*method[[:blank:]]*\\(any\\|$METHOD\\)[[:blank:]]*$' $OPTION_FILE

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages polipo depends on:
ii  libc6                         2.9-4      GNU C Library: Shared libraries

polipo recommends no packages.

polipo suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 1.0.4.1-1

On Mon, Mar 16, 2009 at 15:04:39 +1100, Trent W. Buck wrote:

> Today I noticed that this is caused by Debian-specific "cleverness"
> that polipo installs by default into /etc/network/if-{up,down}.d/; I
> can only assume these scripts have not been properly tested with my
> kind of network use cases.
> 
These scripts don't do anything anymore, the 'cleverness' has been
removed, so it can stop screwing up.  (They'll be properly removed in
a next upload.)

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to