Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
de26530
cmd/podman.persistentRunE(): Fatal linux check if no Cgroups v2
lsm5 Nov 3, 2025
8846d1e
cmd/podman/containers/unpause: Remove cgroupv1 check
lsm5 Nov 3, 2025
49943da
libpod/container_internal*.go: Remove Cgroups v1
lsm5 Nov 5, 2025
5d39107
libpod/info_linux.go: Remove Cgroups v1
lsm5 Nov 5, 2025
2ba50f4
libpod/runtime_linux.go: Remove Cgroups v1
lsm5 Nov 3, 2025
a1b2b86
libpod/runtime_pod_linux.go: Remove Cgroups v1
lsm5 Nov 3, 2025
afcac3b
pkg/domain/infra/runtime_libpod.go: Remove Cgroups v1
lsm5 Nov 3, 2025
30c6df7
pkg/specgen/generate/validate_linux.go: Remove Cgroups v1
lsm5 Nov 3, 2025
b6d2edb
libpod/runtime_ctr.go: Remove Cgroups v1
lsm5 Nov 5, 2025
81c3064
libpod/runtime.go: Remove Cgroups v1
lsm5 Nov 5, 2025
3a04ccc
libpod/util_linux.go: Remove Cgroups v1
lsm5 Nov 5, 2025
70dc291
libpod/pod_api.go: Remove Cgroups v1
lsm5 Nov 5, 2025
c6ecc1b
pkg/specgen/namespaces.go: Remove Cgroups v1
lsm5 Nov 5, 2025
ecf7f7f
pkg/domain/infra/abi/pods_stats.go: Remove Cgroups v1
lsm5 Nov 5, 2025
4984ec0
pkg/domain/infra/abi/containers.go: Remove Cgroups v1
lsm5 Nov 5, 2025
103dafc
pkg/api/handlers/libpod/containers_stats.go: Remove Cgroups v1
lsm5 Nov 5, 2025
8adc31c
cmd/podman/system/service_abi_linux.go: Remove Cgroups v1
lsm5 Nov 5, 2025
c10f35c
pkg/api/handlers/compat/containers_create.go: Remove Cgroups v1
lsm5 Nov 5, 2025
471feaf
test/e2e: delete CgV1 skips, delete tests skipped on Cgv2
lsm5 Nov 5, 2025
c09e4bf
test/system: delete CgV1 skips and skipped CgV2 tests
lsm5 Nov 5, 2025
51e47cf
docs: Remove Cgroups v1
lsm5 Nov 5, 2025
797b985
Remove ContainerStats.PerCPU: CGV1 only
lsm5 Nov 5, 2025
6773dca
test/system: Remove cgroupVersion from podman info tests
lsm5 Nov 5, 2025
c1c1157
Update module google.golang.org/grpc to v1.76.0
renovate[bot] Nov 10, 2025
d52bcbe
new image sfx for debian 14
Nov 10, 2025
308bb15
cmd/podman: Remove slirp from completions
lsm5 Nov 5, 2025
2332b8f
cmd/podman/root.go: Remove networkCmdPathFlagName
lsm5 Nov 5, 2025
c297b9c
pkg/specgen/container*.go: Remove slirp
lsm5 Nov 5, 2025
7905ca5
pkg/specgen/generate/oci_linux.go: Remove slirp
lsm5 Nov 5, 2025
1f4b63d
pkg/specgen/generate/pod_create.go: Remove slirp
lsm5 Nov 5, 2025
40208f6
pkg/specgen/namespaces.go: Remove slirp
lsm5 Nov 5, 2025
9c60905
pkg/specgen/pod_validate.go: Remove slirp
lsm5 Nov 5, 2025
14730d9
pkg/specgen/podspecgen.go: Remove slirp
lsm5 Nov 5, 2025
f5bcbe4
pkg/specgen/specgen.go: Remove slirp
lsm5 Nov 5, 2025
5c00384
libpod/container.go: Remove slirp
lsm5 Nov 5, 2025
4f70731
libpod/container_api.go: Remove slirp
lsm5 Nov 5, 2025
2fb7394
libpod/container_internal_common.go: Remove slirp
lsm5 Nov 5, 2025
b0ebc03
libpod/container_internal_freebsd.go: Remove slirp
lsm5 Nov 5, 2025
6f883c4
libpod/container_internal_linux.go: Remove slirp
lsm5 Nov 5, 2025
6bd9946
libpod/define/info.go: Remove slirp
lsm5 Nov 5, 2025
75cd973
libpod/info_linux.go: Remove slirp
lsm5 Nov 5, 2025
8e39f4b
libpod/networking_common.go: Remove slirp
lsm5 Nov 5, 2025
2c58d81
libpod/oci_conmon_common.go: Remove slirp
lsm5 Nov 5, 2025
b6bcd3f
test/e2e: Remove slirp
lsm5 Nov 10, 2025
7910f3e
test/system: Remove slirp
lsm5 Nov 10, 2025
2c0e36d
TMT: remove slirp4netns dependency
lsm5 Nov 10, 2025
d651703
RPM: remove slirp4netns
lsm5 Nov 10, 2025
c5f8c12
libpod/networking_linux.go: Remove slirp
lsm5 Nov 10, 2025
42835ad
libpod/networking_slirp4netns.go: Remove Slirp4netns
lsm5 Nov 10, 2025
fc66fc1
pkg/namespaces/namespaces.go: Remove slirp
lsm5 Nov 10, 2025
25b0513
libpod: Remove network-cmd-path
lsm5 Nov 10, 2025
c2c490c
Cirrus: Remove slirp4netns from logcollector script
lsm5 Nov 10, 2025
d7744ec
libpod/networking_freebsd.go: Remove getSlirp4netnsIP()
lsm5 Nov 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ env:
FEDORA_AARCH64_NAME: "${FEDORA_NAME}-aarch64"
PRIOR_FEDORA_NAME: "fedora-41"
RAWHIDE_NAME: "rawhide"
DEBIAN_NAME: "debian-13"
DEBIAN_NAME: "debian-14"

