]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: Order user@.service after systemd-oomd.service
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 17 Mar 2023 12:07:56 +0000 (13:07 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 18 Mar 2023 06:05:43 +0000 (15:05 +0900)
commitcafd2c0be404cb8879f91d15e05cc8b695b32629
treec404b599caf5f66c27e740f174df9c1f1db5b285
parenta9938fb3cb08670f9ff48447d8483d1118344847
units: Order user@.service after systemd-oomd.service

The user manager connects to oomd over varlink. Currently, during
shutdown, if oomd is stopped before any user manager, the user
manager will try to reconnect to the socket, leading to a warning
from pid 1 about a conflicting transaction.

Let's fix this by ordering user@.service after systemd-oomd.service,
so that user sessions are stopped before systemd-oomd is stopped,
which makes sure that the user sessions won't try to start oomd via
its socket after systemd-oomd is stopped.
units/user@.service.in