[RFC] hostnamed
Lennart Poettering
lennart at poettering.net
Mon Apr 18 11:29:19 PDT 2011
Heya,
just wanted to mention that systemd git now as a tiny daemon "hostnamed"
which is started on demand via dbus, and whose purpose is exactly three
things: provide a PK authenticated way for UI tools to change the
hostname, for sending out change signals when the hostname changes and
finally to maintain a "pretty" hostname (i.e. "Lennart's PC" instead of
"lennarts-pc") and an icon for the local machine. I expect this to be
used very soonishly in Avahi, NM, gnome-user-share, Bluetooth and in the
GNOME3 configuration tools.
More information on this you find here:
http://www.freedesktop.org/wiki/Software/systemd/hostnamed
Why am I posting this here?
Well, first of all, I'd be interested in your comments, since this is
hopefully going to be something useful across desktops.
Secondly, if people still care for systemd-less systems: the interface
is neat and abstract, and doesn't even mention the word "systemd" in
it. So if you want systemd features without running systemd this might
be something you might want to reimplement in a compatible way.
No, I have no plans to make this a separate project. It's too small for
the maintainance burden a seperate project would mean, and implementing
this within the systemd framework makes this a work of 500 lines
only. Also, quite frankly, I have no interest in being nice to those who
wouldn't be thankful anyway.
Most likely a similar tiny dbus service to change the local time-zone
and wallclock time will show up in systemd soon too. And similar for
system locale data. Both will also do change events and PK so that they
are useful for user config tools.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the xdg
mailing list