confusion over INTERFACE or IFACE in net-device-added
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
New
|
Undecided
|
Unassigned |
Bug Description
Release ubuntu 14.04, amd64
The manual page init(5) contains the text:
start on net-device-added INTERFACE!=lo
However, it would appear that the upstart module used by /etc/network/
if [ "$IFACE" != lo ]; then
initctl emit -n net-device-up \
fi
So the manual says the interface should be INTERFACE, but the code seems to use IFACE (and indeed, unless you test for IFACE, events passed by NetworkManager are not detected correctly)
Really these ought to be consistent.
There seems to be further evidence of confusion in other upstart scripts in my init directory; some use IFACE while others seem to use INTERFACE.