https://bugs.kde.org/show_bug.cgi?id=465188
Bug ID: 465188
Summary: startplasma-x11 strips trailing spaces from its
environment variables for calling plasmashell process
Classification: Plasma
Product: plasmashell
Version: 5.26.5
Platform: Archlinux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
SUMMARY
***
Trailing spaces from environment variables get stripped between startplasma-x11
and plasmashell
***
Sorry, could not find the suitable category for plasma-workspace.
Originally affected my $PS1 prompt variable.
STEPS TO REPRODUCE
1. Put an export to /etc/profile (or profile.d/) with a trailing space: export
XTEST=" xxx "
2. Login as the user
3. Open any terminal (for example Konsole+bash) and print the var: echo
X${XTEST}X
OBSERVED RESULT
"X xxxX"
EXPECTED RESULT
"X xxx X"
SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
ADDITIONAL INFORMATION
Not sure if this bug is systemd related (because plasma-plasmashell.service is
involved).
I've compared /proc/*/environ of plasmashell to startplasma-x11 and all
trailing spaces are definitely missing.
pids of both components are directly related.
Directly sourcing the /etc/profile.d/file in a bash session works as expected.
No suspicious systemd logs found.
Env tracking in /usr/share/sddm/scripts/Xsession went "all good".
Also affects a fresh Kubuntu 22.10 installation.
--
You are receiving this mail because:
You are watching all bug changes.