rpm-ostree/tests/common
Robert Fairley c89f81c138 libvm: Use shared memory for SSH control socket instead of /var/tmp
In Fedora 29, and Fedora 30 Silverblue, I have come across the
following error when executing `make vmsync` from my build container
(also on Fedora 29 and Fedora 30 images respectively):

```
...
Failed to connect to new control master
...
Control socket connect(/var/tmp/ssh-vmcheck-1556768111752693879.sock): Connection refused
Failed to connect to new control master
...
```

Previously this worked with Fedora 28 as the host.

After changing the socket to be in /dev/shm, the SSH connection to
the `vmcheck` VM is successful and the sources sync over.

The cause of this seems to be a problem with overlayfs and unix
sockets: https://github.com/moby/moby/issues/12080

Since overlayfs is the default graph driver in Fedora now, work
around this by switching the socket to be in /dev/shm.

Closes: #1827
Approved by: jlebon
2019-05-02 20:43:28 +00:00
..
libtest-core.sh tests/libtest-core: support multiple literal checks 2018-01-11 20:17:50 +00:00
libtest.c tests: add libtest.c for binary tests 2017-06-29 16:16:54 +00:00
libtest.h tests: add libtest.c for binary tests 2017-06-29 16:16:54 +00:00
libtest.sh tests/libtest.sh: Lift assert_jq from libvm.sh 2019-02-27 01:05:43 +00:00
libtestrepos.sh tests: Rename one libcomposetest.sh 2018-09-10 17:06:10 +00:00
libvm.sh libvm: Use shared memory for SSH control socket instead of /var/tmp 2019-05-02 20:43:28 +00:00