You are not logged in.

#1 2020-05-08 08:23:30

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 720

shadow.service loaded but failed

Recently I've run into this issue

$ systemctl --failed
  UNIT           LOAD   ACTIVE SUB    DESCRIPTION                                 
● shadow.service loaded failed failed Verify integrity of password and group files

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed.

Restarting the service doesn't seem to work

$ sudo systemctl restart shadow.service
$ systemctl --failed
  UNIT           LOAD   ACTIVE SUB    DESCRIPTION                                 
● shadow.service loaded failed failed Verify integrity of password and group files

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed.

Is it something I should worry about? How to fix this?

P.S.

Another piece of information

$ 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 Fri 2020-05-08 10:09:35 CEST; 22min ago
TriggeredBy: ● shadow.timer
    Process: 21436 ExecStart=/bin/sh -c /usr/bin/pwck -r || r=1; /usr/bin/grpck -r && exit $r (code=exited, status=1/FAILURE)
   Main PID: 21436 (code=exited, status=1/FAILURE)

maj 08 10:09:35 titanlinux systemd[1]: Started Verify integrity of password and group files.
maj 08 10:09:35 titanlinux sh[21437]: user 'mail': directory '/var/spool/mail' does not exist
maj 08 10:09:35 titanlinux sh[21437]: pwck: bez zmian
maj 08 10:09:35 titanlinux systemd[1]: shadow.service: Main process exited, code=exited, status=1/FAILURE
maj 08 10:09:35 titanlinux systemd[1]: shadow.service: Failed with result 'exit-code'.

Last edited by Zibi1981 (2020-05-08 08:34:14)


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#2 2020-05-08 12:56:07

loqs
Member
Registered: 2014-03-06
Posts: 19,076

Re: shadow.service loaded but failed

Offline

#3 2020-05-08 14:46:46

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 720

Re: shadow.service loaded but failed

Well, after restarting I got

$ systemctl --failed
  UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.

Not sure what was that all about.


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

Board footer

Powered by FluxBB