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:
parent
832316370b
commit
67ae4e8d59
@ -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");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user