Your message dated Sat, 01 Dec 2018 17:12:22 +0100
with message-id <874lbx4461....@meteor.durcheinandertal.bofh>
and subject line ifupdown hotplug is not meant for cable plugging
has caused the Debian Bug report #880982,
regarding ifup does not trigger scripts any more after booting
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
880982: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880982
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: udev
Version: 232-25+deb9u1
Severity: serious

Tested with updated Debian 9 (amd64):

Interface is declared at /etc/network/interfaces :
auto enp2s0
allow-hotplug enp2s0
iface enp2s0 inet dhcp

An executable script:
/etc/network/if-up.d/test1
only runs on boot (per each NIC). If network cable is plugged to enp2s0
some minutes later, script is not run.
Same behavior when booting with network, and unplugging + plugging later.


-- 


__________
I'm using this express-made address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.

--- End Message ---
--- Begin Message ---

Hi

As mentioned earlier by Guus the "allow-hotplug" keyword in ifupdown is not meant to execute anything when a cable is plugged. It's meant for the hotplug event when the network interface card is detected. So I'm closing this bug.

It's hard to tell why this worked for you in older versions of Debian. But ifupdown was never supposed to call this scripts when a cable was plugged with your configuration. Maybe some other mechanism called the script.

Gaudenz
--
PGP: 836E 4F81 EFBB ADA7 0852 79BF A97A 7702 BAF9 1EF5

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to