On Thu, 2008-04-03 at 10:17 -0400, David Mansfield wrote:
On Thu, 2008-04-03 at 10:10 -0400, Adam Jackson wrote:
> For the perversely curious: X's session management protocol defines a
> concept of a client ID, generated by the session leader and passed to
> new clients. Unfortunately, the spec defines the client ID in such a
> way that you have to emit the IP address of the server in the ID, and
> the way that gets implemented (hold your nose) is by calling
> gethostname() followed by gethostbyname(). So if your resolver isn't
> reachable (because the route is down, or because it changed and
> gnome-session has the old one cached), or if your hostname isn't a
> resolvable DNS name, you lose.
>
> Thankfully the client ID is an opaque string prefixed by a version
> number, so you can just bump the version number and use UUIDs.
By "you" do you mean you? And does this mean you have done this in
latest X or that it is left as an exercise for the reader?
I mean Dan did a patch for it that I need to test and commit.
Should be in koji shortly, and rawhide tomorrow.
- ajax