4bbd037178
When launching mintsources, timeshift or an app which Exec field (in the desktop file) starts with pkexec, nothing happens and the output states: "Refusing to render service to dead parents." For some reason this does not happen on fresh LMDE 4 and Mint 19.3 installations, but it happens on LMDE 3 -> LMDE 4 and 19.1 -> 19.3 upgrades. Similar bugs were fixed in nemo and cinnamon. Pkexec is known to cause issues depending on how it's launched. Specifying DO_NOT_REAP_CHILD in the spawn flags helps here. Afaik it makes it so we're the parent of the pkexec process during launch. Pkexec fails to launch otherwise. gather_pid_callback() does nothing, it's just there to ack the pid callback. Afaik this helps preventing zombie [defunct] processes when they terminate. |
||
---|---|---|
.. | ||
__init__.py | ||
applications.py | ||
easybuttons.py | ||
execute.py | ||
filemonitor.py | ||
get_apt_cache.py | ||
places.py | ||
recent.py | ||
recentHelper.py | ||
system_management.py |