Bug#776578: Spurious warning about interfaces.d/* files

2015-01-29 Thread Andrew Shadura
On 29 January 2015 at 15:10, martin f krafft madd...@debian.org wrote:
 At least while d-i does not put files into
 /etc/network/interfaces.d, this should probably not happen:

   root@bike:~# ifup eth0
   warning: couldn't open interfaces file /etc/network/interfaces.d/*
   […]

 It seems to be ifupdown, not a hook:

   root@bike:~# ifup --verbose eth0
   Parsing file /etc/network/interfaces.d/*
   warning: couldn't open interfaces file /etc/network/interfaces.d/*
   […]

Oh, I see. wordexp(3) doesn't tell ifupdown when it in fact matched no
files at all, and just returns the pattern so ifupdown tries to source
it.

-- 
Cheers,
  Andrew


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#776578: Spurious warning about interfaces.d/* files

2015-01-29 Thread martin f krafft
Package: ifupdown
Version: 0.7.52
Severity: normal

At least while d-i does not put files into
/etc/network/interfaces.d, this should probably not happen:

  root@bike:~# ifup eth0
  warning: couldn't open interfaces file /etc/network/interfaces.d/*
  […]

It seems to be ifupdown, not a hook:

  root@bike:~# ifup --verbose eth0
  Parsing file /etc/network/interfaces.d/*
  warning: couldn't open interfaces file /etc/network/interfaces.d/*
  […]

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ifupdown depends on:
ii  adduser  3.113+nmu3
ii  initscripts  2.88dsf-58
ii  iproute2 3.16.0-2
ii  libc62.19-13
ii  lsb-base 4.1+Debian13+nmu1

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.3.1-5

Versions of packages ifupdown suggests:
ii  net-tools  1.60-26+b1
pn  pppnone
pn  rdnssd none

-- debconf-show failed


-- 
 .''`.   martin f. krafft madduck@d.o @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)