[Bug 1717983] Re: replacement of isc-dhcp-client with with systemd-networkd for dhclient needs integration
Steve Langasek
steve.langasek at canonical.com
Tue Sep 19 18:18:48 UTC 2017
On Tue, Sep 19, 2017 at 01:09:24PM -0000, Scott Moser wrote:
> "I don't know.... I don't think.." doesnt really seem like valid
> justification for marking Invalid on avahi. I went looking a bit
> further. I'm not exactly sure why it ties into dhcp hooks, but it also
> ties into ifupdown hooks.
Ok, so alternate rationale: avahi-autoipd is a service that is primarily of
interest to mobile client systems, not to servers. The ifupdown->networkd
transition only affects servers. On client systems, we will continue to use
NetworkManager, which for the past 9 years has not been running the dhclient
hooks:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/293139
And no one has complained in that time about misbehavior of avahi as a
result of these particular hooks not being run. Therefore, whatever the
reason these undocumented upstream hooks were added, I don't believe they
matter for the ifupdown->systemd transition.
If you prefer to express this as 'wontfix' or 'triaged'+'wishlist', I don't
mind. But in terms of prioritization, I don't consider it important to
follow through any further on the avahi dhclient hooks.
> Should I raise another of these bugs for programs that ship ifupdown hooks ?
> /etc/network/if-{up,down}.d/*
I think that's reasonable. But please note that networkd simply does not
support these kinds of hooks today (in particular it does not support
if-pre-up.d and if-down.d because these hooks must block networkd; you can
implement if-up.d and if-post-down.d by running /after/ the network events).
The decision to migrate to networkd has been taken in full knowledge that,
at least initially, there would be regressions in these kinds of
integrations.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1717983
Title:
replacement of isc-dhcp-client with with systemd-networkd for dhclient
needs integration
Status in avahi package in Ubuntu:
Invalid
Status in cloud-init package in Ubuntu:
New
Status in controlaula package in Ubuntu:
New
Status in ddclient package in Ubuntu:
New
Status in maas package in Ubuntu:
New
Status in madwimax package in Ubuntu:
Triaged
Status in ntp package in Ubuntu:
New
Status in openresolv package in Ubuntu:
Won't Fix
Status in resolvconf package in Ubuntu:
Won't Fix
Status in samba package in Ubuntu:
New
Status in sendmail package in Ubuntu:
New
Status in ubuntu-meta package in Ubuntu:
Triaged
Bug description:
dhclient has been used as the dhcp client in Ubuntu and debian for
many years. Over time, many packages have integrated with dhclient.
The list below is of packages that have declared a dependency and
those that have shipped hooks to be invoked by dhclient.
As we move to systemd-networkd these will have to be addressed.
# ./get-rdeps isc-dhcp-client | sort -u
breaks - initramfs-tools (initramfs-tools)
depends - dracut (dracut-network)
depends - isc-dhcp (isc-dhcp-client-ddns)
depends - libguestfs (libguestfs0)
depends - maas (python3-maas-provisioningserver)
depends - netscript-2.4 (netscript-2.4)
depends - network-manager (network-manager)
depends - ubuntu-meta (ubuntu-minimal)
depends - walinuxagent (walinuxagent)
depends - whereami (whereami)
depends - wicd (wicd-daemon)
depends - wifi-radar (wifi-radar)
enhances - resolvconf (resolvconf)
recommends - avahi (avahi-autoipd)
recommends - ifupdown (ifupdown)
recommends - ifupdown2 (ifupdown2)
recommends - madwimax (madwimax)
$ apt-file search '/etc/dhcp/' | grep 'hooks.d/' | sed 's,:.*,,' | sort -u
avahi-autoipd
cloud-init
controlaula
ddclient
isc-dhcp-client
ntp
ntpdate
openresolv
resolvconf
samba-common
sendmail-base
systemd
whereami
Another possible integration point that is not likely listed in the package
dependencies is reading of the leases file for additional information.
As an example, Azure advertises the location of its http based metadata
service as an option in a dhclient response. cloud-init will read the
lease files to find the correct address.
Related bugs:
* bug 1713803: replacement of resolvconf with systemd needs integration
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: isc-dhcp-client 4.3.5-3ubuntu1
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Sep 18 12:46:31 2017
DhclientLeases:
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (788 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: isc-dhcp
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1717983/+subscriptions
More information about the foundations-bugs
mailing list