Bug#945492: ifup/ifdown --all causes hooks to be called not per interface, but once with IFACE==--all

2020-04-26 Thread Guus Sliepen
severity 945492 wishlist thanks On Tue, Nov 26, 2019 at 11:16:56AM +1300, martin f krafft wrote: > root@lotus:/etc/network/if-pre-up.d# ifup -a > IFACE==--all > run-parts: /etc/network/if-pre-up.d/000debug exited with return code 1 > ifup: pre-up script failed > > Arguably, the hooks should be

Bug#945492: ifup/ifdown --all causes hooks to be called not per interface, but once with IFACE==--all

2019-11-25 Thread martin f krafft
Package: ifupdown Version: 0.8.35+b1 Severity: important root@lotus:/etc/network/if-pre-up.d# cat <<_eof > 000debug #!/bin/sh echo IFACE==$IFACE exit 1 _eof root@lotus:/etc/network/if-pre-up.d# chmod +x 000debug root@lotus:/etc/network/if-pre-up.d# ifup -a IFACE==--all run-parts: