Package: ifupdown
Version: 0.8.19
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   Have a debian stretch system and was trying to use dhcpcd instead of 
isc-dhcp-client
   
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   aptitude purge isc-dhcp-client; aptitude install dhcpcd; reboot
   
   * What was the outcome of this action?
   Feb 20 13:14:12 smith ifup[456]: enp4s0: waiting for carrier
   Feb 20 13:14:12 smith ifup[456]: enp4s0: carrier acquired
   Feb 20 13:14:12 smith ifup[456]: enp4s0: adding address 
fe80::f009:72d8:4fca:8409
   Feb 20 13:14:12 smith ifup[456]: DUID 00:03:00:01:48:5b:39:a6:59:82
   Feb 20 13:14:12 smith ifup[456]: enp4s0: IAID 39:a6:59:82
   Feb 20 13:14:12 smith ifup[456]: enp4s0: soliciting an IPv6 router
   Feb 20 13:14:12 smith ifup[456]: enp4s0: soliciting a DHCP lease
   Feb 20 13:14:12 smith ifup[456]: enp4s0: Router Advertisement from 
fe80::76d4:35ff:fe8e:ac2a
   Feb 20 13:14:12 smith ifup[456]: enp4s0: ignoring RA from 
fe80::76d4:35ff:fe8e:ac2a (no public prefix, no managed address)
   Feb 20 13:14:12 smith ifup[456]: enp4s0: soliciting a DHCPv6 lease
   Feb 20 13:14:12 smith ifup[456]: enp4s0: REPLY6 received from 
fe80::76d4:35ff:fe8e:ac2a
   Feb 20 13:14:12 smith ifup[456]: enp4s0: applying ignored RA from 
fe80::76d4:35ff:fe8e:ac2a
   Feb 20 13:14:12 smith ifup[456]: enp4s0: adding address 
2001:8b0:1249::1aaf/128
   Feb 20 13:14:12 smith ifup[456]: enp4s0: renew in 1800 seconds, rebind in 
3150 seconds
   Feb 20 13:14:12 smith ifup[456]: enp4s0: adding route to 2001:8b0:1249::/64
   Feb 20 13:14:12 smith ifup[456]: enp4s0: adding default route via 
fe80::76d4:35ff:fe8e:ac2a
   Feb 20 13:14:12 smith ifup[456]: enp4s0: offered 192.168.0.10 from 
192.168.0.4
   Feb 20 13:14:12 smith ifup[456]: enp4s0: probing address 192.168.0.10/24
   Feb 20 13:14:12 smith ifup[456]: forked to background, child pid 631
   Feb 20 13:14:12 smith ifup[456]: /bin/sh: 1: cannot create /dev/stderr: No 
such device or address
   Feb 20 13:14:12 smith ifup[456]: ifup: failed to bring up enp4s0
   
   * What outcome did you expect instead?
   A working enp4s0

*** End of the template - remove these template lines ***

I think the error comes from inet6.defn:
    echo 'No DHCPv6 client software found!' >/dev/stderr; false 
and for some reason systemd does not let that file exist.
I'm not sure why you use /dev/stderr instead of &2 in the shell script.
I do have a /dev/stderr btw and it's a symlink to /proc/self/fd/2.
The reason this error gets tripped is because I was trying out dhcpcd and 
ifupdown does not support that for IPv6
but that is for another bug report.

-- Package-specific info:
--- /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp4s0

# IPv4 from DHCP
iface enp4s0 inet dhcp

# IPv6 from DHCPv6
iface enp4s0 inet6 dhcp
accept_ra 1
autoconf 0

--- up and down scripts installed:
/etc/network/if-down.d:
total 12
-rwxr-xr-x 1 root root 372 Jun 26  2017 openvpn
-rwxr-xr-x 1 root root 256 Jan 27  2015 resolvconf
-rwxr-xr-x 1 root root 332 Jun  2  2015 upstart

/etc/network/if-post-down.d:
total 8
lrwxrwxrwx 1 root root   29 Jul  2  2017 bridge -> /lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root  196 Feb  3  2017 chrony
-rwxr-xr-x 1 root root 1409 Mar 24  2016 wireless-tools

/etc/network/if-pre-up.d:
total 12
lrwxrwxrwx 1 root root   29 Jul  2  2017 bridge -> /lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root  344 Apr 28  2012 ethtool
-rwxr-xr-x 1 root root 4178 Mar 24  2016 wireless-tools

/etc/network/if-up.d:
total 36
-rwxr-xr-x 1 root root  817 Jan 27  2015 000resolvconf
-rwxr-xr-x 1 root root  213 Jul 22  2017 chrony
-rwxr-xr-x 1 root root 1685 Sep 22  2014 ethtool
-rwxr-xr-x 1 root root  305 Sep 27 13:24 mythtv-backend.if-up.d
-rwxr-xr-x 1 root root  972 Jun 18  2017 openssh-server
-rwxr-xr-x 1 root root  385 Jun 26  2017 openvpn
-rwxr-xr-x 1 root root 1483 Jun  2  2015 upstart


-- System Information:
Debian Release: 9.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (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.115
ii  init-system-helpers  1.48
ii  iproute2             4.9.0-1+deb9u1
ii  libc6                2.24-11+deb9u1
ii  lsb-base             9.20161125

Versions of packages ifupdown recommends:
ii  dhcpcd5 [dhcp-client]          6.10.1-1
ii  isc-dhcp-client [dhcp-client]  4.3.5-3

Versions of packages ifupdown suggests:
ii  ppp     2.4.7-1+4
pn  rdnssd  <none>

-- no debconf information

Reply via email to