Summary: | plasmashell restarted from a non-standard directory may hold open mount points wrongly | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Michael Reilly <OmnipotentEntity> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | minor | CC: | kde, nate |
Priority: | NOR | ||
Version: | 5.27.7 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=474995 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michael Reilly
2023-09-07 19:41:50 UTC
How exactly did you quit and relaunch plasma? What command did you use? (In reply to Nate Graham from comment #1) > How exactly did you quit and relaunch plasma? What command did you use? Sorry about the long delay in response, I seem to have not received a notification. You can reproduce this behavior by doing $ cd /mount/point $ kquitapp5 plasmashell && kstart5 plasmashell $ cd / to launch the plasmashell from below the mount point, launch plasmashell within the pwd of the mounted drive, then exit the mounted drive (so the shell itself isn't holding the mount point open). Thanks. Does the problem happen if you restart plasmashell using `systemctl restart --user plasma-plasmashell.service` instead? (In reply to Nate Graham from comment #3) > Thanks. Does the problem happen if you restart plasmashell using `systemctl > restart --user plasma-plasmashell.service` instead? The problem does not happen when I use systemctl to restart the service. Awesome. That's the supported way to restart plasma, so I'd recommend doing that instead of what you were doing before. (In reply to Nate Graham from comment #5) > Awesome. That's the supported way to restart plasma, so I'd recommend doing > that instead of what you were doing before. Practically speaking, using `kstart5 plasmashell` is by far and away the most commonly documented process, from both seemingly official (https://userbase.kde.org/Plasma) and unofficial sources. Particularly the ones that show up when simply performing a web search across a variety of search engines for "kde restart plasma". In fact, this particular difference seems to have tripped even you up just last year. https://bugs.kde.org/show_bug.cgi?id=448475#c30 I don't mean to be difficult, as I have absolutely no illusions that this is an important bug that needs to be addressed; it's just a obscure, sharp edge that I happened to bump up against. It just seemed out of left field that a very established and documented pattern is not the supported method. It has indeed tripped me up in the past. :) One thing I could see us doing is making `plasmashell --replace` run the systemctl command if you're using the systemd boot process. Let's track that at Bug 474995. |