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

Package: plasma-workspace; Reported by: Hannah Rittich <void@rittich.net>; Keywords: debian; Forwarded to https://bugs.debian.org/991439; Maintainer for plasma-workspace is (unknown).
Set bug forwarded-to-address to 'https://bugs.debian.org/991439'. Request was from Mark Hindley <mark@hindley.org.uk> to 594-submit@bugs.devuan.org. Full text available.

Message received at 594@bugs.devuan.org:


Received: (at 594) by bugs.devuan.org; 25 Jul 2021 09:20:02 +0000
Return-Path: <mark@hindley.org.uk>
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); Sun, 25 Jul 2021 09:20:02 +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 89B22F60D22
	for <594@bugs.devuan.org>; Sun, 25 Jul 2021 11:14:55 +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 1m7aDk-0002Ma-Ik; Sun, 25 Jul 2021 10:14:52 +0100
Received: (nullmailer pid 30325 invoked by uid 1000);
	Sun, 25 Jul 2021 09:14:52 -0000
Date: Sun, 25 Jul 2021 10:14:52 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Hannah Rittich <void@rittich.net>
Cc: 594@bugs.devuan.org
Subject: Re: bug#594: plasma-workspace: KRunner starts programs in the
 filesystem root
Message-ID: <YP0rjEFbLFRh+YYd@hindley.org.uk>
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>
 <YPrY3BKxeUw3JK8q@hindley.org.uk>
 <dcab7166-75a7-f5f5-9877-7026a91bc79b@rittich.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <dcab7166-75a7-f5f5-9877-7026a91bc79b@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

Control: forwarded -1 https://bugs.debian.org/991439

On Fri, Jul 23, 2021 at 06:27:54PM +0200, Hannah Rittich wrote:
> Ahhh... I managed to reproduce the behavior on Bullseye as well. Thanks for
> helping. Here is the report:
> 
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991439

Thanks

Mark

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#594; Package plasma-workspace. Full text available.

Message received at 594@bugs.devuan.org:


Received: (at 594) by bugs.devuan.org; 23 Jul 2021 16:30:03 +0000
Return-Path: <void@rittich.net>
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 16:30:03 +0000 (UTC)
Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 8EE5FF60AC0
	for <594@bugs.devuan.org>; Fri, 23 Jul 2021 18:28:10 +0200 (CEST)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4GWZVx181wzQkF0;
	Fri, 23 Jul 2021 18:28:09 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
	by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030)
	with ESMTP id 6qi6XqSYZ_jm; Fri, 23 Jul 2021 18:28:05 +0200 (CEST)
Subject: Re: bug#594: plasma-workspace: KRunner starts programs in the
 filesystem root
To: Mark Hindley <mark@hindley.org.uk>
Cc: 594@bugs.devuan.org
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>
 <YPrY3BKxeUw3JK8q@hindley.org.uk>
From: Hannah Rittich <void@rittich.net>
Message-ID: <dcab7166-75a7-f5f5-9877-7026a91bc79b@rittich.net>
Date: Fri, 23 Jul 2021 18:27:54 +0200
MIME-Version: 1.0
In-Reply-To: <YPrY3BKxeUw3JK8q@hindley.org.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-DE
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: C4E1F18B1
X-Rspamd-UID: 680b42
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Hi,
 > 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.

Ahhh... I managed to reproduce the behavior on Bullseye as well. Thanks 
for helping. Here is the report:

   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991439

Regards,

Hannah

Acknowledgement sent to Hannah Rittich <void@rittich.net>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#594; Package plasma-workspace. Full text available.

Message received at 594@bugs.devuan.org:


Received: (at 594) by bugs.devuan.org; 23 Jul 2021 15:00:01 +0000
Return-Path: <mark@hindley.org.uk>
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
Subject: Re: bug#594: plasma-workspace: KRunner starts programs in the
 filesystem root
