You are not logged in.

#1 2016-08-01 02:09:20

chasbel2112
Member
Registered: 2016-06-23
Posts: 58

systemctl status shadow.service failing during boot

On boot, I will get a message that the above service has failed and to run "systemctl status shadow.service" for more info. The output of this command is as follows

[chas@UX31E ~]$ 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 Sun 2016-07-31 21:35:27 EDT; 27min ago
  Process: 413 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 413 (code=exited, status=2)

Jul 31 21:35:27 UX31E systemd[1]: Starting Verify integrity of password and group files...
Jul 31 21:35:27 UX31E pwck[413]: user 'chrony': directory '/var/lib/chrony' does not exist
Jul 31 21:35:27 UX31E pwck[413]: pwck: no changes
Jul 31 21:35:27 UX31E systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 31 21:35:27 UX31E systemd[1]: Failed to start Verify integrity of password and group files.
Jul 31 21:35:27 UX31E systemd[1]: shadow.service: Unit entered failed state.
Jul 31 21:35:27 UX31E systemd[1]: shadow.service: Failed with result 'exit-code'.
[chas@UX31E ~]$

I've done some reading on similar problems and think the issue lies in a missing user or something (I assume chrony in this case). Thing is, no such user has ever been present on my system, only my own account.

I'm not sure how to fix this, but would like to be able to.

Offline

#2 2016-08-01 08:05:05

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: systemctl status shadow.service failing during boot

Reinstall chrony, pacman will create needed 'chrony' group and user when it runs the chrony.install script.

Offline

#3 2016-08-02 02:44:53

chasbel2112
Member
Registered: 2016-06-23
Posts: 58

Re: systemctl status shadow.service failing during boot

That did the trick! Now I just have to figure out how to configure Chrony

Offline

Board footer

Powered by FluxBB