You are not logged in.

#1 2016-07-13 16:29:25

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

[SOLVED] Error shadow.service - Verify integrity...

Yesterday this started to occur. After trying out Deepin desktop enviroment and Deluge.

I did remove the deluge and deepin with sudo pacman -Rns so it should not have left any trace.

Output of systemctl status shadow.service


$ 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 2016-07-13 18:20:17 CEST; 4min 44s ago
  Process: 372 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
 Main PID: 372 (code=exited, status=2)

Jul 13 18:20:17 arch systemd[1]: Starting Verify integrity of password and group files...
Jul 13 18:20:17 arch pwck[372]: user 'gdm': directory '/var/lib/gdm' does not exist
Jul 13 18:20:17 arch pwck[372]: user 'deluge': directory '/srv/deluge' does not exist
Jul 13 18:20:17 arch pwck[372]: user 'mysql': directory '/var/lib/mysql' does not exist
Jul 13 18:20:17 arch pwck[372]: pwck: no changes
Jul 13 18:20:17 arch systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 13 18:20:17 arch systemd[1]: Failed to start Verify integrity of password and group files.
Jul 13 18:20:17 arch systemd[1]: shadow.service: Unit entered failed state.
Jul 13 18:20:17 arch systemd[1]: shadow.service: Failed with result 'exit-code'.

Ive tried to

#grpck
#pwck

with no success.

Am i missing something here?

I am using Xfce as my only DE, with lightdm as loginmgr.

Output of users and groups

$ groups
wheel storage power users vboxusers
$ users
tim

Last edited by dockland (2016-07-13 17:06:57)


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#2 2016-07-13 16:37:41

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Error shadow.service - Verify integrity...

Cleaning up user & group files is still a manual process AFAIK.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2016-07-13 16:57:30

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [SOLVED] Error shadow.service - Verify integrity...

alphaniner wrote:

Cleaning up user & group files is still a manual process AFAIK.

Yes, but the log states that shadow.service is calling directories and users that simply doesn't exist anymore.


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#4 2016-07-13 17:01:39

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,407
Website

Re: [SOLVED] Error shadow.service - Verify integrity...

This typically happens when you remove packages that created a user on the system. Fix /etc/passwd manually using vipw, then rerun grpck/pwck.

https://lists.archlinux.org/pipermail/a … 26953.html


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#5 2016-07-13 17:06:18

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [SOLVED] Error shadow.service - Verify integrity...

Alad wrote:

This typically happens when you remove packages that created a user on the system. Fix /etc/passwd manually using vipw, then rerun grpck/pwck.

https://lists.archlinux.org/pipermail/a … 26953.html

Yes, great. Thanks.

Solved it by using

sudo vipw
sudo vigr

E: removed the entries from deluge, mariadb and gdm, saved and quit (:wq) and then...

...rebooted. Problem solved smile

Last edited by dockland (2016-07-13 17:11:01)


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#6 2016-07-13 17:15:27

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [SOLVED] Error shadow.service - Verify integrity...

Alad wrote:

This typically happens when you remove packages that created a user on the system. Fix /etc/passwd manually using vipw, then rerun grpck/pwck.

https://lists.archlinux.org/pipermail/a … 26953.html

Well, at least I thought so, but:

# grpck
invalid group file entry
delete line ''? ^C
# pwck
invalid password file entry
delete line ''? 

I removed the entries and saved doing a :wq

Did i miss something?

E: I certainly did. I forgot to remove blank lines with :g/^$/d

NOW its up and all fine smile

Last edited by dockland (2016-07-13 17:18:46)


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

Board footer

Powered by FluxBB