[systemd-devel] systemd and hostname supplied by DHCP

David Timothy Strauss david at davidstrauss.net
Mon Sep 28 07:05:11 PDT 2015


On Mon, Sep 28, 2015 at 1:19 AM Alessio Igor Bogani <
alessioigorbogani at gmail.com> wrote:

> Hi systemd developers and users,
>
> The systemd 219 brought with Yocto "Fido" can't set hostname supplied
> by DHCP on my Beaglebone:
>
> eth0            : eth0            : could not bring up interface:
> Invalid argument
> eth0            : gained carrier
> eth0            : DHCPv4 address 192.168.205.87/24 via 192.168.205.1
> eth0            : link configured
> eth0            : Could not set hostname: No route to host
>

"Could not set hostname: No route to host" sounds like systemd is trying to
resolve and ping the provided hostname. But, it's failing, and so systemd
is deciding that it's not a usable hostname. Doesn't seem related to the
DHCP protocol implementation at all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150928/02c723bc/attachment.html>


More information about the systemd-devel mailing list