network manager does not run files in /etc/network/if-pre-up.d
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-manager
On ubuntu intrepid:
/etc/NetworkMan
/etc/network/
( i added echo "$@" >> /tmp/blouh at the beginning of the script, and after some plugging/unplugging of the network cable or using the gnome-applet to disable/enable the network, i get:
cat /tmp/blouh
eth0 down
eth0 up
eth0 down
eth0 up
There is no preup/postdown calls, which is a problem since there are scripts in the corresponding directories.)
I definitely confirm this. What is extremely confusing is the following source code in "dispatcher. d/01ifupdown" :
case "$2" in
up) .....
down) ...
pre-up) .... !?
post-down) .... !?
esac
Has the author of this script really used it?
This is quite a regression considering that hooks in /etc/dhcp3/ are not run either (another problem).