Bug 488177 - Dolphin can't open files or terminal window in sysfs directories
Summary: Dolphin can't open files or terminal window in sysfs directories
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.05.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: regression, usability
Depends on:
Blocks:
 
Reported: 2024-06-07 19:12 UTC by Yevhen Popok
Modified: 2024-07-05 21:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yevhen Popok 2024-06-07 19:12:03 UTC
SUMMARY
Dolphin 24.05 can't open files in sysfs directories (e.g., /sys/devices). "Open terminal here" doesn't work as well.

STEPS TO REPRODUCE
1. Go to /sys/devices/system/cpu/cpu1/ 
2. Try to open "online" file
3. Also try to select "Open Terminal Here" from right click menu

OBSERVED RESULT
After clicking on a file Dolphin shows errors "WorkingDirectory= may not be below /proc/, /sys/ or /dev/"
After trying to open terminal window, I see a similar error in output "kf.kio.gui: Failed to launch process as service: "app-org.kde.konsole@e156273d27aa4b15980cf5421e36f26c.service" "org.freedesktop.DBus.Error.InvalidArgs" "WorkingDirectory= may not be below /proc/, /sys/ or /dev/""

EXPECTED RESULT
I can launch files and new terminal windows from sysfs directories.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Kinoite Rawhide (preview of Fedora 41)
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Dolphin 24.02.2 doesn't have this issue
Comment 1 Hanabishi 2024-06-16 12:31:30 UTC
This is not a Dolphin bug. This is new systemd 256 restriction.
https://github.com/systemd/systemd/pull/31210
Comment 2 Hanabishi 2024-06-16 13:43:27 UTC
Made a report about it upstream.
https://github.com/systemd/systemd/issues/33361
Comment 3 Hanabishi 2024-07-05 21:54:08 UTC
Fixed in systemd v256.2