https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244341

Martin Birgmeier <d8zne...@aon.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d8zne...@aon.at

--- Comment #1 from Martin Birgmeier <d8zne...@aon.at> ---
Solving this would be really tough... basically, the process model differs very
much between Unix and QT5.

The patch in issue 241519 basically mis-uses the SDDM process environment to
prepare the future child process environment because setclassenvironment() only
allows to modify the current process environment - which normally would already
be the child's environment.

To really correct this, a variant of setclassenvironment() would have to be
written which allows to specify an independent environment to modify.

Maybe it would instead be possible to just save the current environment, create
an empty one, do the setclassenvironment() stuff, then call env.insert() on it,
and finally restore SDDM's correct environment.

Maybe this would then also address the issue of starting with a clean
environment for the user, as described in
https://github.com/sddm/sddm/pull/1234.

And don't ask me when I might find the time to look into this. :-)

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to