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.
https://bugs.winehq.org/show_bug.cgi?id=39030
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source CC| |austinenglish@gmail.com Version|unspecified |1.7.48
https://bugs.winehq.org/show_bug.cgi?id=39030
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |imwellcushtymelike@gmail.co | |m Component|-unknown |wineserver Ever confirmed|0 |1
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Confirming. It can affect anyone trying to script a background process to run at different priorities. There are other ways around that of course.
https://bugs.winehq.org/show_bug.cgi?id=39030
Mihai Todor todormihai@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |todormihai@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39030
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- Still the case in Wine 4.18 but is this a WONTFIX / as designed?
$ wineserver -p; wineboot
*may* provide the result you're looking for? It certainly does start up the wineserver (obviously) and all background services, including ones you've installed yourself.
Two commands instead of one but I'm sure this should work in most cases.
https://bugs.winehq.org/show_bug.cgi?id=39030
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- No change in Wine 6.18
https://bugs.winehq.org/show_bug.cgi?id=39030
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- No change in Wine 9.7