Your message dated Sat, 29 Apr 2023 10:54:14 +0100 with message-id <502b8fb37ece620c9723446611a9287974ba5a0c.camel@adam-barratt.org.uk> and subject line Closing p-u requests for fixes included in 11.7 has caused the Debian Bug report #1034198, regarding bullseye-pu: package golang-github-containers-common/0.33.4+ds1-1+deb11u2 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1034198: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034198 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: bullseye-pu: package golang-github-containers-common/0.33.4+ds1-1+deb11u1
- From: Reinhard Tartler <siretart@debian.org>
- Date: Mon, 10 Apr 2023 18:33:43 -0400
- Message-id: <[🔎] 168116602321.660142.15915717527626975013.reportbug@x1.int.tauware.de>
Package: release.debian.org Severity: normal Tags: bullseye User: release.debian.org@packages.debian.org Usertags: pu X-Debbugs-Cc: golang-github-containers-common@packages.debian.org, siretart@tauware.de Control: affects -1 + src:golang-github-containers-common [ Reason ] Podman relies on DBUS for correct functioning and reads the DBUS_SESSION_BUS_ADDRESS environent variables. As it turns out, some session managers use multiple values, separated by comma, to add additional information, such as a "guid". Unfortunately, an oversight in the parsing code in podman 3 fails to take multi-value items into account and leads to podman failing to connect to the session bus. [ Impact ] This is highly inconvenient to the users as they would have to either use a session manager that sets the DBUS_SESSION_BUS_ADDRESS without commas, or the user would have to sanitize the environment manually. Only very highly skilled users that happened to find https://github.com/containers/podman/issues/15546 or https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018816 would be able to figure this out. [ Tests ] This was manually tested. [ Risks ] the risk of regression is minimal, the patch was taken from upstream, and is included in later releases. [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in (old)stable [x] the issue is verified as fixed in unstable [ Changes ] diff --git a/debian/changelog b/debian/changelog index c23b4b9b..97d97794 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +golang-github-containers-common (0.33.4+ds1-1+deb11u2) bullseye; urgency=medium + + * Fix parsing of DBUS_SESSION_BUS_ADDRESS, Closes: #1018816 + + -- Reinhard Tartler <siretart@tauware.de> Mon, 10 Apr 2023 18:19:51 -0400 + golang-github-containers-common (0.33.4+ds1-1+deb11u1) bullseye; urgency=medium * Backport seccomp patches from upstream to allow execution of newer diff --git a/debian/patches/DBUS_SESSION_BUS_ADDRESS_parsing.patch b/debian/patches/DBUS_SESSION_BUS_ADDRESS_parsing.patch new file mode 100644 index 00000000..d1408a43 --- /dev/null +++ b/debian/patches/DBUS_SESSION_BUS_ADDRESS_parsing.patch @@ -0,0 +1,37 @@ +commit 47ea9a8cbcc35d1e758b01ae40f37fec8a2e310b +Author: Giuseppe Scrivano <gscrivan@redhat.com> +Date: Mon Jul 26 15:00:25 2021 +0200 + + config: split arguments in DBUS_SESSION_BUS_ADDRESS + + split the DBUS_SESSION_BUS_ADDRESS value so that something like: + + unix:path=/run/user/1000/bus,guid=817e9ffcfb383869ad17ea8360e7428a + + will ignore ",guid=817e9ffcfb383869ad17ea8360e7428a" when checking + that the path exists. + + Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1984531 + + Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> + +--- a/pkg/config/config.go ++++ b/pkg/config/config.go +@@ -538,9 +538,14 @@ + + session := os.Getenv("DBUS_SESSION_BUS_ADDRESS") + hasSession := session != "" +- if hasSession && strings.HasPrefix(session, "unix:path=") { +- _, err := os.Stat(strings.TrimPrefix(session, "unix:path=")) +- hasSession = err == nil ++ if hasSession { ++ for _, part := range strings.Split(session, ",") { ++ if strings.HasPrefix(part, "unix:path=") { ++ _, err := os.Stat(strings.TrimPrefix(part, "unix:path=")) ++ hasSession = err == nil ++ break ++ } ++ } + } + + if !hasSession { diff --git a/debian/patches/series b/debian/patches/series index c2a2b119..201ff0d9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ seccomp-fixup.patch 08bbb0dfae71da36afd3be1ca104701e6cfa4406.patch 0f242ca74bd16175bc55013ed457c88137bec0cf.patch 689e5b074454da5228bb05604f89b7a876baa8fe.patch +DBUS_SESSION_BUS_ADDRESS_parsing.patch
--- End Message ---
--- Begin Message ---
- To: 1009659-done@bugs.debian.org, 1016179-done@bugs.debian.org, 1024805-done@bugs.debian.org, 1025329-done@bugs.debian.org, 1025654-done@bugs.debian.org, 1025703-done@bugs.debian.org, 1025925-done@bugs.debian.org, 1026074-done@bugs.debian.org, 1026177-done@bugs.debian.org, 1026447-done@bugs.debian.org, 1026845-done@bugs.debian.org, 1026945-done@bugs.debian.org, 1027257-done@bugs.debian.org, 1027258-done@bugs.debian.org, 1027264-done@bugs.debian.org, 1027298-done@bugs.debian.org, 1027772-done@bugs.debian.org, 1028054-done@bugs.debian.org, 1028313-done@bugs.debian.org, 1028386-done@bugs.debian.org, 1028395-done@bugs.debian.org, 1028396-done@bugs.debian.org, 1028468-done@bugs.debian.org, 1028486-done@bugs.debian.org, 1028546-done@bugs.debian.org, 1028571-done@bugs.debian.org, 1029121-done@bugs.debian.org, 1029147-done@bugs.debian.org, 1029217-done@bugs.debian.org, 1029320-done@bugs.debian.org, 1029385-done@bugs.debian.org, 1029619-done@bugs.debian.org, 1029651-done@bugs.debian.org, 1029680-done@bugs.debian.org, 1029728-done@bugs.debian.org, 1029823-done@bugs.debian.org, 1029976-done@bugs.debian.org, 1029994-done@bugs.debian.org, 1030113-done@bugs.debian.org, 1030264-done@bugs.debian.org, 1030598-done@bugs.debian.org, 1030709-done@bugs.debian.org, 1030732-done@bugs.debian.org, 1030851-done@bugs.debian.org, 1030888-done@bugs.debian.org, 1030987-done@bugs.debian.org, 1031042-done@bugs.debian.org, 1031109-done@bugs.debian.org, 1031279-done@bugs.debian.org, 1031410-done@bugs.debian.org, 1031527-done@bugs.debian.org, 1031536-done@bugs.debian.org, 1031630-done@bugs.debian.org, 1031635-done@bugs.debian.org, 1031652-done@bugs.debian.org, 1031783-done@bugs.debian.org, 1031926-done@bugs.debian.org, 1031948-done@bugs.debian.org, 1032134-done@bugs.debian.org, 1032237-done@bugs.debian.org, 1032921-done@bugs.debian.org, 1033079-done@bugs.debian.org, 1033082-done@bugs.debian.org, 1033157-done@bugs.debian.org, 1033160-done@bugs.debian.org, 1033412-done@bugs.debian.org, 1033506-done@bugs.debian.org, 1033578-done@bugs.debian.org, 1033669-done@bugs.debian.org, 1033759-done@bugs.debian.org, 1033770-done@bugs.debian.org, 1033993-done@bugs.debian.org, 1034001-done@bugs.debian.org, 1034039-done@bugs.debian.org, 1034096-done@bugs.debian.org, 1034103-done@bugs.debian.org, 1034198-done@bugs.debian.org, 1034246-done@bugs.debian.org, 1034264-done@bugs.debian.org, 1034454-done@bugs.debian.org, 1034455-done@bugs.debian.org, 1034493-done@bugs.debian.org, 1034548-done@bugs.debian.org, 1034578-done@bugs.debian.org
- Subject: Closing p-u requests for fixes included in 11.7
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 29 Apr 2023 10:54:14 +0100
- Message-id: <502b8fb37ece620c9723446611a9287974ba5a0c.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 11.7 Hi, Each of the updates referred to in these requests was included in this morning's 11.7 point release. Regards, Adam
--- End Message ---