[Bug 1775559] [NEW] bad directory location for scripts

Hadmut Danisch hadmut at danisch.de
Thu Jun 7 09:28:03 UTC 2018


Public bug reported:

Hi,

for some (for me still unknown) reason ubuntu moved from ifupdown to
netplan with 18.04. netplan does not support any if-up/if-down scripts
(yet), although really important for many configurations.


Canonical itself recommends on the netplan.io webpage to use networkd-dispatcher instead:
https://netplan.io/faq#bring-interfaces-up-or-down


While the networkd-dispatcher in it's upstream version's docs mentions a configuration directory /etc/networkd-dispatcher under 
https://github.com/craftyguy/networkd-dispatcher

the ubuntu package version uses /usr/lib/networkd-dispatcher

which effectively means that machine's local configuration files have to
go to /usr/lib instead of /etc, which is a no-go. /usr/... should be
kept clean and contain packaged files only.

thus, networkd-dispatcher should either read config files from two
locations or move and link /usr/lib/networkd-dispatcher to /etc where it
belongs.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: networkd-dispatcher 1.7-0ubuntu3
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: amd64
CurrentDesktop: LXDE
Date: Thu Jun  7 11:20:31 2018
InstallationDate: Installed on 2018-04-30 (37 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
SourcePackage: networkd-dispatcher
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug bionic

-- 
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/1775559

Title:
  bad directory location for scripts

Status in networkd-dispatcher package in Ubuntu:
  New

Bug description:
  Hi,

  for some (for me still unknown) reason ubuntu moved from ifupdown to
  netplan with 18.04. netplan does not support any if-up/if-down scripts
  (yet), although really important for many configurations.

  
  Canonical itself recommends on the netplan.io webpage to use networkd-dispatcher instead:
  https://netplan.io/faq#bring-interfaces-up-or-down

  
  While the networkd-dispatcher in it's upstream version's docs mentions a configuration directory /etc/networkd-dispatcher under 
  https://github.com/craftyguy/networkd-dispatcher

  the ubuntu package version uses /usr/lib/networkd-dispatcher

  which effectively means that machine's local configuration files have
  to go to /usr/lib instead of /etc, which is a no-go. /usr/... should
  be kept clean and contain packaged files only.

  thus, networkd-dispatcher should either read config files from two
  locations or move and link /usr/lib/networkd-dispatcher to /etc where
  it belongs.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: networkd-dispatcher 1.7-0ubuntu3
  ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
  Uname: Linux 4.15.0-22-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.9-0ubuntu7.1
  Architecture: amd64
  CurrentDesktop: LXDE
  Date: Thu Jun  7 11:20:31 2018
  InstallationDate: Installed on 2018-04-30 (37 days ago)
  InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  PackageArchitecture: all
  SourcePackage: networkd-dispatcher
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list