xorg xinit: use `uname -n` instead of `hostname`

Niclas Zeising zeising+xorg at daemonic.se
Mon Sep 21 08:20:04 UTC 2020


On 2020-09-19 09:02, Matthieu Herrb wrote:
> On Fri, Sep 18, 2020 at 10:31:23AM -0700, Alan Coopersmith wrote:
>> On 9/18/20 5:36 AM, Geert Hendrickx wrote:
>>> Hi Alan
>>>
>>>
>>> Could you take a look at https://gitlab.freedesktop.org/xorg/app/xinit/-/issues/18 ?
>>>
>>> It's a simple portability fix for xorg xinit, allowing Linux users
>>> to get rid of legacy inetutils (package providing hostname but also
>>> rlogin/rsh/rcp, talk telnet, and other dinosaurs) on their systems.
>>>
>>> Someone else already made a merge request for this:
>>> https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/3
>>
>> I've cc'ed the developer list since I don't know if there are any platforms
>> this will cause problems for.  (I'm one of the last people to ask about
>> Linux issues, since I work on Solaris, not Linux.)
>>
> 
> No objection from the BSD side afaik all of them support uname -n
> nowadays.
> 

I replied in the merge request in gitlab, but yeah, i agree with 
Matthieu, no problems on (Free)BSD.
Regards
-- 
Niclas Zeising


More information about the xorg-devel mailing list