Skip to content
  • Stephen Gallagher's avatar
    systemd: ensure that accounts service starts after NSS initializes · 3d6d1259
    Stephen Gallagher authored
    The various NSS calls don't give accurate results in some configurations
    until midway through boot up.  This is because SSSD or winbind (or
    whatever) needs to initialize.
    
    In order to prevent accounts service from using NSS prematurely, we need
    to add an ordering constraint between the nss-user-lookup.target and
    accountsservice.
    
    This commit accomplishes this by adding the appropriate Wants= and
    After= directives to the accountsservice systemd unit file.
    3d6d1259