Files
flatpak/tests
Richard Maw a96e9af37f Handle /var/tmp mounts when it is a symlink
In Yocto systems /var/tmp is a symlink to /var/volatile/tmp
because in its implementation of read-only rootfs /var is read-only
so /var/volatile is mounted as a tmpfs
and a subset of the paths point into it.

This would result in flatpak emitting mount arguments of
`--symlink ../var/volatile/tmp /var/tmp --bind /var/volatile/tmp /var/volatile/tmp`
which fails because flatpak has already added `--dir /var/tmp`
and the call to symlink fails with EEXIST.

This is fixed by blacklisting /var/tmp from symlink exports
in the same way /tmp is, so the bind is emitted as
`--bind /var/tmp /var/tmp`, which results in /var/volatile/tmp
being mounted into /var/tmp.
2021-09-23 09:57:33 +02:00
..
2016-02-25 15:27:37 +01:00
2019-04-08 12:50:42 +00:00
2019-12-17 14:55:13 +01:00
2019-03-06 23:44:50 +00:00
2021-05-25 11:11:03 +02:00
2016-02-25 19:03:09 +01:00
2021-08-23 12:19:03 +02:00
2020-03-20 15:37:10 +01:00
2020-03-20 15:37:10 +01:00
2020-03-20 15:37:10 +01:00
2021-05-25 11:11:03 +02:00
2021-05-25 11:11:03 +02:00
2021-05-25 11:11:03 +02:00
2021-04-19 09:09:04 +02:00