Bug 27033

Summary: plasmashell : kf5.kio.gui: Failed to register new cgroup
Product: Mageia Reporter: Aurelien Oudelet <ouaurelien>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED OLD QA Contact:
Severity: minor    
Priority: Normal CC: geiger.david68210
Version: 8Keywords: UPSTREAM
Target Milestone: Mageia 9   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=425008
Whiteboard:
Source RPM: plasma-workspace-5.19.4-1.mga8.src.rpm CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 17523    

Description Aurelien Oudelet 2020-08-04 21:35:53 CEST
Description of problem:

Opening application pinned as desktop graphical component leads to failing cgroup creation.

Launching whatever application pinned from a Plasma Panel results of following error:

plasmashell[4397]: kf5.kio.gui: Failed to register new cgroup: "apps-firefox (1)-fe5379b798a3465a9edd978a96bdf64c.scope"
plasmashell[4397]: kf5.kio.gui: Failed to register new cgroup: "apps-org.kde.dolphin (1)-ecac586e193d4319a28402bd0140f494.scope"
plasmashell[4397]: kf5.kio.gui: Failed to register new cgroup: "apps-systemsettings (1)-07939f87e1c24783ba4c0a4dff48361b.scope"

There is a typo error: a space after application name and this: (1) or (2).

Applications launched from Kicker are not affected.
Applications launched from pinned shortcut in Task Manager are not affected.

This is on 5.19.4 Plasma on current Mageia Cauldron.

STEPS TO REPRODUCE
1. Pin an application on panel with right click menu (Add to panel (graphical component))
2. Click on application icon like firefox, dolphin, systemsettings
3. See in journal error.

Reported upstream today https://bugs.kde.org/show_bug.cgi?id=425008
Comment 1 Aurelien Oudelet 2020-08-04 21:42:05 CEST
As bug reported upstream but appeared with latest 5.19.4 revision of Plasma.
Such a strange bug.

Why an application launch properly with cgroup scope from Plasma Kicker but sometimes failed to launch his cgroup scope when it starts from Panel shortcut.

This bug is not blocker: app is launched effectively but at a price of 1 second delay. On modern hardware it is not perceived, but I think on old it will be.

Assigning to KDE maintainers meanwhile.

URL: (none) => https://bugs.kde.org/show_bug.cgi?id=425008
Assignee: bugsquad => kde
Keywords: (none) => UPSTREAM
Severity: normal => minor

Comment 2 Aurelien Oudelet 2020-08-04 21:53:37 CEST
After further analyze,

There is some desktop files in /$home/.local/share/plasma_icons

Why there is .desktop files here when there is no icons in Plasma's Panel ?

Deleting theses files, and pinning to Panel after some apps, there is no longer bug.

BUT: if I add as duplicate an app, the .desktop file has a space and parenthesis in filename, so the bug is reproduced:

plasmashell[4378]: kf5.kio.gui: Failed to register new cgroup: "apps-firefox (1)-fe5379b46df4469edd978a96bdg58v.scope"
Aurelien Oudelet 2020-10-29 16:13:22 CET

Blocks: (none) => 17523

Comment 3 Aurelien Oudelet 2021-05-19 15:15:09 CEST
> David Edmundson 2021-01-28 09:49:16 UTC
> This was merged. Please reopen if this is still an issue.

This seems fixed in KFrameworks 5.78.
They don't give me commit.

Unsure if it is worth a backport to Mageia 8.

Fixed in Cauldron.

Target Milestone: --- => Mageia 9
Version: Cauldron => 8

Comment 4 David GEIGER 2024-03-03 16:59:19 CET
mga8 is EOL!

Resolution: (none) => OLD
Status: NEW => RESOLVED
CC: (none) => geiger.david68210