• Shadow Service Failure


     $ systemctl status shadow.service
    
    ● shadow.service - Verify integrity of password and group files
       Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
       Active: failed (Result: exit-code) since Wed 2015-07-29 22:21:58 EDT; 12s ago
      Process: 28567 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
     Main PID: 28567 (code=exited, status=2)
    
    Jul 29 22:21:58 dldsk01 systemd[1]: Starting Verify integrity of password and group files...
    Jul 29 22:21:58 dldsk01 pwck[28567]: user 'nmt': directory '/home/nmt' does not exist
    Jul 29 22:21:58 dldsk01 pwck[28567]: user 'nasjail': directory '/home/nasjail' does not exist
    Jul 29 22:21:58 dldsk01 pwck[28567]: pwck: no changes
    Jul 29 22:21:58 dldsk01 systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
    Jul 29 22:21:58 dldsk01 systemd[1]: Failed to start Verify integrity of password and group files.
    Jul 29 22:21:58 dldsk01 systemd[1]: shadow.service: Unit entered failed state.
    Jul 29 22:21:58 dldsk01 systemd[1]: shadow.service: Failed with result 'exit-code'.
    

    I see a reference to 2 accounts with bad home drive locations, is that really enough for the service to fail?

  • Apparently it is enough for the service to fail… my bad. Created the missing home directories and the service started up.

    $ systemctl status shadow.service
    ● shadow.service - Verify integrity of password and group files
       Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
       Active: inactive (dead) since Thu 2015-07-30 09:03:18 EDT; 7s ago
      Process: 13524 ExecStart=/usr/bin/grpck -r (code=exited, status=0/SUCCESS)
      Process: 13520 ExecStart=/usr/bin/pwck -r (code=exited, status=0/SUCCESS)
     Main PID: 13524 (code=exited, status=0/SUCCESS)
    
    Jul 30 09:03:18 dldsk01 systemd[1]: Starting Verify integrity of password and group files...
    Jul 30 09:03:18 dldsk01 systemd[1]: Started Verify integrity of password and group files.
    
    
Posts 2Views 1527
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.