spiegel_podman/pkg
Paul Holzinger 114bb1efa7
machine/wsl: fix config mount logic
The current systemd service to mount /etc/containers is not working
right. The Before=podman.socket causes a ordering conflict which causes
the socket to be disabled and thus all podman remote connections fail.

The problem is the unit is wanted by the default.target while the socket
is wanted by sockets.target which can be before the default.target is
triggered. That means that the Before= line cannot be fulfilled and
sometimes systemd thus seems to not start the socket. It is unclear to
me why this is racy as it is sometimes also works.

This was reported by Vladimir Lazar from the PD team, our CI did not
caught this as we use rootless machines by default and the problem only
happens for the rootful socket so we do not see connection failures.
To fix this add at least one rootful socket check.

We do however have a different CI flake that was also caused by the
incorrect mount dependencies. The mount could happen after sshd or other
programs run. So to fix this we must hook the podman-mnt-config.service
into the local-fs.target which runs much earlier and is used for all the
mounts.

Fixes: #29003

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-07-02 14:01:43 +02:00
..
annotations RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
api api: avoid sizing logs channel from tail 2026-06-26 10:31:13 +03:00
auth api/compat: switch to moby/moby 2026-03-09 11:09:23 +01:00
autoupdate RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
bindings pkg/bindings: add tests for ToParams and helpers 2026-06-26 17:05:40 +05:30
channel bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
checkpoint checkpoint: close rootfs tar stream after use 2026-06-24 12:32:18 +03:00
copy pkg/copy: add tests for ParseSourceAndDestination 2026-06-24 22:25:26 +05:30
criu deps: bump go-criu to v8.2.0 2026-06-09 11:51:46 -07:00
ctime update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
domain pkg/domain: return an error instead of nil on remote event parse failure 2026-06-30 18:13:20 +05:30
emulation pkg/emulation: remove slice copying 2026-02-11 11:41:10 -08:00
env run modernize -fix ./... 2025-09-10 16:17:04 +02:00
errorhandling pkg/errorhandling: remove deadcode 2025-06-26 19:37:14 +02:00
farm RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
fileserver RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
inspect RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
k8s.io RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
logiface run modernize -fix ./... 2025-09-10 16:17:04 +02:00
lookup Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
machine machine/wsl: fix config mount logic 2026-07-02 14:01:43 +02:00
namespaces Remove slirp4netns setup functions (preserve RLK) 2026-04-13 09:04:41 -04:00
parallel RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pidhandle add missing O_CLOEXEC to open calls 2026-04-02 15:06:37 +02:00
ps fix: Handle healthcheck log corruption gracefully 2026-06-29 13:03:47 +02:00
rctl use strings.SplitSeq where possible 2025-09-10 16:17:04 +02:00
rootless pkg/rootless: modernize 2026-05-22 12:25:21 -07:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux bump selinux to v1.15.1, use SetProcessKind 2026-06-02 11:18:34 -07:00
signal enable gofumpt formatter 2025-11-11 12:32:46 +01:00
specgen Merge pull request #28977 from jiwahn/fix-kube-oci-annotation-roundtrip 2026-06-24 20:29:15 +05:30
specgenutil specgen: move log_path handling over to the server 2026-06-03 09:22:50 +05:30
specgenutilexternal enable gofumpt formatter 2025-11-11 12:32:46 +01:00
syncmap Add syncmap package and use it for graph stop/remove 2025-02-17 14:32:34 -05:00
systemd systemd: fix negative number conversion 2026-06-25 18:33:10 +03:00
terminal Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
trust Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
util Honor label filters for volume prune when all is set 2026-06-29 17:51:27 +08:00