[Bug 1797884] Re: [SRU] overrides in /etc

Launchpad Bug Tracker 1797884 at bugs.launchpad.net
Mon Oct 29 09:11:14 UTC 2018


This bug was fixed in the package networkd-dispatcher - 1.7-0ubuntu3.3

---------------
networkd-dispatcher (1.7-0ubuntu3.3) bionic; urgency=medium

  * Allow overriding /usr/lib scripts in /etc/networkd-dispatcher.
    Replaces our patch to use /usr/lib/networkd-dispatcher with the
    solution contributed upstream that has a search path with both
    /usr/lib/ and /etc locations.
    (LP: #1797884)
  * Create directories for scripts in /etc

 -- Julian Andres Klode <juliank at ubuntu.com>  Mon, 15 Oct 2018 14:12:24
+0200

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

-- 
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:
  Fix Released

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.

  We patched it in bionic from /etc to /usr in a quick hack sort of way
  to enable us to provide packaged scripts that are not conffiles. This
  now restores the ability to have /etc scripts, while still keeping the
  /usr thing in tact.

  [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