[systemd-devel] systemd and hostname supplied by DHCP

Mantas Mikulėnas grawity at gmail.com
Mon Oct 5 01:57:14 PDT 2015


On Mon, Oct 5, 2015 at 9:28 AM, Alessio Igor Bogani <
alessioigorbogani at gmail.com> wrote:

> Hi,
>
> On 3 October 2015 at 15:34, Lennart Poettering <lennart at poettering.net>
> wrote:
> [...]
> > Well, we need some kind of policy framework in place there that allows
> > the "systemd-networkd" user to set the hostname. If you disable
> > PolicyKit you have none, and hence the permission is denied.
>
> So I'll install polkit. The only downside is that polkit drag
> Javascript interpreter in which isn't a typical package for an
> embedded system due it's footprint but I suspect that I should live
> with it.  :-)
>

While I'm not really comfortable suggesting this, old polkit versions
(v0.105 and earlier) used a different rules format without JavaScript.

-- 
Mantas Mikulėnas <grawity at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151005/a0906e76/attachment.html>


More information about the systemd-devel mailing list