Your message dated Mon, 16 Nov 2015 23:37:46 +0100
with message-id <[email protected]>
and subject line Please provide logical interface name to up/down commands
has caused the Debian Bug report #244101,
regarding Please provide logical interface name to up/down commands
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.)


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

My network up script no longer works as it should with 0.6.4-4.7
unfortunatly downgrading back to 0.6.4-4.6 did not fix the problem.

Here is a snipet of my script the purpose is to only run if both ojibway5
and comcast interfaces have been probed and brought up.  $COMCAST should be
exported with it's value that of it's $IFACE.  $MODE=do is my own creation
it's the next level of $MODE=start.  This script worked fine AFAIK untill I
upgraded.  Now the iface file is not written too untill after these commands
are run.  /e/n/.ojibway5_comcast.sh is an auto-generated script and set +x,
it's set -x when run on ifdown.

ojibway5_comcast () {
        if      grep -q =ojibway5 /etc/network/ifstate &&
                grep -q =comcast /etc/network/ifstate &&
                [ ! -x /etc/network/.ojibway5_comcast.sh ]
        then echo Running.
            MODE="do" COMCAST="$(grep =comcast /etc/network/ifstate |
              cut -f1 -d=)" /etc/network/ifup-mkundo.sh\
                $0 /etc/network/.ojibway5_comcast.sh\
                ojibway5_comcast
        fi
}

How is this tobe done now?

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (930, 'unstable'), (900, 'testing'), (1, 'experimental')
Architecture: sparc (sparc64)
Kernel: Linux 2.4.24-sparc64
Locale: LANG=C, LC_CTYPE=C

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

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


--- End Message ---
--- Begin Message ---
The requested functionality will not be supported. The ifstate file is
not something that should be read by external scripts. The best solution
is to do "ifquery --state $IFACE", where IFACE is a physical interface
name. If some action should be taken based on the logical interface, use
the up and down keywords to save the required state manually.

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

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to