[arch-general] failed to start verify of integrity of password and group files - Was: (no subject)
Chris Warrick
kwpolska at gmail.com
Wed Jun 10 15:23:52 UTC 2015
On Tue, Jun 9, 2015 at 10:07 PM, Francis Gerund <ranrund at gmail.com> wrote:
> Hi.
>
> I actuallly did see that, but that seems to talk about the shadow.service
> "failing" to start or run properly.
>
> the terminal message I was getting said:
>
> shadow.service - Verify integrity of password and group files
> Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor
> preset: disabled)
> Active: inactive (dead)
>
> So it was like, "what do that mean"? And since it mentioned checking the
> password file, I figured I'd best check into it.
>
> I don't know what the shadow.service is, and am new to systemd.
The shadow.service comes from the `shadow` package, and it’s
responsible for checking and testing your /etc/passwd, /etc/group,
/etc/shadow and /etc/gshadow files (which is what the name already
tells you). The output you pasted means your files are correct and
there is nothing to worry about. If they weren’t, you would get
different output (and should run the ExecStart command manually
without `-r` to resolve the issues):
● 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-06-10 17:17:30 CEST; 9s ago
Process: 9420 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 9420 (code=exited, status=2)
Jun 10 17:17:30 kw-cassandra systemd[1]: Starting Verify integrity of
password and group files...
Jun 10 17:17:30 kw-cassandra systemd[1]: shadow.service: Main process
exited, code=exited, status=2/INVALIDARGUMENT
Jun 10 17:17:30 kw-cassandra systemd[1]: Failed to start Verify
integrity of password and group files.
Jun 10 17:17:30 kw-cassandra systemd[1]: shadow.service: Unit entered
failed state.
Jun 10 17:17:30 kw-cassandra systemd[1]: shadow.service: Failed with
result 'exit-code'.
Jun 10 17:17:30 kw-cassandra pwck[9420]: duplicate password entry
Jun 10 17:17:30 kw-cassandra pwck[9420]: delete line
'bin:x:1:1:bin:/bin:/usr/bin/nologin'? No
Jun 10 17:17:30 kw-cassandra pwck[9420]: duplicate password entry
Jun 10 17:17:30 kw-cassandra pwck[9420]: delete line
'bin:x:1:1:bin:/bin:/usr/bin/nologin'? No
Jun 10 17:17:30 kw-cassandra pwck[9420]: pwck: no changes
--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
More information about the arch-general
mailing list