https://bugs.kde.org/show_bug.cgi?id=505529

--- Comment #2 from edinbruh <alvisebruni...@gmail.com> ---
(In reply to John Kizer from comment #1)
> Hello! You've reached the KDE bug tracker, which is for tracking and
> investigating specific bugs. Unfortunately I cannot pinpoint a specific
> user-facing bug that's being reported here. Can you please read
> https://community.kde.org/Get_Involved/Issue_Reporting and add more
> information here as requested in the bug report template, like Steps to
> Reproduce the issue you observed, what result you saw, and what result you
> expected?
> 
> If this is not a report of a specific user-facing bug, but instead a
> broader, general development proposal, then I'd recommend closing this bug
> report and posting as a topic at https://discuss.kde.org/ for discussion.
> 
> Thanks!

For me, I see this as a bug, so I'm adding the required info in this comment.

Steps to reproduce:
1. Try to edit the path in `~/.config/environment` adding `PATH=${PATH}:/path1`
2. Also add a fresh test variable `FOO=bar`
3. Edit the path in your profile (`~/.bashrc`, `~/.profile`, `/etc/profile`,
doesn't matter) with `PATH=$PATH:/path2`
4. Also add a second fresh test variable `FIZZ=buzz`
5. Have some user service start at boot using `WantedBy=default.target` in its
unit, for testing purpose
6. Reboot your system

Expected result:
* Plasma itself and applications should see:
    * either `PATH=$PATH:/path1:/path2` or `PATH=$PATH:/path2:/path1` (possibly
the first)
    * `FOO=bar`
    * `FIZZ=buzz`
* All user services should see "at least":
    * `PATH=$PATH:/path1`
    * `FOO=bar`
* (Optionally, some user services may see the same variables as plasma)
    * This is to say that if some user services see more than the variable in
`~/.config/environment` it's not a big deal

Observed result:
* Plasma itself and applications see:
    * `PATH=$PATH:/path2`
    * `FOO=bar`
    * `FIZZ=buzz`
* User services started before plasma see:
    * `PATH=$PATH:/path1`
    * `FOO=bar`
* User services started after plasma see:
    * `PATH=$PATH:/path2`
    * `FOO=bar`
    * `FIZZ=buzz`

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to