Message-ID: <YPrY3BKxeUw3JK8q@hindley.org.uk>
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>
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

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#594; Package plasma-workspace. Full text available.

Message received at 594@bugs.devuan.org:


Received: (at 594) by bugs.devuan.org; 23 Jul 2021 14:40:04 +0000
Return-Path: <void@rittich.net>
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 14:40:04 +0000 (UTC)
Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 4A3B8F60D3A
	for <594@bugs.devuan.org>; Fri, 23 Jul 2021 16:39:32 +0200 (CEST)
Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4GWX5Z73mNzQkFY;
	Fri, 23 Jul 2021 16:39:30 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp2.mailbox.org ([80.241.60.241])
	by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030)
	with ESMTP id v62dou2v9AaY; Fri, 23 Jul 2021 16:39:27 +0200 (CEST)
Subject: Re: bug#594: plasma-workspace: KRunner starts programs in the
 filesystem root
To: Mark Hindley <mark@hindley.org.uk>
Cc: 594@bugs.devuan.org
References: <162697230440.3343.11581024129851610142.reportbug@devuan-vm>
 <YPm8orSR/vyWXbGx@hindley.org.uk>
 <a8a8c369-9a61-8531-6e62-10ba0aeb273a@rittich.net>
 <YPrJDmfSN6te72EZ@hindley.org.uk>
From: Hannah Rittich <void@rittich.net>
Message-ID: <74960011-a234-f51e-3492-f1158371a748@rittich.net>
Date: Fri, 23 Jul 2021 16:39:26 +0200
MIME-Version: 1.0
In-Reply-To: <YPrJDmfSN6te72EZ@hindley.org.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-DE
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: E889717FC
X-Rspamd-UID: a9442b
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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.

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.

As a workaround I have created a wrapper script, which launches krunner 
in the user's home directory. Executing the following fixes the problem.

     mv /usr/bin/krunner /usr/bin/krunner.orig
     cat > /usr/bin/krunner << EOS
     #!/bin/sh
     cd "\$HOME"
     exec /usr/bin/krunner.orig "$@"
     EOS
     chmod a+x /usr/bin/krunner

(Note, to reproduce the error, I have also installed a fresh version of 
Chimaera into a VM.)

Hannah

Acknowledgement sent to Hannah Rittich <void@rittich.net>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#594; Package plasma-workspace. Full text available.

Message received at 594@bugs.devuan.org:


Received: (at 594) by bugs.devuan.org; 23 Jul 2021 14:00:01 +0000
Return-Path: <mark@hindley.org.uk>
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 14: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 77248F60D3F
	for <594@bugs.devuan.org>; Fri, 23 Jul 2021 15:50:10 +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 1m6vZ1-000624-4Y; Fri, 23 Jul 2021 14:50:07 +0100
Received: (nullmailer pid 9987 invoked by uid 1000);
	Fri, 23 Jul 2021 13:50:06 -0000
Date: Fri, 23 Jul 2021 14:50:06 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Hannah Rittich <void@rittich.net>
Cc: 594@bugs.devuan.org
Subject: Re: bug#594: plasma-workspace: KRunner starts programs in the
 filesystem root
Message-ID: <YPrJDmfSN6te72EZ@hindley.org.uk>
References: <162697230440.3343.11581024129851610142.reportbug@devuan-vm>
 <YPm8orSR/vyWXbGx@hindley.org.uk>
 <a8a8c369-9a61-8531-6e62-10ba0aeb273a@rittich.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <a8a8c369-9a61-8531-6e62-10ba0aeb273a@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 02:05:52PM +0200, Hannah Rittich wrote:
> Hi,
> 
> I just installed a fresh version of Debian Bullseye. The problem is not
> present in Debian. Should still report this to Debian's bug tracker?

What init is your bullseye install using? You might need to use something other
than systemd.

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.

Mark

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#594; Package plasma-workspace. Full text available.

Message received at 594@bugs.devuan.org:


