Your message dated Sun, 10 Jan 2016 23:07:47 +0100
with message-id <[email protected]>
and subject line Re: ifupdown: Error on ifdown when option "gateway" used in 
/e/n/i
has caused the Debian Bug report #562223,
regarding ifupdown: Error on ifdown when option "gateway" used in /e/n/i
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.)


-- 
562223: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562223
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ifupdown
Version: 0.7~alpha3
Severity: normal


When using the gateway option in /etc/network/interfaces the route fails to be 
deconfigured on ifdown.

# ifup -v eth1=home-hub
Configuring interface eth1=home-hub (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/bridge
run-parts: executing /etc/network/if-pre-up.d/uml-utilities
ip addr add 192.168.118.8/255.255.255.0 broadcast 192.168.118.255        dev 
eth1
ip link set dev eth1   up
 ip route add default via 192.168.118.88  dev eth1 
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/clamav-freshclam-ifupdown
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/openvpn
run-parts: executing /etc/network/if-up.d/uml-utilities
res:~# ifdown -v eth1=home-hub
Configuring interface eth1=home-hub (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/clamav-freshclam-ifupdown
run-parts: executing /etc/network/if-down.d/openvpn
run-parts: executing /etc/network/if-down.d/resolvconf
ip addr flush dev eth1
 ip route del default via 192.168.118.88  dev eth1 
RTNETLINK answers: No such process

The /etc/network/interface configuration:

iface home-hub inet static
        address 192.168.118.8
        netmask 255.255.255.0
        network 192.168.118.0
        broadcast 192.168.118.255
        dns-domain br.priv
        gateway 192.168.118.88


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-nouveau.git-20091221 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  iproute                       20090324-1 networking and traffic control too
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  net-tools                     1.60-23    The NET-3 networking toolkit

ifupdown recommends no packages.

Versions of packages ifupdown suggests:
ii  dhcp3-client               3.1.3-1       DHCP client
ii  ppp                        2.4.4rel-10.1 Point-to-Point Protocol (PPP) - da

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



--- End Message ---
--- Begin Message ---
> # ifup -v eth1=home-hub
> Configuring interface eth1=home-hub (inet)
> ip addr add 192.168.118.8/255.255.255.0 broadcast 192.168.118.255
> dev eth1
> ip link set dev eth1   up
> ip route add default via 192.168.118.88  dev eth1 
> 
> res:~# ifdown -v eth1=home-hub
> Configuring interface eth1=home-hub (inet)
> ip addr flush dev eth1
> ip route del default via 192.168.118.88  dev eth1 
> RTNETLINK answers: No such process

I'm assuming the "ip addr flush" command may have caused the gateway
route to be removed as well. ifupdown no longer does a flush, and I
haven't seen any errors when using gateway routes, so I'm assuming this
problem has been long fixed.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <[email protected]>

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to