Your message dated Sun, 10 Jan 2016 20:40:32 +0100
with message-id <[email protected]>
and subject line Re: ifupdown: terminates ppp interface before eth interface
has caused the Debian Bug report #307354,
regarding ifupdown: terminates ppp interface before eth interface
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.)


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

I'm using /etc/network/interfaces to start my ppp
connection (pppoe over eth0). At system boot everything works 
as expected. But at shutdown the eth0 interface is brought down
before the ppp0 link. So pppd can not terminate correctly.
This doesn't matter for usual configurations but I'm using
some extra plugins with pppd which require pppd to exit cleanly.
I think this problem can be solved by inserting following line to
/etc/init.d/networking into the stop section before 
ifdown -a --exclude lo:

ifdown -a --exclude eth --exclude lo

I have not tested this yet but will do next days.

Thanks,
Andreas

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-proton
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]       1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  net-tools                   1.60-10      The NET-3 networking toolkit

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


--- End Message ---
--- Begin Message ---
With current versions of ifupdown, it is safe to call ifup/ifdown
recursively. So if you really want your ppp interface to be down before
eth0 goes down, do something like this:

iface eth0 inet dhcp
        ...
        down ifdown ppp

iface ppp inet ...
        ...

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

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to