Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
`systemd-nspawn --bind=/tmp/.X11-unix` broken in 235 #7093
Pull request #6979 should be reconsidered because it breaks a useful systemd-nspawn convention for little practical benefit.
See: #6979 (comment)
systemd version the issue has been seen with
In case of bug report: Expected behaviour you didn't see
In case of bug report: Unexpected behaviour you saw
In case of bug report: Steps to reproduce the problem
systemd-nspawn --boot --directory DIR --bind=/tmp/.X11-unix
I can confirm this bug. But some of points in the bug report are wrong:
That is not true. The X0 socket is still there it just seems that it's isolated from the rest of the filesystem. You can check this via
Bugreport in Arch Linux Bugtracker: https://bugs.archlinux.org/task/55983
Unless I'm mistaken, the issue is that the filesystem entry in the host is unlinked by systemd-nspawn, preventing future connections to the socket on either the container or the host.
Existing connections to
Lennart Poettering #6979 (comment):
Evidently, the readonly mount flag does not prevent
@guns how does this solve anything? I tried that with my container.. now I get this message:
That is my full override.conf:
referenced this issue
Oct 16, 2017
mh as I thought. Your setup is very simple and you don't register your machine to
Should I open a new issue for this or do we re-open this one? I used the container to use a seperate VPN and spawn applications out of this container (like a web-browser). This way I could work with 2 browsers at the same time. One with VPN, the other one without.
Like I said, it was a minimal example. I use
Since it can be demonstrated that
This suggests you didn't specify -M nor -D nor -i and / was your working directory? Or that you specified -D/? either way it appears quite unrelated to the original issue at hand.
I'd need to know the precise nspawn command line ot help you further, if this is till an issue