Received: (at 594) by bugs.devuan.org; 23 Jul 2021 12:10:02 +0000
Return-Path: <void@rittich.net>
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 12:10:02 +0000 (UTC)
Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 2B966F60B21
	for <594@bugs.devuan.org>; Fri, 23 Jul 2021 14:05:59 +0200 (CEST)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4GWShQ0hVSzQjmd;
	Fri, 23 Jul 2021 14:05:58 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
	by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030)
	with ESMTP id SerF_oyTtFnl; Fri, 23 Jul 2021 14:05:54 +0200 (CEST)
Subject: Re: bug#594: plasma-workspace: KRunner starts programs in the
 filesystem root
To: Mark Hindley <mark@hindley.org.uk>, 594@bugs.devuan.org
References: <162697230440.3343.11581024129851610142.reportbug@devuan-vm>
 <YPm8orSR/vyWXbGx@hindley.org.uk>
From: Hannah Rittich <void@rittich.net>
Message-ID: <a8a8c369-9a61-8531-6e62-10ba0aeb273a@rittich.net>
Date: Fri, 23 Jul 2021 14:05:52 +0200
MIME-Version: 1.0
In-Reply-To: <YPm8orSR/vyWXbGx@hindley.org.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-DE
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 078FE1899
X-Rspamd-UID: 0dc64b
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Hi,

I just installed a fresh version of Debian Bullseye. The problem is not 
present in Debian. Should still report this to Debian's bug tracker?

Am 22.07.21 um 20:44 schrieb Mark Hindley:
> Control: tags -1 debian
> 
> Hannah,
> 
> On Thu, Jul 22, 2021 at 06:45:04PM +0200, Hannah Rittich wrote:
>> Package: plasma-workspace
>> Version: 4:5.20.5-6
>> Severity: normal
>> X-Debbugs-Cc: void@rittich.net
>>
>> Starting a program with KRunner used to start the program with the
>> working directory set to the user's home directory. In Chimaera KRunner
>> now starts programs with the working directory set to the root of the
>> filesystem. This behavior is problematic for the following reasons.
> 
> Thanks for this.
> 
> However, neither plasma-workspace nor any other  KDE pacakges are forked in
> Devuan and we use Debian's packages directly and without recompilation.
> 
> Please could you report this issue directly to Debian's BTS?
> 
> Thanks
> 
> Mark
> 

Acknowledgement sent to Hannah Rittich <void@rittich.net>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#594; Package plasma-workspace. Full text available.
Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 594-submit@bugs.devuan.org. Full text available.

Message received at 594@bugs.devuan.org:


Received: (at 594) by bugs.devuan.org; 22 Jul 2021 18:50:05 +0000
Return-Path: <mark@hindley.org.uk>
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); Thu, 22 Jul 2021 18:50:05 +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 D4080F60D4B
	for <594@bugs.devuan.org>; Thu, 22 Jul 2021 20:44:52 +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 1m6dgg-0000Al-R2; Thu, 22 Jul 2021 19:44:50 +0100
Received: (nullmailer pid 27659 invoked by uid 1000);
	Thu, 22 Jul 2021 18:44:50 -0000
Date: Thu, 22 Jul 2021 19:44:50 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Hannah Rittich <void@rittich.net>, 594@bugs.devuan.org
Subject: Re: bug#594: plasma-workspace: KRunner starts programs in the
 filesystem root
Message-ID: <YPm8orSR/vyWXbGx@hindley.org.uk>
References: <162697230440.3343.11581024129851610142.reportbug@devuan-vm>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <162697230440.3343.11581024129851610142.reportbug@devuan-vm>
X-Debbugs-No-Ack: No Thanks
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

Control: tags -1 debian

Hannah,

On Thu, Jul 22, 2021 at 06:45:04PM +0200, Hannah Rittich wrote:
> Package: plasma-workspace
> Version: 4:5.20.5-6
> Severity: normal
> X-Debbugs-Cc: void@rittich.net
> 
> Starting a program with KRunner used to start the program with the
> working directory set to the user's home directory. In Chimaera KRunner
> now starts programs with the working directory set to the root of the
> filesystem. This behavior is problematic for the following reasons.

