[systemd-devel] Transient hostname default behaviour
Daniel Drake
dsd at laptop.org
Tue Oct 30 08:33:55 PDT 2012
On Mon, Oct 29, 2012 at 7:19 PM, Lennart Poettering
<lennart at poettering.net> wrote:
>> One more thing to add:
>>
>> It looks like /etc/sysconfig/network is still being parsed even though
>> the above link suggests otherwise. Putting HOSTNAME=myhostname in
>> /etc/sysconfig/network sets the default transient hostname. Hmm.
>
> That sounds like NM or so is reading the file and applying it?
No, systemd does. In git it doesn't, but v195 does read
/etc/sysconfig/network on Fedora if /etc/hostname is no good.
That caused some of the above confusion.
My other problem was that I did not have /etc/hostname available early
enough during boot.
Still can't explain all the behaviour I was seeing, but with that
fixed, things seem to be behaving.
It looks like some NM work may be pending here:
https://bugzilla.redhat.com/show_bug.cgi?id=831735
And I filed a bug for the dhclient issue identified by Zbyszek
https://bugzilla.redhat.com/show_bug.cgi?id=871521
Thanks
Daniel
More information about the systemd-devel
mailing list