# Image identifiers
IMAGE_SUFFIX: "c20251106t183941z-f42f41d13"
IMAGE_SUFFIX: "c20251110t154831z-f42f41d14"

# EC2 images
FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}"
Expand Down
16 changes: 0 additions & 16 deletions cmd/podman/common/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -1325,26 +1325,10 @@ func AutocompleteNetworkFlag(cmd *cobra.Command, _ []string, toComplete string)
"none": nil,
"host": nil,
"private": nil,
"slirp4netns:": func(s string) ([]string, cobra.ShellCompDirective) {
skv := keyValueCompletion{
"allow_host_loopback=": getBoolCompletion,
"cidr=": nil,
"enable_ipv6=": getBoolCompletion,
"mtu=": nil,
"outbound_addr=": nil,
"outbound_addr6=": nil,
"port_handler=": func(_ string) ([]string, cobra.ShellCompDirective) {
return []string{"rootlesskit", "slirp4netns"}, cobra.ShellCompDirectiveNoFileComp
},
}
return completeKeyValues(s, skv)
},
}

networks, _ := getNetworks(cmd, toComplete, completeDefault)
suggestions, dir := completeKeyValues(toComplete, kv)
// add slirp4netns here it does not work correct if we add it to the kv map
suggestions = append(suggestions, "slirp4netns")
return append(networks, suggestions...), dir
}

Expand Down
10 changes: 0 additions & 10 deletions cmd/podman/containers/unpause.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package containers

