-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
systemd-nspawn --bind=/tmp/.X11-unix broken in 235 #7093
Copy link
Copy link
Closed
Description
Summary
Pull request #6979 should be reconsidered because it breaks a useful systemd-nspawn convention for little practical benefit.
See: #6979 (comment)
Submission type
- Bug report
systemd version the issue has been seen with
235
Used distribution
Arch Linux
In case of bug report: Expected behaviour you didn't see
-
Launch container with
systemd-nspawn … --bind=/tmp/.X11-unix -
Run an X client program successfully from within the container.
In case of bug report: Unexpected behaviour you saw
-
Launch container with
systemd-nspawn … --bind=/tmp/.X11-unix -
X client program exits with
cannot open display: :0. -
X unix socket at
/tmp/.X11-unix/X0on the host has been deleted by systemd-nspawn.
In case of bug report: Steps to reproduce the problem
-
Create a container if necessary.
-
Ensure host machine is running an X server that is listening on a unix socket in
/tmp/.X11-unix/ -
Boot the container with:
systemd-nspawn --boot --directory DIR --bind=/tmp/.X11-unix- Check
/tmp/.X11-unix/in the host and notice that all sockets in the directory have been deleted.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels