Your message dated Wed, 26 Sep 2012 16:35:55 +0200
with message-id <[email protected]>
and subject line dhclient stops running after cable modem connection outage
has caused the Debian Bug report #253472,
regarding ifupdown: dhclient stops running after cable modem connection outage
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.)


-- 
253472: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=253472
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ifupdown
Version: 0.6.4-4.8
Severity: important

Hi

If my inet provider connection (cable modem) goes down for more than
a few minutes and comes up again my sarge-system will not be reconnected
automatically to the internet because the dhclient program has stopped
running. I have to reconnect the system manually by ifdown/ifup.

ifup calls the dhclient program with the option '-e', that's why
dhclient is terminating itself if the cable connection is down for
more than a few minutes:

root     12085     1  0 14:29 ?        00:00:00 dhclient -e -pf 
/var/run/dhclient.eth1.pid -lf /var/run/dhclient.eth1.leases eth1

This option seems to be hardcoded in /sbin/ifup:

# strings /sbin/ifup
dhclient -e -pf /var/run/dhclient.%iface%.pid -lf 
/var/run/dhclient.%iface%.leases %iface%

I haven't found any option to overrule this. BTW it is not a good style
to hardcode the calls of the dhcp-clients in a binary. The dhcp-client
specific options should be encapsulated by a wrapper or something
else with a common interface for all dhcp-clients, maybe using the
debian alternatives mechanism.

Please remove the option '-e' from the dhclient call, it prevents the
system from being reconnected automatically after an inet connection
outage. If you are not at home and need to have remote access to your
system you are lost ...
That's why I consider this bug important.

My woody-system on the same cable modem reconnects fine and even
reestablishes the VPN without any problem. The dhclient on woody
will be called without option '-e' ;-).
woody: ifupdown version 0.6.4-4, dhcp-client version 2.0pl5-11

Regards

Uwe


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.4.21
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]       1.4.25       Debian configuration management sy
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared libraries an
ii  net-tools                   1.60-10      The NET-3 networking toolkit
ii  dhcp-client                 2.0pl5-19    DHCP Client

-- debconf information:
  ifupdown/convert-interfaces: true


--- End Message ---
--- Begin Message ---
The affected package (dhcp-client) is gone from debian.

--- End Message ---

Reply via email to