import (
"context"
"errors"
"fmt"
"os"
"strings"
Expand All @@ -12,9 +11,7 @@ import (
"github.com/containers/podman/v6/cmd/podman/utils"
"github.com/containers/podman/v6/cmd/podman/validate"
"github.com/containers/podman/v6/pkg/domain/entities"
"github.com/containers/podman/v6/pkg/rootless"
"github.com/spf13/cobra"
"go.podman.io/common/pkg/cgroups"
"go.podman.io/common/pkg/completion"
)

Expand Down Expand Up @@ -93,13 +90,6 @@ func unpause(_ *cobra.Command, args []string) error {
)
args = utils.RemoveSlash(args)

if rootless.IsRootless() && !registry.IsRemote() {
cgroupv2, _ := cgroups.IsCgroup2UnifiedMode()
if !cgroupv2 {
return errors.New("unpause is not supported for cgroupv1 rootless containers")
}
}

for _, cidFile := range unpauseCidFiles {
content, err := os.ReadFile(cidFile)
if err != nil {
Expand Down
8 changes: 2 additions & 6 deletions cmd/podman/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ func setupRemoteConnection(podmanConfig *entities.PodmanConfig) string {
func persistentPreRunE(cmd *cobra.Command, args []string) error {
logrus.Debugf("Called %s.PersistentPreRunE(%s)", cmd.Name(), strings.Join(os.Args, " "))

checkSupportedCgroups()

// Help, completion and commands with subcommands are special cases, no need for more setup
// Completion cmd is used to generate the shell scripts
if cmd.Name() == "help" || cmd.Name() == "completion" || cmd.HasSubCommands() {
Expand Down Expand Up @@ -580,12 +582,6 @@ func rootFlags(cmd *cobra.Command, podmanConfig *entities.PodmanConfig) {
pFlags.StringVar(&podmanConfig.ConmonPath, conmonFlagName, "", "Path of the conmon binary")
_ = cmd.RegisterFlagCompletionFunc(conmonFlagName, completion.AutocompleteDefault)

// TODO (6.0): --network-cmd-path is deprecated, remove this option with the next major release
// We need to find all the places that use r.config.Engine.NetworkCmdPath and remove it
networkCmdPathFlagName := "network-cmd-path"
pFlags.StringVar(&podmanConfig.ContainersConf.Engine.NetworkCmdPath, networkCmdPathFlagName, podmanConfig.ContainersConfDefaultsRO.Engine.NetworkCmdPath, "Path to the command for configuring the network")
_ = cmd.RegisterFlagCompletionFunc(networkCmdPathFlagName, completion.AutocompleteDefault)

networkConfigDirFlagName := "network-config-dir"
pFlags.StringVar(&podmanConfig.ContainersConf.Network.NetworkConfigDir, networkConfigDirFlagName, podmanConfig.ContainersConfDefaultsRO.Network.NetworkConfigDir, "Path of the configuration directory for networks")
_ = cmd.RegisterFlagCompletionFunc(networkConfigDirFlagName, completion.AutocompleteDefault)
Expand Down
18 changes: 18 additions & 0 deletions cmd/podman/root_cgroups_linux.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//go:build linux

package main

import (
"github.com/sirupsen/logrus"
"go.podman.io/common/pkg/cgroups"
)

func checkSupportedCgroups() {
unified, err := cgroups.IsCgroup2UnifiedMode()
if err != nil {
logrus.Fatalf("Error determining cgroups mode")
}
if !unified {
logrus.Fatalf("Cgroups v1 not supported")
}
}
7 changes: 7 additions & 0 deletions cmd/podman/root_cgroups_unsupported.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//go:build !linux

package main

func checkSupportedCgroups() {
// NOP on Non Linux
}
1 change: 0 additions & 1 deletion cmd/podman/system/service_abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ func restService(flags *pflag.FlagSet, cfg *entities.PodmanConfig, opts entities

maybeMoveToSubCgroup()

maybeStartServiceReaper()
infra.StartWatcher(libpodRuntime)
server, err := api.NewServerWithSettings(libpodRuntime, listener, opts)
if err != nil {
Expand Down
12 changes: 0 additions & 12 deletions cmd/podman/system/service_abi_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,11 @@
package system

import (
"github.com/containers/podman/v6/pkg/rootless"
"github.com/sirupsen/logrus"
"go.podman.io/common/pkg/cgroups"
"go.podman.io/common/pkg/servicereaper"
)

// Currently, we only need servicereaper on Linux to support slirp4netns.
func maybeStartServiceReaper() {
servicereaper.Start()
}

func maybeMoveToSubCgroup() {
cgroupv2, _ := cgroups.IsCgroup2UnifiedMode()
if rootless.IsRootless() && !cgroupv2 {
logrus.Warnf("Running 'system service' in rootless mode without cgroup v2, containers won't survive a 'system service' restart")
}

if err := cgroups.MaybeMoveToSubCgroup(); err != nil {
// it is a best effort operation, so just print the
// error for debugging purposes.
Expand Down
1 change: 0 additions & 1 deletion contrib/cirrus/logcollector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ case $1 in
passt
podman
skopeo
slirp4netns
)
case $OS_RELEASE_ID in
fedora)
Expand Down
17 changes: 1 addition & 16 deletions docs/source/locale/ja/LC_MESSAGES/markdown.po
Original file line number Diff line number Diff line change
Expand Up @@ -26352,16 +26352,9 @@ msgstr ""
msgid "Display a live stream of one or more containers' resource usage statistics"
msgstr ""

#: ../../source/markdown/podman-stats.1.md:15
msgid ""
"Note: Podman stats does not work in rootless environments that use "
"CGroups V1. Podman stats relies on CGroup information for statistics, and"
" CGroup v1 is not supported for rootless use cases."
msgstr ""

#: ../../source/markdown/podman-stats.1.md:19
msgid ""
"Note: Rootless environments that use CGroups V2 are not able to report "
"Note: Rootless environments are not able to report "
"statistics about their networking usage."
msgstr ""

Expand Down Expand Up @@ -26481,10 +26474,6 @@ msgstr ""
msgid "Network Output"
msgstr ""

#: ../../source/markdown/podman-stats.1.md:1
msgid ".PerCPU"
msgstr ""

#: ../../source/markdown/podman-stats.1.md:1
msgid "CPU time consumed by all tasks [1]"
msgstr ""
Expand Down Expand Up @@ -26521,10 +26510,6 @@ msgstr ""
msgid "Same as UpTime"
msgstr ""

#: ../../source/markdown/podman-stats.1.md:64
msgid "[1] Cgroups V1 only"
msgstr ""

#: ../../source/markdown/podman-stats.1.md:68
msgid "**--interval**, **-i**=*seconds*"
msgstr ""
Expand Down
9 changes: 1 addition & 8 deletions docs/source/markdown/podman-stats.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ podman\-stats - Display a live stream of one or more container's resource usage
## DESCRIPTION
Display a live stream of one or more containers' resource usage statistics

Note: Podman stats does not work in rootless environments that use cgroups v1.
Podman stats relies on cgroup information for statistics, and cgroup v1 is not
supported for rootless use cases.

Note: Rootless environments that use cgroups v2 are not able to report statistics
Note: Rootless environments are not able to report statistics
about their networking usage.

## OPTIONS
Expand Down Expand Up @@ -52,15 +48,12 @@ Valid placeholders for the Go template are listed below:
| .Name | Container Name |
| .NetIO | Network IO |
| .Network ... | Network I/O, separated by network interface |
| .PerCPU | CPU time consumed by all tasks [1] |
| .PIDs | Number of PIDs |
| .PIDS | Number of PIDs (yes, we know this is a dup) |
| .SystemNano | Current system datetime, nanoseconds since epoch |
| .Up | Duration (CPUNano), in human-readable form |
| .UpTime | Same as Up |

[1] Cgroups V1 only

When using a Go template, precede the format with `table` to print headers.

#### **--interval**, **-i**=*seconds*
Expand Down
6 changes: 0 additions & 6 deletions docs/source/markdown/podman.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ The CDI spec directory path (may be set multiple times). Default path is `/etc/c
The CGroup manager to use for container cgroups. Supported values are __cgroupfs__ or __systemd__. Default is _systemd_ unless overridden in the containers.conf file.

Note: Setting this flag can cause certain commands to break when called on containers previously created by the other CGroup manager type.
Note: CGroup manager is not supported in rootless mode when using CGroups Version V1.

#### **--config**
Location of config file. Mainly for docker compatibility, only the authentication parts of the config are supported.
Expand Down Expand Up @@ -102,11 +101,6 @@ Load the specified `containers.conf(5)` module. Can be an absolute or relative
This flag is not supported on the remote client, including Mac and Windows (excluding WSL2) machines.
Further note that the flag is a root-level flag and must be specified before any Podman sub-command.

#### **--network-cmd-path**=*path*
Path to the `slirp4netns(1)` command binary to use for setting up a slirp4netns network.
If "" is used, then the binary will first be searched using the `helper_binaries_dir` option in `containers.conf`, and second using the `$PATH` environment variable.
**Note:** This option is deprecated and will be removed with Podman 6.0. Use the `helper_binaries_dir` option in `containers.conf` instead.

#### **--network-config-dir**=*directory*

Path to the directory where network configuration files are located.
Expand Down
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ require (
golang.org/x/sync v0.17.0
golang.org/x/sys v0.38.0
golang.org/x/term v0.36.0
google.golang.org/grpc v1.72.2
google.golang.org/grpc v1.76.0
google.golang.org/protobuf v1.36.9
gopkg.in/inf.v0 v0.9.1
gopkg.in/yaml.v3 v3.0.1
Expand Down Expand Up @@ -113,7 +113,7 @@ require (
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.9.0 // indirect
github.com/fsouza/go-dockerclient v1.12.2 // indirect
github.com/go-jose/go-jose/v4 v4.0.5 // indirect
github.com/go-jose/go-jose/v4 v4.1.2 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
Expand Down Expand Up @@ -177,18 +177,18 @@ require (
go.etcd.io/bbolt v1.4.3 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 // indirect
go.opentelemetry.io/otel v1.36.0 // indirect
go.opentelemetry.io/otel/metric v1.36.0 // indirect
go.opentelemetry.io/otel/trace v1.36.0 // indirect
go.opentelemetry.io/otel v1.37.0 // indirect
go.opentelemetry.io/otel/metric v1.37.0 // indirect
go.opentelemetry.io/otel/trace v1.37.0 // indirect
go.yaml.in/yaml/v2 v2.4.2 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/mod v0.28.0 // indirect
golang.org/x/oauth2 v0.32.0 // indirect
golang.org/x/text v0.30.0 // indirect
golang.org/x/time v0.11.0 // indirect
golang.org/x/tools v0.37.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250414145226-207652e42e2e // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250804133106-a7a43d27e69b // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
tags.cncf.io/container-device-interface/specs-go v1.0.0 // indirect
)
38 changes: 20 additions & 18 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ github.com/gkampitakis/go-diff v1.3.2 h1:Qyn0J9XJSDTgnsgHRdz9Zp24RaJeKMUHg2+PDZZ
github.com/gkampitakis/go-diff v1.3.2/go.mod h1:LLgOrpqleQe26cte8s36HTWcTmMEur6OPYerdAAS9tk=
github.com/gkampitakis/go-snaps v0.5.15 h1:amyJrvM1D33cPHwVrjo9jQxX8g/7E2wYdZ+01KS3zGE=
github.com/gkampitakis/go-snaps v0.5.15/go.mod h1:HNpx/9GoKisdhw9AFOBT1N7DBs9DiHo/hGheFGBZ+mc=
github.com/go-jose/go-jose/v4 v4.0.5 h1:M6T8+mKZl/+fNNuFHvGIzDz7BTLQPIounk/b9dw3AaE=
github.com/go-jose/go-jose/v4 v4.0.5/go.mod h1:s3P1lRrkT8igV8D9OjyL4WRyHvjB6a4JSllnOrmmBOA=
github.com/go-jose/go-jose/v4 v4.1.2 h1:TK/7NqRQZfgAh+Td8AlsrvtPoUyiHh0LqVvokh+1vHI=
github.com/go-jose/go-jose/v4 v4.1.2/go.mod h1:22cg9HWM1pOlnRiY+9cQYJ9XHmya1bYW8OeDM6Ku6Oo=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
Expand Down Expand Up @@ -454,20 +454,20 @@ go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJyS
go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 h1:F7Jx+6hwnZ41NSFTO5q4LYDtJRXBf2PD0rNBkeB/lus=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0/go.mod h1:UHB22Z8QsdRDrnAtX4PntOl36ajSxcdUMt1sF7Y6E7Q=
go.opentelemetry.io/otel v1.36.0 h1:UumtzIklRBY6cI/lllNZlALOF5nNIzJVb16APdvgTXg=
go.opentelemetry.io/otel v1.36.0/go.mod h1:/TcFMXYjyRNh8khOAO9ybYkqaDBb/70aVwkNML4pP8E=
go.opentelemetry.io/otel v1.37.0 h1:9zhNfelUvx0KBfu/gb+ZgeAfAgtWrfHJZcAqFC228wQ=
go.opentelemetry.io/otel v1.37.0/go.mod h1:ehE/umFRLnuLa/vSccNq9oS1ErUlkkK71gMcN34UG8I=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0 h1:1fTNlAIJZGWLP5FVu0fikVry1IsiUnXjf7QFvoNN3Xw=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0/go.mod h1:zjPK58DtkqQFn+YUMbx0M2XV3QgKU0gS9LeGohREyK4=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.35.0 h1:xJ2qHD0C1BeYVTLLR9sX12+Qb95kfeD/byKj6Ky1pXg=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.35.0/go.mod h1:u5BF1xyjstDowA1R5QAO9JHzqK+ublenEW/dyqTjBVk=
go.opentelemetry.io/otel/metric v1.36.0 h1:MoWPKVhQvJ+eeXWHFBOPoBOi20jh6Iq2CcCREuTYufE=
go.opentelemetry.io/otel/metric v1.36.0/go.mod h1:zC7Ks+yeyJt4xig9DEw9kuUFe5C3zLbVjV2PzT6qzbs=
go.opentelemetry.io/otel/sdk v1.36.0 h1:b6SYIuLRs88ztox4EyrvRti80uXIFy+Sqzoh9kFULbs=
go.opentelemetry.io/otel/sdk v1.36.0/go.mod h1:+lC+mTgD+MUWfjJubi2vvXWcVxyr9rmlshZni72pXeY=
go.opentelemetry.io/otel/sdk/metric v1.36.0 h1:r0ntwwGosWGaa0CrSt8cuNuTcccMXERFwHX4dThiPis=
go.opentelemetry.io/otel/sdk/metric v1.36.0/go.mod h1:qTNOhFDfKRwX0yXOqJYegL5WRaW376QbB7P4Pb0qva4=
go.opentelemetry.io/otel/trace v1.36.0 h1:ahxWNuqZjpdiFAyrIoQ4GIiAIhxAunQR6MUoKrsNd4w=
go.opentelemetry.io/otel/trace v1.36.0/go.mod h1:gQ+OnDZzrybY4k4seLzPAWNwVBBVlF2szhehOBB/tGA=
go.opentelemetry.io/otel/metric v1.37.0 h1:mvwbQS5m0tbmqML4NqK+e3aDiO02vsf/WgbsdpcPoZE=
go.opentelemetry.io/otel/metric v1.37.0/go.mod h1:04wGrZurHYKOc+RKeye86GwKiTb9FKm1WHtO+4EVr2E=
go.opentelemetry.io/otel/sdk v1.37.0 h1:ItB0QUqnjesGRvNcmAcU0LyvkVyGJ2xftD29bWdDvKI=
go.opentelemetry.io/otel/sdk v1.37.0/go.mod h1:VredYzxUvuo2q3WRcDnKDjbdvmO0sCzOvVAiY+yUkAg=
go.opentelemetry.io/otel/sdk/metric v1.37.0 h1:90lI228XrB9jCMuSdA0673aubgRobVZFhbjxHHspCPc=
go.opentelemetry.io/otel/sdk/metric v1.37.0/go.mod h1:cNen4ZWfiD37l5NhS+Keb5RXVWZWpRE+9WyVCpbo5ps=
go.opentelemetry.io/otel/trace v1.37.0 h1:HLdcFNbRQBE2imdSEgm/kwqmQj1Or1l/7bW6mxVK7z4=
go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXewPGyayAWSBS0=
go.opentelemetry.io/proto/otlp v1.5.0 h1:xJvq7gMzB31/d406fB8U5CBdyQGw4P399D1aQWU/3i4=
go.opentelemetry.io/proto/otlp v1.5.0/go.mod h1:keN8WnHxOy8PG0rQZjJJ5A2ebUoafqWp0eVQ4yIXvJ4=
go.podman.io/common v0.66.0 h1:KElE3HKLFdMdJL+jv5ExBiX2Dh4Qcv8ovmzaBGRsyZM=
Expand Down Expand Up @@ -597,12 +597,14 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e h1:UdXH7Kzbj+Vzastr5nVfccbmFsmYNygVLSPk1pEfDoY=
google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e/go.mod h1:085qFyf2+XaZlRdCgKNCIZ3afY2p4HHZdoIRpId8F4A=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250414145226-207652e42e2e h1:ztQaXfzEXTmCBvbtWYRhJxW+0iJcz2qXfd38/e9l7bA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250414145226-207652e42e2e/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A=
google.golang.org/grpc v1.72.2 h1:TdbGzwb82ty4OusHWepvFWGLgIbNo1/SUynEN0ssqv8=
google.golang.org/grpc v1.72.2/go.mod h1:wH5Aktxcg25y1I3w7H69nHfXdOG3UiadoBtjh3izSDM=
gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk=
gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E=
google.golang.org/genproto/googleapis/api v0.0.0-20250804133106-a7a43d27e69b h1:ULiyYQ0FdsJhwwZUwbaXpZF5yUE3h+RA+gxvBu37ucc=
google.golang.org/genproto/googleapis/api v0.0.0-20250804133106-a7a43d27e69b/go.mod h1:oDOGiMSXHL4sDTJvFvIB9nRQCGdLP1o/iVaqQK8zB+M=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b h1:zPKJod4w6F1+nRGDI9ubnXYhU9NSWoFAijkHkUXeTK8=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A=
google.golang.org/grpc v1.76.0 h1:UnVkv1+uMLYXoIz6o7chp59WfQUYA2ex/BXQ9rHZu7A=
google.golang.org/grpc v1.76.0/go.mod h1:Ju12QI8M6iQJtbcsV+awF5a4hfJMLi4X0JLo94ULZ6c=
google.golang.org/protobuf v1.36.9 h1:w2gp2mA27hUeUzj9Ex9FBjsBm40zfaDtEWow293U7Iw=
google.golang.org/protobuf v1.36.9/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
6 changes: 1 addition & 5 deletions libpod/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ type Container struct {
runtime *Runtime
ociRuntime OCIRuntime

rootlessSlirpSyncR *os.File
rootlessSlirpSyncW *os.File

rootlessPortSyncR *os.File
rootlessPortSyncW *os.File

Expand All @@ -126,8 +123,7 @@ type Container struct {
// This is true if a container is restored from a checkpoint.
restoreFromCheckpoint bool

slirp4netnsSubnet *net.IPNet
pastaResult *pasta.SetupResult
pastaResult *pasta.SetupResult
}

// ContainerState contains the current state of the container
Expand Down
2 changes: 1 addition & 1 deletion libpod/container_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ func (c *Container) Sync() error {
// reloaded, and existing rules have been wiped out. It is expected that some
// downtime will result, as the rules are destroyed as part of this process.
// At present, this only works on root containers; it may be expanded to restart
// slirp4netns in the future to work with rootless containers as well.
// pasta(?) in the future to work with rootless containers as well.
// Requires that the container must be running or created.
func (c *Container) ReloadNetwork() error {
if !c.batched {
Expand Down
Loading