/etc/network/interfaces up, post-up commands not run at network startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netscript-2.4 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
# lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04
On a multi-homed 14.04 server, the post-up, up, pre-up, etc. scripts are not executed when the network interface is brought up automatically (auto ethN set) at boot.
ifup and ifdown do respect and run these commands if the auto ethN lines are not set in the interfaces config.
/etc/network/
-----
# The loopback network interface
auto lo
iface lo inet loopback
# Management Net interface
auto eth0
iface eth0 inet static
address 192.168.50.52
netmask 255.255.255.0
up /sbin/ip route add 192.168.50.0/24 dev eth0 src 192.168.50.52 table mgmtroute
up /sbin/ip route add default via 192.168.50.254 table mgmtroute
up /sbin/ip rule add from 192.168.50.0/24 table mgmtroute
# Public Net interface
auto eth1
iface eth1 inet static
address 192.168.60.52
netmask 255.255.255.0
gateway 192.168.60.254
up /sbin/ip route add 192.168.60.0/24 dev eth1 src 192.168.60.52 table hostingroute
up /sbin/ip route add default via 192.168.60.254 table hostingroute
up /sbin/ip rule add from 192.168.60.0/24 table hostingroute
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1472055/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]