spiegel_podman/pkg/specgen
Chris Evich 45aff3bd29
libpod: forward NOTIFY_SOCKET for sd-notify container mode
Backports be5d1261b4

* mountNotifySocket consulted c.notifySocket, which was never populated.
  Use persisted c.config.SdNotifySocket instead so the path matches
  conmon's --sdnotify-socket and survives container restarts.

* Add WithSdNotifySocket and have MakeContainer read NOTIFY_SOCKET from
  the environment when sdnotify mode is container.

* Related to upstream be5d1261b4 (libpod: Move mountNotifySocket to
  container_internal_common.go), which introduced the shared
  mountNotifySocket path this wiring completes.

Created/Modified with the assistance of AI: Cursor <Auto>
Signed-off-by: Chris Evich <cevich@redhat.com>
2026-03-30 15:30:48 -04:00
..
generate libpod: forward NOTIFY_SOCKET for sd-notify container mode 2026-03-30 15:30:48 -04:00
config_unsupported.go Add build-tagged splits for libimage-dependent code 2026-03-30 15:13:31 -04:00
container_validate.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
namespaces.go Add container GID to additional groups 2022-09-08 15:33:29 +00:00
namespaces_test.go pkg/specgen: parse default network mode on server 2022-06-01 17:13:30 +02:00
pod_validate.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
podspecgen.go fix namespace reporting 2022-07-07 09:51:20 -04:00
specgen.go Add build-tagged splits for libimage-dependent code 2026-03-30 15:13:31 -04:00
specgen_local.go Add build-tagged splits for libimage-dependent code 2026-03-30 15:13:31 -04:00
specgen_remote.go Add build-tagged splits for libimage-dependent code 2026-03-30 15:13:31 -04:00
specgen_test.go fix test 2021-10-11 17:41:58 +08:00
volumes.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
winpath.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
winpath_linux.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_unsupported.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_windows.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00