spiegel_podman/pkg
Corey Hickey 03ee8204d3 podman machine: make 9p security model configurable; adjust docs
This addresses:
Symlinks don't work on podman machine on macOS Monterey when using volumes feature #13784

This change does NOT exactly fix the bug, but it does allow the user to
work around it via 'podman init' option, e.g.:
podman machine init -v "$HOME/git:$HOME/git:ro:security_model=none"

If the default security model were to be changed to 'none', then that
would fix the bug, at the possible cost of breaking any use cases that
depend on 'mapped-xattr'.

The documentation of the purpose and behavior of the different security
models seems to be rather light:
https://wiki.qemu.org/Documentation/9psetup#Starting_the_Guest_directly

From testing, it appears that the mapped-xattr security model intends to
manage symlinks such that the guest can see the symlinks but the host
only sees regular files (with extended attributes). As far as I can
tell, this behavior only makes sense when the guest is the only thing
that ever needs to create and read symlinks. Otherwise, symlinks created
on the host are unusable on the guest, and vice versa.

As per the original commit: 8e7eeaa4dd
[NO NEW TESTS NEEDED]

Also document existing ro and rw options.

Also remove misleading statement about /mnt. By my observation, this
line is incorrect. If the intended meaning is different, then I don't
understand.

The default volume is mounted read/write and is not within /mnt.

[core@localhost ~]$ mount | grep 9p
vol0 on /Users/chickey type 9p (rw,relatime,sync,dirsync,access=client,trans=virtio)

Signed-off-by: Corey Hickey <chickey@tagged.com>
2022-07-06 16:07:56 -07:00
..
annotations fix a number of godot issues 2022-03-22 13:04:35 +01:00
api api,images: add support for LookupManifest to Image remove API 2022-06-30 14:56:42 +05:30
auth pkg/auth: drop the TODO 2022-05-25 12:33:34 +02:00
autoupdate auto update: create an event 2022-05-23 14:11:29 +02:00
bindings api,images: add support for LookupManifest to Image remove API 2022-06-30 14:56:42 +05:30
channel channel: simplify implementation 2021-05-06 11:51:15 +02:00
checkpoint Add support for checkpoint image 2022-04-20 18:55:39 +01:00
copy bump go module to version 4 2022-01-18 12:47:07 +01:00
criu Fix spelling of GetCriuVersion 2022-06-27 12:57:44 +01:00
ctime golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
domain Merge pull request #14449 from cdoern/podVolumes 2022-07-01 08:46:11 +00:00
env Add more unit tests 2022-05-04 08:29:54 -05:00
errorhandling golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
hooks golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
inspect pkg/inspect: remove unused ImageResult type 2022-05-24 16:07:39 +02:00
k8s.io golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
kubeutils remove unneeded k8s code 2022-03-15 14:48:08 +01:00
lookup enable gocritic linter 2022-04-26 18:12:22 +02:00
machine podman machine: make 9p security model configurable; adjust docs 2022-07-06 16:07:56 -07:00
namespaces Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
parallel bump go module to version 4 2022-01-18 12:47:07 +01:00
ps bump go module to version 4 2022-01-18 12:47:07 +01:00
rootless Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
rootlessport go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
seccomp Spelling 2020-12-22 13:34:31 -05:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
servicereaper go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
signal Implement CatchAll and StopCatch in signal_common.go 2022-06-27 13:27:12 +01:00
specgen overlay,mount: convert lowerdir to absolute path for overlay mounts of path 2022-07-01 14:19:01 +05:30
specgenutil specgen: fix parsing of cgroup devices rule 2022-07-01 09:28:18 +02:00
systemd Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
terminal move golang.org/x/crypto/ssh/terminal to golang.org/x/term 2022-04-22 12:40:52 +02:00
timetype enable gocritic linter 2022-04-26 18:12:22 +02:00
trust Cleanup display of trust with transports 2022-02-22 15:08:58 -05:00
util volume: new options [no]copy 2022-06-27 20:22:20 +02:00