Page MenuHomeFreeBSD

x11/xtrans: don't unlink existing UNIX sockets
ClosedPublic

Authored by jbeich on May 30 2021, 9:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 10:36 PM
Unknown Object (File)
Fri, Dec 20, 6:09 PM
Unknown Object (File)
Mon, Dec 9, 4:46 AM
Unknown Object (File)
Thu, Dec 5, 7:54 AM
Unknown Object (File)
Thu, Dec 5, 7:52 AM
Unknown Object (File)
Mon, Nov 25, 5:02 PM
Unknown Object (File)
Mon, Nov 25, 5:19 AM
Unknown Object (File)
Mon, Nov 25, 5:19 AM

Details

Summary

Prevents multiple Xorg/Xwayland/Xephyr/etc instances from trampling each other X11 sockets (e.g., /tmp/.X11-unix/X0) that maybe still in use.

PR: 253277
Submitted by: Olivier Certner (based on)

Test Plan

Builds OK:

  • 11.4/12.2/13.0/14.0 aarch64/amd64/i386/armv6/armv7
  • All 19 consumers (via freshports list)

Runtime OK:

  • Xwayland (via sway)
  • Xorg (via startx)

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jbeich created this revision.
jbeich edited the summary of this revision. (Show Details)
  • Deduplicate PORTREVISION bumps

I would like upstream to at least comment on the MR before we merge it into the FreeBSD ports tree.

manu requested changes to this revision.Jul 22 2021, 4:26 PM
manu added a subscriber: manu.

Mark as request changes so it doesn't shows up in phab in "Must Review" category.

This revision now requires changes to proceed.Jul 22 2021, 4:26 PM

I have implemented all necessary stuff on the ConsoleKit and SDDM side to make switching users possible. This change is the last piece of puzzle.

I have implemented all necessary stuff on the ConsoleKit and SDDM side to make switching users possible. This change is the last piece of puzzle.

Go ahead.

This revision is now accepted and ready to land.Sep 1 2023, 8:56 AM
This revision was automatically updated to reflect the committed changes.