Thanks for this.

However, neither plasma-workspace nor any other  KDE pacakges are forked in
Devuan and we use Debian's packages directly and without recompilation.

Please could you report this issue directly to Debian's BTS?

Thanks

Mark

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#594; Package plasma-workspace. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 22 Jul 2021 16:50:05 +0000
Return-Path: <void@rittich.net>
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); Thu, 22 Jul 2021 16:50:05 +0000 (UTC)
Received: from [127.0.1.1] (v2202105148788153697.goodsrv.de [94.16.112.139])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 8BBCEF60D43
	for <submit@bugs.devuan.org>; Thu, 22 Jul 2021 18:45:05 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Hannah Rittich <void@rittich.net>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: plasma-workspace: KRunner starts programs in the filesystem root
Message-ID: <162697230440.3343.11581024129851610142.reportbug@devuan-vm>
Date: Thu, 22 Jul 2021 18:45:04 +0200
X-Spam-Status: No, score=1.2 required=5.0 tests=HELO_MISC_IP,KHOP_DYNAMIC,
	SPF_FAIL autolearn=disabled version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: plasma-workspace
Version: 4:5.20.5-6
Severity: normal
X-Debbugs-Cc: void@rittich.net

Starting a program with KRunner used to start the program with the
working directory set to the user's home directory. In Chimaera KRunner
now starts programs with the working directory set to the root of the
filesystem. This behavior is problematic for the following reasons.

Starting a terminal emulator, e.g., Konsole in the file system root also
launches the shell in the file system root. Which usually means that the
user has to type "cd ~" to get to the directory of interest.

Starting a graphical application (like Kate) in the file system root
often means that file open and file save dialogs open in the file system
root directory, which is usually not the place where the user stores
their files.

To reproduce the behavior:

  1. Start KDE.
  2. Open KRunner, either by pressing Meta+Space or right clicking on
     the desktop and selecting "Show KRunner".
  3. Start a program, e.g., by entering "konsole" or "kate".

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (chimaera)
Release:	4
Codename:	n/a
Architecture: x86_64

