Package: ifscheme
Version: 1.7-2
Severity: normal

I have something like

# /etc/network/interfaces
allow-hotplug eth0
mapping eth0
        script ifscheme-mapping

following the example in /usr/share/doc/ifscheme/README.ifscheme (the second
one). This worked nicely from the command line, but it does not work in
udev's /lib/udev/net.agent script, presumably because it does not export the
PATH to /sbin.

To make things worse, ifup does not complain at all about a nonexistent
script (even with --verbose) and udev does not check the exit status or
output of ifup. Those are the real bugs IMO, and maybe we can Cc this report
to ifupdown and udev? But it would help if we could update ifscheme's
documentation to always specify a full path to the mapping script. The
following works nicely, for example

allow-hotplug eth0
mapping eth0
        script /sbin/ifscheme-mapping

TIA,
Clemens


-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30 (SMP w/2 CPU cores; PREEMPT)
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 ifscheme depends on:
ii  ifupdown                      0.6.8+nmu1 high level tools to configure netw

ifscheme recommends no packages.

ifscheme suggests no packages.

-- no debconf information



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

Reply via email to