spiegel_podman/pkg
Matthew Heon 57e38e9550 When superceding mounts, check for opposite types
When we supercede low-priority mounts and volumes (image volumes,
and volumes sourced from --volumes-from) with higher-priority
ones (the --volume and --mount flags), we always replaced
lower-priority mounts of the same type (e.g. a user mount to
/tmp/test1 would supercede a volumes-from mount to the same
destination). However, we did not supercede the opposite type - a
named volume from image volumes at /tmp/test1 would be allowed to
remain and create a conflict, preventing container creation.

Solve this by destroying opposite types before merging (we can't
do it in the same loop, as then named volumes, which go second,
might trample changes made by mounts).

Fixes #3174

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-05-21 10:21:21 -04:00
..
adapter Add connection information to podman-remote info 2019-05-16 11:03:22 -07:00
annotations Update cri-o annotations 2019-04-01 11:10:54 +02:00
apparmor apparmor: don't load default profile in rootless mode 2019-01-29 10:38:52 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime ctime: Drop 32-/64-bit distinction on Linux 2018-07-07 20:35:00 +00:00
firewall Replace existing iptables handler with firewall code 2018-09-10 18:53:27 +00:00
hooks s|kubernetes-sigs/cri-o|cri-o/cri-o|g 2019-05-17 11:10:09 -04:00
inspect Add support for retry count with --restart flag 2019-05-03 10:36:16 -04:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs Merge pull request #2522 from mheon/fix_timestamp_format_logs 2019-03-04 13:52:21 -08:00
lookup pkg/lookup: Return ID-only pointers on ErrNo*Entries 2018-12-04 14:46:43 -08:00
namespaces Fix lint 2019-03-28 18:01:36 -04:00
netns Fix godoc comment in pkg/netns 2018-07-27 02:48:16 +00:00
registrar Update registrar unit tests to match them of cri-o 2019-04-04 08:53:32 +02:00
registries change from sysregistries to sysregistriesv2 2019-05-03 10:38:51 -04:00
resolvconf Use host's resolv.conf if no network namespace enabled 2018-11-27 15:28:09 -05:00
rootless rootless: not close more FDs than needed 2019-04-18 14:32:46 +02:00
spec When superceding mounts, check for opposite types 2019-05-21 10:21:21 -04:00
sysinfo apparmor: apply default profile at container initialization 2019-01-09 22:18:11 +01:00
systemdgen add unit tests for generate systemd 2019-05-06 09:14:10 -05:00
tracing OpenTracing support added to start, stop, run, create, pull, and ps 2019-02-18 09:57:08 -05:00
trust Fix up image sign in PR 2108 2019-01-15 12:25:10 -05:00
util rootless, spec: allow resources with cgroup v2 2019-05-13 10:48:16 +02:00
varlinkapi Revert "Add VarlinkCall.RequiresUpgrade() type and method" 2019-05-16 14:36:11 -04:00