podman/pkg
Mario Loriedo d358e91817 Fix running machines with volumes containing spaces
Machines configured to mount local paths containing
spaces failed to start on Hyper-V and silently failed
to mount the folder on macOS/Linux.

On Windows/hyperv, where local paths are mounted
running a 9p client inside the VM, the local host
path needs to be surrounding with quotation marks
before using in a `podman machine ssh ...` command.

A similar behavior happened on Linux/QEMU where the
path was used in a SSH command to mount the folder
using virtiofs. Quoting the path when buidling the
command arguments fixed the problem.

On macOS/libkit,applehv the path was written as is
in a systemd unit name to instruct how to mount it.
Escaping space chars so that they are are parsed
successfully fixed this:
```diff
-- enable path with spaces.mount
++ enable path\x20with\x20spaces.mount
```

Fixes https://github.com/containers/podman/issues/25500

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-07 17:22:40 +00:00
..
annotations update golangci-lint to 1.60.1 2024-08-19 11:41:28 +02:00
api update podman socket output to include also exposed ports 2025-05-06 20:24:36 +00:00
auth Update CI to run Windows unit tests 2025-03-16 13:40:16 +00:00
autoupdate Vendor c/common:8483ef6022b4 2024-08-30 16:13:54 +02:00
bindings pkg/bindings: wrap image push decode error 2025-04-29 13:11:34 +00:00
channel bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
checkpoint Enable pod restore with crun 2024-10-21 17:37:20 +01:00
copy Fix windows path handling in podman cp 2025-04-08 15:23:08 -07:00
criu chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ctime update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
domain podman start: remove container if needed 2025-04-24 18:58:39 +00:00
emulation pkg/emulation: add linux build tag for elf 2025-04-02 13:35:14 -07:00
env update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
errorhandling ci: rm allow-unused from nolintlint settings 2025-03-31 12:27:55 -07:00
farm bump go to 1.22 2024-09-03 15:14:15 +02:00
fileserver Bump Go module to v5 2024-02-08 09:35:39 -05:00
inspect Bump Go module to v5 2024-02-08 09:35:39 -05:00
k8s.io ci: rm allow-unused from nolintlint settings 2025-03-31 12:27:55 -07:00
libartifact Add ability to set layer media type for artifacts 2025-04-17 10:36:21 -05:00
lookup Cease using deprecated runc userlookup 2024-02-02 11:02:43 -05:00
machine Fix running machines with volumes containing spaces 2025-05-07 17:22:40 +00:00
namespaces Apply De Morgan's law 2025-03-31 12:27:55 -07:00
parallel Bump Go module to v5 2024-02-08 09:35:39 -05:00
ps add filter for container command 2025-03-02 19:47:44 +02:00
rctl pkg/rctl: fix fprintf statement 2025-03-31 12:27:55 -07:00
rootless pkg/rootless: fix ST1005 warning for freebsd 2025-04-02 13:35:14 -07:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux
signal refacto: unknown signal return signal number without prefix 2024-02-28 19:45:03 +01:00
specgen Replace podman pause image with rootfs. 2025-04-17 08:36:27 +02:00
specgenutil Add support for pids-limit annotation for podman kube play. 2025-03-26 10:06:56 +01:00
specgenutilexternal Apply De Morgan's law 2025-03-31 12:27:55 -07:00
syncmap Add syncmap package and use it for graph stop/remove 2025-02-17 14:32:34 -05:00
systemd Fix running machines with volumes containing spaces 2025-05-07 17:22:40 +00:00
terminal Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
timetype Apply De Morgan's law 2025-03-31 12:27:55 -07:00
trust go1.23: use std maps package 2025-03-11 17:21:24 +01:00
util inspect: Ignore character devices for IO limits 2025-05-02 10:14:29 +00:00