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

Matthieu Herrb matthieu at herrb.eu
Sat Sep 19 07:02:12 UTC 2020


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.
-- 
Matthieu Herrb


More information about the xorg-devel mailing list