https://bugs.winehq.org/show_bug.cgi?id=39030
Bug ID: 39030 Summary: wineserver --persistent doesn't start up system services Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sstewartgallus00@mylangara.bc.ca Distribution: ---
wineserver --persistent doesn't start up system services
wineserver --persistent starts up the wineserver process. However, it does not start up winedevice.exe, plugplay.exe, services.exe and explorer.exe. Instead, those processes are dynamically spawned by the first Wine process that needs them. Personally, I would expect wineserver --persistent or some other similar script to start up all essential Wine services ahead of time. As well, if wineserver did not startup all services I would expect wineserver to spawn winedevice.exe, plugplay.exe, services.exe and explorer.exe dynamically and not just have the first wine process that requires those spawn them.
This is a problem because dynamically spawning those processes interacts annoyingly with the PR_SET_CHILD_SUBREAPER prctl. Also, such processes inherit settigns such as environment variables and process priority.