Devuan bug report logs - #594
plasma-workspace: KRunner starts programs in the filesystem root

version graph

Package: plasma-workspace; Maintainer for plasma-workspace is (unknown); Source for plasma-workspace is src:plasma-workspace.

Reported by: Hannah Rittich <void@rittich.net>

Date: Thu, 22 Jul 2021 17:03:01 UTC

Severity: normal

Tags: debian

Found in version 4:5.20.5-6

Forwarded to https://bugs.debian.org/991439

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#594: plasma-workspace: KRunner starts programs in the filesystem root
Reply-To: Mark Hindley <mark@hindley.org.uk>, 594@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Fri, 23 Jul 2021 15:03:01 +0000
Resent-Message-ID: <handler.594.B594.162705240117141@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 594
X-Devuan-PR-Package: plasma-workspace
X-Devuan-PR-Keywords: debian
References: <162697230440.3343.11581024129851610142.reportbug@devuan-vm> <YPm8orSR/vyWXbGx@hindley.org.uk> <a8a8c369-9a61-8531-6e62-10ba0aeb273a@rittich.net> <YPrJDmfSN6te72EZ@hindley.org.uk> <74960011-a234-f51e-3492-f1158371a748@rittich.net> <162697230440.3343.11581024129851610142.reportbug@devuan-vm>
Received: via spool by 594-submit@bugs.devuan.org id=B594.162705240117141
          (code B ref 594); Fri, 23 Jul 2021 15:03:01 +0000
Received: (at 594) by bugs.devuan.org; 23 Jul 2021 15:00:01 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 23 Jul 2021 15:00:01 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 80316F60B27
	for <594@bugs.devuan.org>; Fri, 23 Jul 2021 16:57:35 +0200 (CEST)
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 <mark@hindley.org.uk>)
	id 1m6wcG-0006Pe-Nd; Fri, 23 Jul 2021 15:57:32 +0100
Received: (nullmailer pid 11337 invoked by uid 1000);
	Fri, 23 Jul 2021 14:57:32 -0000
Date: Fri, 23 Jul 2021 15:57:32 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Hannah Rittich <void@rittich.net>
Cc: 594@bugs.devuan.org
Message-ID: <YPrY3BKxeUw3JK8q@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <74960011-a234-f51e-3492-f1158371a748@rittich.net>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Hannah,

On Fri, Jul 23, 2021 at 04:39:26PM +0200, Hannah Rittich wrote:
> Hi,
> 
> > If even then it is still not present on the clean bullseye
> > sysvinit install, I suspect a configuration change on the Devuan
> > system. AFAIK all the relevant packages are the same between
> > chimaera and bullseye.
> 
> it seems that I cannot change the init system on Bullseye to reproduce the
> error, because if I try to install sysvinit-core, apt wants to remove the
> plasma-workspace package.

Yes, switching init in Debian is difficult. However, if you persist, it should
work out -- you will be able to reinstall plasma-workspace on top of
libpam-elogind once systemd is removed.

> Is there something I can try, to reproduce the problem on Debian? Shall I
> still report to Debian's BTS while stating it can only be reproduced on
> Devuan?
> 
> I have done some further investigation. If you start krunner on Bullseye,
> the krunner process is owned by "/lib/systemd/systemd --user" and the
> working directory is my home directory. On Chimaera, krunner is owned by
> init and the working directory is the file-system root.

Great, that explains it. So the bug is present on non-systemd systems (Debian or
Devuan) and it will be present in bullseye with sysvinit. systemd --user hides
it or works around it.

Thanks for investigating more.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Mar 28 09:13:06 2024;