[Bug 1797884] [NEW] {SRU] overrides in /etc

Julian Andres Klode 1797884 at bugs.launchpad.net
Mon Oct 15 12:11:31 UTC 2018


Public bug reported:

[Impact]
networkd-dispatcher in bionic does not support overriding scripts or placing custom scripts in /etc, making it not configurable for a system administrator

[Test case]
1. Check that /etc/networkd-dispatcher/$event/$foo overrides /usr/lib/networkd-dispatcher/$event/$foo for some event directory $event, and some script $foo
2. Check that a script in /etc is executed correctly without a script in /usr
3. Check that a script in /usr is executed correctly without a script in /etc

Can just run networkd-dispatcher -T to retrigger the current state as
user to verify

[Regression potential]
If something went wrong with the implementations, scripts would not execute or in the wrong order, or the wrong script might execute (/usr where overriden in /etc).

** Affects: networkd-dispatcher (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: networkd-dispatcher (Ubuntu Bionic)
     Importance: Undecided
         Status: In Progress

** Also affects: networkd-dispatcher (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: networkd-dispatcher (Ubuntu)
       Status: New => Fix Released

** Changed in: networkd-dispatcher (Ubuntu Bionic)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to networkd-dispatcher in Ubuntu.
https://bugs.launchpad.net/bugs/1797884

Title:
  {SRU] overrides in /etc

Status in networkd-dispatcher package in Ubuntu:
  Fix Released
Status in networkd-dispatcher source package in Bionic:
  In Progress

Bug description:
  [Impact]
  networkd-dispatcher in bionic does not support overriding scripts or placing custom scripts in /etc, making it not configurable for a system administrator

  [Test case]
  1. Check that /etc/networkd-dispatcher/$event/$foo overrides /usr/lib/networkd-dispatcher/$event/$foo for some event directory $event, and some script $foo
  2. Check that a script in /etc is executed correctly without a script in /usr
  3. Check that a script in /usr is executed correctly without a script in /etc

  Can just run networkd-dispatcher -T to retrigger the current state as
  user to verify

  [Regression potential]
  If something went wrong with the implementations, scripts would not execute or in the wrong order, or the wrong script might execute (/usr where overriden in /etc).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/networkd-dispatcher/+bug/1797884/+subscriptions



More information about the foundations-bugs mailing list