Package: ifupdown
Version: 0.6.8
Severity: normal

This is mildly annoying and a regression since sarge:

  lapse:~# tail -0f /var/log/syslog&
  [1] 7983
  lapse:~# ifup eth0
  Internet Systems Consortium DHCP Client V3.0.4
  Oct 16 17:48:01 lapse dhclient: Internet Systems Consortium DHCP Client V3.0.4
  Copyright 2004-2006 Internet Systems Consortium.
  Oct 16 17:48:01 lapse dhclient: Copyright 2004-2006 Internet Systems 
Consortium.
  All rights reserved.
  Oct 16 17:48:01 lapse dhclient: All rights reserved.
  For info, please visit http://www.isc.org/sw/dhcp/
  Oct 16 17:48:01 lapse dhclient: For info, please visit 
http://www.isc.org/sw/dhcp/

  Oct 16 17:48:01 lapse dhclient: 
  Listening on LPF/eth0/00:14:a4:04:ea:dc
  Oct 16 17:48:02 lapse dhclient: Listening on LPF/eth0/00:14:a4:04:ea:dc
  Sending on   LPF/eth0/00:14:a4:04:ea:dc
  Oct 16 17:48:02 lapse dhclient: Sending on   LPF/eth0/00:14:a4:04:ea:dc
  Sending on   Socket/fallback
  Oct 16 17:48:02 lapse dhclient: Sending on   Socket/fallback

  ^C

I cancelled dhclient with ctrl-c at this point, but now:

  lapse:~# grep ^eth0 /etc/network/run/ifstate
  eth0=eth0
  lapse:~# ifup eth0
  ifup: interface eth0 already configured

However, no dhclient is running:

  lapse:~# ps aux | grep -c '[d]hcl'
  0


I believe this is a regression; if dhclient exits non-zero (130 on
ctrl-c), ifup should not mark the interface configured.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]       1.5.6        Debian configuration management sy
ii  libc6                       2.3.999.2-12 GNU C Library: Shared libraries
ii  lsb-base                    3.1-17       Linux Standard Base 3.1 init scrip
ii  net-tools                   1.60-17      The NET-3 networking toolkit

ifupdown recommends no packages.

-- debconf information excluded

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to