WaylandClient: Create the wayland socket after fork

Fixes an issue where the client fd could be held open by the subprocess
launcher, causing the client's windows to hang and become unresponsive
until garbage collect. Also fixes these clients reporting the wrong PID.
15 jobs for !1995 with wayland-client-setup in 1 minute and 2 seconds (queued for 6 seconds)
latest detached
Status Name Job ID Coverage
  Review
passed check-commit-log #1530831

00:00:46

passed check-merge-request #1530832

00:00:14

 
  Prepare
failed build-fedora-container@aarch64 #1530834
aarch64

00:00:15

failed build-fedora-container@x86_64 #1530833

00:00:10

 
  Code Review
skipped check-code-style #1530835
allowed to fail
 
  Build
skipped build-mutter@aarch64 #1530837
aarch64
skipped build-mutter@x86_64 #1530836
skipped build-without-native-backend-and-wayland@x86_64 #1530839
skipped build-without-opengl-and-glx@x86_64 #1530838
 
  Test
skipped can-build-gnome-shell@x86_64 #1530842
skipped test-mutter@aarch64 #1530841
aarch64
skipped test-mutter@x86_64 #1530840
 
  Analyze
skipped test-mutter-coverage@aarch64 #1530844
aarch64
skipped test-mutter-coverage@x86_64 #1530843
skipped test-mutter-coverity #1530845
allowed to fail manual
 
Name Stage Failure
failed
build-fedora-container@x86_64 Prepare
+ die 'Missing environment variables: CI_REGISTRY_IMAGE'
+ echo 'Missing environment variables: CI_REGISTRY_IMAGE'
Missing environment variables: CI_REGISTRY_IMAGE
+ exit 1
Uploading artifacts for failed job
Uploading artifacts...
WARNING: container-build-report.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
build-fedora-container@aarch64 Prepare
+ echo 'Missing environment variables: CI_REGISTRY_IMAGE'
Missing environment variables: CI_REGISTRY_IMAGE
+ exit 1
Uploading artifacts for failed job
Uploading artifacts...
WARNING: container-build-report.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1