Kernel: Linux 5.10.0-8-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages plasma-workspace depends on:
ii  dbus-x11 [default-dbus-session-bus]      1.12.20-2+devuan2
ii  drkonqi                                  5.20.5-1
ii  frameworkintegration                     5.78.0-2
ii  gdb-minimal [gdb]                        10.1-1.7
ii  iso-codes                                4.6.0-1
ii  kactivitymanagerd                        5.20.5-1
ii  kded5                                    5.78.0-2
ii  kinit                                    5.78.0-2
ii  kio                                      5.78.0-5
ii  kpackagetool5                            5.78.0-3
ii  kwin-common                              4:5.20.5-1
ii  libappstreamqt2                          0.14.4-1
ii  libc6                                    2.31-12
ii  libcolorcorrect5                         4:5.20.5-6
ii  libegl1                                  1.3.2-1
ii  libfontconfig1                           2.13.1-4.2
ii  libfreetype6                             2.10.4+dfsg-1
ii  libgcc-s1                                10.2.1-6
ii  libgl1                                   1.3.2-1
ii  libgps28                                 3.22-3+devuan1
ii  libice6                                  2:1.0.10-1
ii  libkf5activities5                        5.78.0-2
ii  libkf5activitiesstats1                   5.78.0-2
ii  libkf5archive5                           5.78.0-2
ii  libkf5authcore5                          5.78.0-2
ii  libkf5baloo5                             5.78.0-3
ii  libkf5bookmarks5                         5.78.0-2
ii  libkf5calendarevents5                    5.78.0-2
ii  libkf5completion5                        5.78.0-3
ii  libkf5config-bin                         5.78.0-4
ii  libkf5configcore5                        5.78.0-4
ii  libkf5configgui5                         5.78.0-4
ii  libkf5configwidgets5                     5.78.0-2
ii  libkf5coreaddons5                        5.78.0-4
ii  libkf5crash5                             5.78.0-3
ii  libkf5dbusaddons5                        5.78.0-2
ii  libkf5declarative5                       5.78.0-2
ii  libkf5globalaccel-bin                    5.78.0-3
ii  libkf5globalaccel5                       5.78.0-3
ii  libkf5guiaddons5                         5.78.0-3
ii  libkf5holidays5                          1:5.78.0-2
ii  libkf5i18n5                              5.78.0-2
ii  libkf5iconthemes5                        5.78.0-2
ii  libkf5idletime5                          5.78.0-2
ii  libkf5itemmodels5                        5.78.0-2
ii  libkf5jobwidgets5                        5.78.0-2
ii  libkf5kcmutils5                          5.78.0-3
ii  libkf5kdelibs4support5                   5.78.0-2
ii  libkf5kiocore5                           5.78.0-5
ii  libkf5kiofilewidgets5                    5.78.0-5
ii  libkf5kiogui5                            5.78.0-5
ii  libkf5kiowidgets5                        5.78.0-5
ii  libkf5networkmanagerqt6                  5.78.0-2
ii  libkf5newstuff5                          5.78.0-4
ii  libkf5newstuffcore5                      5.78.0-4
ii  libkf5notifications5                     5.78.0-2
ii  libkf5notifyconfig5                      5.78.0-2
ii  libkf5package5                           5.78.0-3
ii  libkf5parts5                             5.78.0-3
ii  libkf5people5                            5.78.0-2
ii  libkf5peoplewidgets5                     5.78.0-2
ii  libkf5plasma5                            5.78.0-3
ii  libkf5plasmaquick5                       5.78.0-3
ii  libkf5prison5                            5.78.0-2
ii  libkf5quickaddons5                       5.78.0-2
ii  libkf5runner5                            5.78.0-3
ii  libkf5service-bin                        5.78.0-2
ii  libkf5service5                           5.78.0-2
ii  libkf5solid5                             5.78.0-2
ii  libkf5texteditor5                        5.78.0-3
ii  libkf5textwidgets5                       5.78.0-2
ii  libkf5wallet-bin                         5.78.0-2
ii  libkf5wallet5                            5.78.0-2
ii  libkf5waylandclient5                     4:5.78.0-2
ii  libkf5widgetsaddons5                     5.78.0-2
ii  libkf5windowsystem5                      5.78.0-2
ii  libkf5xmlgui5                            5.78.0-2
ii  libkfontinst5                            4:5.20.5-6
ii  libkfontinstui5                          4:5.20.5-6
ii  libkscreenlocker5                        5.20.5-1
ii  libksgrd9                                4:5.20.5-1
ii  libksysguardsensorfaces1                 4:5.20.5-1
ii  libkuserfeedbackcore1                    1.0.0-3
ii  libkworkspace5-5                         4:5.20.5-6
ii  libnotificationmanager1                  4:5.20.5-6
ii  libphonon4qt5-4                          4:4.11.1-4
ii  libpipewire-0.3-0                        0.3.19-4
ii  libplasma-geolocation-interface5         4:5.20.5-6
ii  libprocesscore9                          4:5.20.5-1
ii  libprocessui9                            4:5.20.5-1
ii  libqalculate20                           2.8.2-1.1
ii  libqt5core5a                             5.15.2+dfsg-9
ii  libqt5dbus5                              5.15.2+dfsg-9
ii  libqt5gui5                               5.15.2+dfsg-9
ii  libqt5network5                           5.15.2+dfsg-9
ii  libqt5printsupport5                      5.15.2+dfsg-9
ii  libqt5qml5                               5.15.2+dfsg-6
ii  libqt5quick5                             5.15.2+dfsg-6
ii  libqt5sql5                               5.15.2+dfsg-9
ii  libqt5svg5                               5.15.2-3
ii  libqt5waylandclient5                     5.15.2-3
ii  libqt5widgets5                           5.15.2+dfsg-9
ii  libqt5x11extras5                         5.15.2-2
ii  libqt5xml5                               5.15.2+dfsg-9
ii  libsm6                                   2:1.2.3-1
ii  libstdc++6                               10.2.1-6
ii  libtaskmanager6abi1                      4:5.20.5-6
ii  libwayland-client0                       1.18.0-2~exp1.1
ii  libweather-ion7                          4:5.20.5-6
ii  libx11-6                                 2:1.7.1-1
ii  libxcb-composite0                        1.14-3
ii  libxcb-damage0                           1.14-3
ii  libxcb-image0                            0.4.0-1+b3
ii  libxcb-randr0                            1.14-3
ii  libxcb-shape0                            1.14-3
ii  libxcb-util1                             0.4.0-1+b1
ii  libxcb1                                  1.14-3
ii  libxcursor1                              1:1.2.0-2
ii  libxfixes3                               1:5.0.3-2
ii  libxft2                                  2.3.2-2
ii  libxrender1                              1:0.9.10-1
ii  libxtst6                                 2:1.2.3-1
ii  milou                                    4:5.20.5-1
ii  phonon4qt5                               4:4.11.1-4
ii  plasma-framework                         5.78.0-3
ii  plasma-integration                       5.20.5-1
ii  plasma-workspace-data                    4:5.20.5-6
ii  qdbus-qt5                                5.15.2-5
ii  qml-module-org-kde-draganddrop           5.78.0-2
ii  qml-module-org-kde-kcoreaddons           5.78.0-2
ii  qml-module-org-kde-kholidays             1:5.78.0-2
ii  qml-module-org-kde-kquickcontrols        5.78.0-2
ii  qml-module-org-kde-kquickcontrolsaddons  5.78.0-2
ii  qml-module-org-kde-ksysguard             4:5.20.5-1
ii  qml-module-org-kde-kwindowsystem         5.78.0-2
ii  qml-module-org-kde-prison                5.78.0-2
ii  qml-module-org-kde-quickcharts           5.78.0-2
ii  qml-module-org-kde-solid                 5.78.0-2
ii  qml-module-org-kde-userfeedback          1.0.0-3
ii  qml-module-qt-labs-folderlistmodel       5.15.2+dfsg-6
ii  qml-module-qtgraphicaleffects            5.15.2-2
ii  qml-module-qtqml-models2                 5.15.2+dfsg-6
ii  qml-module-qtquick-controls              5.15.2-2
ii  qml-module-qtquick-dialogs               5.15.2-2
ii  qml-module-qtquick-layouts               5.15.2+dfsg-6
ii  qml-module-qtquick-window2               5.15.2+dfsg-6
ii  qml-module-qtquick2                      5.15.2+dfsg-6
ii  udisks2                                  2.9.2-2+devuan1
ii  x11-utils                                7.7+5
ii  x11-xserver-utils                        7.7+8
ii  zlib1g                                   1:1.2.11.dfsg-2

Versions of packages plasma-workspace recommends:
ii  kde-cli-tools    4:5.20.5-2
ii  kio-extras       4:20.12.2-1
ii  ksysguardd       4:5.20.5-2
ii  libpam-kwallet5  5.20.5-1
ii  powerdevil       4:5.20.5-2

plasma-workspace suggests no packages.

-- no debconf information

Acknowledgement sent to Hannah Rittich <void@rittich.net>:
New bug report received and forwarded. Copy sent to void@rittich.net, devuan-dev@lists.dyne.org. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, void@rittich.net, devuan-dev@lists.dyne.org:
bug#594; Package plasma-workspace. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun, 16 Jan 2022 18:39:01 UTC