I created three scripts: (1) override in both /usr and /etc (2) usr-only in /usr (3) etc-only in /etc
doing "echo $0 >&2" and then ran networkd-dispatcher with -T (triggering scripts for current state) to run them: # networkd-dispatcher -v -TTTT No valid path found for iwconfig No valid path found for iw INFO:Triggering scripts for last-known state for allinterfaces INFO:Invoking '/etc/networkd-dispatcher/routable.d/etc-only' for interface eth0 /etc/networkd-dispatcher/routable.d/etc-only INFO:Invoking '/etc/networkd-dispatcher/routable.d/override' for interface eth0 /etc/networkd-dispatcher/routable.d/override INFO:Invoking '/usr/lib/networkd-dispatcher/routable.d/usr-only' for interface eth0 /usr/lib/networkd-dispatcher/routable.d/usr-only INFO:Startup complete As we can see, this passes our test cases: 1. /etc overrides /usr 2. etc-only is executed 3. usr-only is executed ** Tags removed: verification-needed verification-needed-bionic ** Tags added: verification-done verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1797884 Title: [SRU] overrides in /etc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/networkd-dispatcher/+bug/1797884/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs