diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-27 07:11:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 07:11:55 +0000 |
commit | 9fbf2a40f19e1aea97e46e6e7c7992996f8ca827 (patch) | |
tree | 1e23ec6ffd472c1fa071848cbd467012dec53eaf /pkg | |
parent | ed3aa2acaf6a69937444286369c98b59c77803d5 (diff) | |
parent | 55397de93510a697f917edc31d74e55dc88ea520 (diff) | |
download | podman-9fbf2a40f19e1aea97e46e6e7c7992996f8ca827.tar.gz podman-9fbf2a40f19e1aea97e46e6e7c7992996f8ca827.tar.bz2 podman-9fbf2a40f19e1aea97e46e6e7c7992996f8ca827.zip |
Merge pull request #12107 from giuseppe/fix-dbus-process-leak
cgroups: use SessionBusPrivateNoAutoStartup
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/cgroups/cgroups.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/cgroups/cgroups.go b/pkg/cgroups/cgroups.go index 1debc020c..d0c090012 100644 --- a/pkg/cgroups/cgroups.go +++ b/pkg/cgroups/cgroups.go @@ -464,7 +464,7 @@ func (c *CgroupControl) CreateSystemdUnit(path string) error { // GetUserConnection returns a user connection to D-BUS func GetUserConnection(uid int) (*systemdDbus.Conn, error) { return systemdDbus.NewConnection(func() (*dbus.Conn, error) { - return dbusAuthConnection(uid, dbus.SessionBusPrivate) + return dbusAuthConnection(uid, dbus.SessionBusPrivateNoAutoStartup) }) } |