Works like a charm. Thanks for integrating the patch.

Manual test:
$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu Trusty Tahr (development branch)"

$ cat /etc/network/interfaces
source /etc/network/interfaces.d/*

$ cat /etc/network/interfaces.d/loopback.conf 
auto lo
iface lo inet loopback

$ cat /etc/network/interfaces.d/primary.conf
auto eth0
iface eth0 inet dhcp
iface eth0 inet6 auto

$ nmcli dev
DEVICE     TYPE              STATE        
eth0       802-3-ethernet    unmanaged    
eth1       802-3-ethernet    connected

$ grep NetworkManager /var/log/syslog
...
Jan 27 09:15:48 test NetworkManager[1091]:       interface-parser: parsing file 
/etc/network/interfaces
Jan 27 09:15:48 test NetworkManager[1091]:       interface-parser: source line 
includes interfaces file(s) /etc/network/interfaces.d/*
Jan 27 09:15:48 test NetworkManager[1091]:       interface-parser: parsing file 
/etc/network/interfaces.d/loopback.conf
Jan 27 09:15:48 test NetworkManager[1091]:       interface-parser: finished 
parsing file /etc/network/interfaces.d/loopback.conf
Jan 27 09:15:48 test NetworkManager[1091]:       interface-parser: parsing file 
/etc/network/interfaces.d/primary.conf
Jan 27 09:15:48 test NetworkManager[1091]:       interface-parser: finished 
parsing file /etc/network/interfaces.d/primary.conf
Jan 27 09:15:48 test NetworkManager[1091]:       interface-parser: finished 
parsing file /etc/network/interfaces
...

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1271567

Title:
  Include upstream patch for the ifupdown plugin to honor the source
  stanza

Status in “network-manager” package in Ubuntu:
  Fix Released

Bug description:
  Hi everyone,

  Since Debian 7 (Wheezy) / Ubuntu 11.04 (Natty Narwhal) ifupdown
  supports the source stanza to source in other configuration files from
  /etc/network/interfaces.

  Upstream the Network Manager ifupdown plugin has been patched to honor the 
source stanza:
  https://bugzilla.gnome.org/show_bug.cgi?id=707276

  Can we please integrate this upstream patch into Trusty?
  I've backported the two upstream patches, merged them, tested them against 
0.9.8.4-0ubuntu3 and attached the patch to this bug.

  Best,

  Michael Schaller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1271567/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to