Public bug reported:

0.7.44ubuntu3 on Saucy 13.10 amd64.

On a multi-homed server with five ethernet interfaces we have 6
'interfaces' files in '/etc/network/interfaces.d/' for 'lo' and 'eth0'
through 'eth4'.

ifup -a fails to include the contents of these files and consequently
the interfaces are ignored.


"strace" reveals that when scanning the 'interfaces.d' directory ifupdown is 
using the "openat()" function which does an integral change-directory. It gets 
the list of files correctly and "closes()" the directory. It then does "open()" 
on each validly named file but gets  -ENOENT result because it forgets to 
prefix the file-name with the 'interfaces.d/' directory - so it is looking in 
'/etc/network/' rather than '/etc/network/interfaces.d/'.

** Affects: ifupdown (Ubuntu)
     Importance: Critical
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1235169

Title:
  Fails to read files in /etc/network/interfaces.d/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1235169/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to