1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

core: move user lookup event priority to -11

This is internal stuff, us talking to ourselves and relatively
independent of everything else, let's put this at
highest priority hence.
This commit is contained in:
Lennart Poettering 2018-01-23 18:15:16 +01:00
parent 832316370b
commit 67ae4e8d59

View File

@ -946,7 +946,7 @@ static int manager_setup_user_lookup_fd(Manager *m) {
/* Process even earlier than the notify event source, so that we always know first about valid UID/GID /* Process even earlier than the notify event source, so that we always know first about valid UID/GID
* resolutions */ * resolutions */
r = sd_event_source_set_priority(m->user_lookup_event_source, SD_EVENT_PRIORITY_NORMAL-8); r = sd_event_source_set_priority(m->user_lookup_event_source, SD_EVENT_PRIORITY_NORMAL-11);
if (r < 0) if (r < 0)
return log_error_errno(errno, "Failed to set priority ot user lookup event source: %m"); return log_error_errno(errno, "Failed to set priority ot user lookup event source: %m");