Thanks for the report.

agreed. I will submit a fix with appropriate dependencies.

ifupdown2 is running today on a distribution with latest networking tools on 
linux
mainly iproute2. You may see warnings related to ip and other commands if not 
available.

will fix it.

On 1/12/16, 11:38 AM, Alex Henry wrote:
> Package: ifupdown2
> Version: 1.0~git20151029-1
> Severity: normal
>
> Hello, 
>
> Recently systemd has been tagged as "conflicts" with ifupdown 
> so a system update broke my network configuration. I have been
> able to restore the configuration by using ifupdown2 but I have
> seen a few error messages that probably indicate that there are
> missing dependencies on this package.
>
> Despite the errors I have been able to use ifupdown2 to get
> eth0 up and then using the "pump" package I could configure
> DHCP to get my Internet connection working again.
>
> When trying to configure a static IP address:
>
>  > ifup eth0
>  warning: /etc/network/interfaces: line4: cannot find source file 
> /etc/network/interfaces.d/*
>  warning: failed to execute cmd 'ip -force -batch -' ([Errno 2] No such file 
> or directory)
>
> When trying to use DHCP:
>
>  > ifup eth0
>  warning: /etc/network/interfaces: line4: cannot find source file 
> /etc/network/interfaces.d/*
>  warning: failed to execute cmd '/sbin/dhclient -pf /run/dhclient.eth0.pid 
> -lf /var/lib/dhcp/dhclient.eth0.leases eth0' ([Errno 2] No such file or 
> directory)
>
> Please ignore the "line 4" warnings since I don't think they
> are relevant.
>
> I believe that whatever packages provide "ip" and "dhclient"
> should be listed in "depends" or "recommends" on ifupdown2.
>
>
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages ifupdown2 depends on:
> ii  init-system-helpers  1.24
> ii  python-argcomplete   0.8.1-1
> ii  python-ipaddr        2.1.11-2
> pn  python:any           <none>
>
> ifupdown2 recommends no packages.
>
> Versions of packages ifupdown2 suggests:
> pn  python-gvgen  <none>
> pn  python-mako   <none>
>
> -- no debconf information

Reply via email to