From unknown Thu Mar 28 12:03:59 2024 X-Loop: owner@bugs.devuan.org Subject: bug#745: dbus-x11: Several processes in Plasma session including krunner have / as current working directory Reply-To: Mark Hindley , 745@bugs.devuan.org Resent-From: Mark Hindley Resent-To: devuan-bugs@lists.dyne.org Resent-CC: Devuan Maintainers X-Loop: owner@bugs.devuan.org Resent-Date: Mon, 06 Mar 2023 11:54:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.devuan.org X-Devuan-PR-Message: followup 745 X-Devuan-PR-Package: dbus-x11 X-Devuan-PR-Keywords: References: <3241557.44csPzL39Z@lichtvoll.de> <3241557.44csPzL39Z@lichtvoll.de> X-Devuan-PR-Source: dbus Received: via spool by 745-submit@bugs.devuan.org id=B745.16781035553345 (code B ref 745); Mon, 06 Mar 2023 11:54:02 +0000 Received: (at 745) by bugs.devuan.org; 6 Mar 2023 11:52:35 +0000 Delivered-To: bugs@devuan.org Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for (single-drop); Mon, 06 Mar 2023 11:52:35 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id H+zhA+/TBWRnNAAAmSBk0A (envelope-from ) for ; Mon, 06 Mar 2023 11:52:15 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 047F466D; Mon, 6 Mar 2023 11:52:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver= Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id D029532 for <745@bugs.devuan.org>; Mon, 6 Mar 2023 11:52:10 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from ) id 1pZ9Nw-0005cy-TM; Mon, 06 Mar 2023 11:52:09 +0000 Received: (nullmailer pid 11922 invoked by uid 1000); Mon, 06 Mar 2023 11:52:08 -0000 Date: Mon, 6 Mar 2023 11:52:08 +0000 From: Mark Hindley To: Martin Steigerwald , 745@bugs.devuan.org Cc: Simon McVittie , 1032368@bugs.debian.org Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3241557.44csPzL39Z@lichtvoll.de> Control: forwarded -1 https://bugs.debian.org/1032368 Martin, Thanks for this. On Sun, Mar 05, 2023 at 09:59:35AM +0100, Martin Steigerwald wrote: > Package: dbus-x11 > Version: 1.14.6-1devuan1 > Severity: normal > X-Debbugs-Cc: Martin@Lichtvoll.de > > Dear Maintainer, > > I also reported this to Debian as Simon McVittie's is, of course, correct that src:dbus being forked in Devuan means this should be dealt with in Devuan. Notwithstanding that, I am very grateful for his thorough, considered and illuminating reply. The same behaviour is evident in a non-systemd Debian installation. Like Simon, I have no experience of KDE or krunner. I also agree that legacy DBus activation appears to be working here as intended and documented, with no guarantee on the cwd given. My gut reaction is that this issue is should really be resolved elsewhere. If it is crucial that krunner uses a particular working directory, then it needs to chdir() explicitly itself. I also quite understand his concern that changing the behaviour of DBus may have unintended consequences and I am certain that changing the behaviour of DBus during the freeze will not happen. I suppose early in the next cycle is possible. Simon, might the implications of that be reviewed again upstream? I found an upstream issue with patch to implement such behaviour that has not been merged[1]. Thanks Mark [1] https://gitlab.freedesktop.org/dbus/dbus/-/issues/214