Package: ifupdown
Version: 0.6.7
Severity: normal

pre-up commands are the first things executed, before the *-up.d/*
scripts.  But post-down commands are *not* the last things executed.
The *-down.d/* scripts are executed after the post-down commands.  This
is counterintuitive, and makes it difficult to do some things that one
would expect to be easy (for example, load a wireless driver with pre-up
and unload it with post-down).

Suggested fix:  Split execute_all() into two functions, maybe
execute_options() and execute_scripts(), and call them in that order in
iface_up(), and in the opposite order in iface_down().

AMC

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (700, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

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

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to