You are not logged in.

#1 2022-09-26 20:09:53

grishatop1
Member
Registered: 2022-09-26
Posts: 2

Wine process delaying systemd shutdown

Hi everyone! Almost every time I shutdown my PC I have to wait about a minute for

A stop job is running for user manager for UID 1000

Turns out that this is a wine process that interrupts everything.

> sudo journalctl -b-1

Sep 26 21:01:46 grishin-pc systemd[450]: app-wine\x2dextension\x2dxml-1dbe3f8023a747f98ccb3b5a60aa9198.scope: Stopping timed out. Killing.
Sep 26 21:01:46 grishin-pc systemd[450]: app-wine\x2dextension\x2dxml-1dbe3f8023a747f98ccb3b5a60aa9198.scope: Killing process 3574 (winedevice.exe) with signal SIGKILL.
Sep 26 21:01:46 grishin-pc systemd[450]: app-wine\x2dextension\x2dxml-1dbe3f8023a747f98ccb3b5a60aa9198.scope: Killing process 3577 (n/a) with signal SIGKILL.
Sep 26 21:01:46 grishin-pc systemd[450]: app-wine\x2dextension\x2dxml-1dbe3f8023a747f98ccb3b5a60aa9198.scope: Killing process 3578 (n/a) with signal SIGKILL.
Sep 26 21:01:46 grishin-pc systemd[450]: app-wine\x2dextension\x2dxml-1dbe3f8023a747f98ccb3b5a60aa9198.scope: Killing process 3581 (libusb_event) with signal SIGKILL.
Sep 26 21:01:46 grishin-pc systemd[450]: app-wine\x2dextension\x2dxml-1dbe3f8023a747f98ccb3b5a60aa9198.scope: Killing process 3583 (n/a) with signal SIGKILL.
Sep 26 21:01:46 grishin-pc systemd[450]: app-wine\x2dextension\x2dxml-1dbe3f8023a747f98ccb3b5a60aa9198.scope: Failed with result 'timeout'.
Sep 26 21:01:46 grishin-pc systemd[450]: Stopped winebrowser.
Sep 26 21:01:46 grishin-pc systemd[450]: app-wine\x2dextension\x2dxml-1dbe3f8023a747f98ccb3b5a60aa9198.scope: Consumed 45.152s CPU time.
```

I know I can kill winedevice.exe and other wine processes before every shutdown, but this is not a solution for me hmm

Is there a way to force systemd to kill those processes immediately?
Or is it problem on wine side, to do something in there?

Last edited by grishatop1 (2022-09-26 20:19:55)

Offline

#2 2022-10-31 15:24:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: Wine process delaying systemd shutdown

which wine process are you running that is hanging? It will depend on what exactly you are running.

Offline

Board footer

Powered by FluxBB