On Wed, Jun 01, 2016 at 11:51:25AM +0200, Vincent Lefevre wrote: > Package: ifupdown > Version: 0.8.12 > Severity: important > > I can see that at boot time on my systemd-based laptop, the > /etc/network/if-pre-up.d and /etc/network/if-up.d scripts are run > twice.
It is normal that the if-*.d scripts are run multiple times. They are run once for every iface stanza in /etc/network/interfaces (so if you have both an inet and inet6 stanza for the same interface, the scripts get run twice). But also, an "ifup --all" will cause an extra pass of all the scripts, with IFACE set to "--all". Note that this is documented in the interfaces manpage. > Note that it seems to partly break the configuration because at least > z_home_net starts with: > > [ "$IFACE" != "lo" ] || exit 0 > > and the script does not exit here, which is unexpected at the point of > the boot. Other if-up.d scripts have similar code, so may also break. I don't see any problem in ifupdown itself. It could be that you have to modify your z_home_net script. If you send me a copy, I can have a look at it to see why it doesn't exit properly. -- Met vriendelijke groet / with kind regards, Guus Sliepen <g...@debian.org>
signature.asc
Description: Digital signature