File: 0006-Avoid-dependency-on-conmon-runner-config.patch

package info (click to toggle)
podman 5.6.1%2Bds2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,244 kB
  • sloc: sh: 4,493; python: 2,676; perl: 1,885; ansic: 1,484; makefile: 988; ruby: 42; csh: 8
file content (30 lines) | stat: -rw-r--r-- 1,160 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Reinhard Tartler <siretart@tauware.de>
Date: Thu, 18 Sep 2025 12:21:10 -0400
Subject: Avoid dependency on conmon runner config

Forwarded: not-needed
---
 libpod/oci_conmon_common.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libpod/oci_conmon_common.go b/libpod/oci_conmon_common.go
index 02fecd2..b30b8a3 100644
--- a/libpod/oci_conmon_common.go
+++ b/libpod/oci_conmon_common.go
@@ -25,7 +25,6 @@ import (
 	"github.com/containers/common/pkg/detach"
 	"github.com/containers/common/pkg/resize"
 	"github.com/containers/common/pkg/version"
-	conmonConfig "github.com/containers/conmon/runner/config"
 	"github.com/containers/podman/v5/libpod/define"
 	"github.com/containers/podman/v5/libpod/logs"
 	"github.com/containers/podman/v5/pkg/checkpoint/crutils"
@@ -45,7 +44,7 @@ const (
 	// directly from the Go code, so const it here
 	// Important: The conmon attach socket uses an extra byte at the beginning of each
 	// message to specify the STREAM so we have to increase the buffer size by one
-	bufferSize = conmonConfig.BufSize + 1
+	bufferSize = 8192 + 1
 )
 
 // ConmonOCIRuntime is an OCI runtime managed by Conmon.