--- a/src/server_x11.c 2016-08-01 11:58:54.714647794 +0200 +++ b/src/server_x11.c 2016-08-01 11:58:46.606563478 +0200 @@ -151,7 +151,7 @@ DEFINE_COMMAND(open_forwarded_x11) #define X11_MIN_DISPLAY 10 #define X11_MAX_DISPLAY 1000 -/* FIXME: Create the /tmp/.X11-unix directory, if needed. Figure out +/* FIXME: Figure out * if and how we should use /tmp/.X17-lock. Consider using display * "unix:17" instead of just ":17". */ @@ -253,6 +253,7 @@ open_x11_socket(struct ssh_channel *chan old_umask = umask(0077); + mkdir(X11_SOCKET_DIR, S_IRWXU | S_IRWXG | S_IRWXO | S_ISVTX); old_cd = lsh_pushd(X11_SOCKET_DIR, &dir, 0, 0); if (old_cd < 0) { b8a8c7bd608f8e634bf316ebbc24f'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-environment-container.sh
AgeCommit message (Expand)Author
2020-10-05environment: Turn "lo" up in network-less containers....This is a followup to 0f53c801b91919380a924b402d1ff822bb1dc6ea. * guix/scripts/environment.scm (launch-environment/container): Add call to 'set-network-interface-up'. * tests/guix-environment-container.sh: Add test. Ludovic Courtès
2020-10-02environment: Provide /etc/hosts in containers without '--network'....Fixes <https://bugs.gnu.org/43762>. * guix/scripts/environment.scm (launch-environment/container): Create /etc/hosts when NETWORK? is false. * tests/guix-environment-container.sh: Add "localhost" resolution test. Ludovic Courtès