You are not logged in.

#1 2015-05-27 07:06:34

hackintosh1984pl
Member
Registered: 2014-09-26
Posts: 4

[solved] shadow.service load fail Verify integrity password&group file

My system Arch with KDE 5 boot OK but in log I have: "shadow.service loaded failed failed Verify integrity of password and group files"


I make upgrade KDE 4 to next 5. I now not have installed package kdebase-workspace with KDM.

KDE start with edit boot file ~/.xinitrc - in Pantheon desktop environment https://wiki.archlinux.org/index.php/Pantheon

#!/bin/sh

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

gsettings-data-convert &
xdg-user-dirs-gtk-update &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
/usr/lib/gnome-settings-daemon/gnome-settings-daemon &
/usr/lib/gnome-user-share/gnome-user-share &
eval $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK
########## exec dbus-launch gala &
#  exec cerbere
# start kde 5
 exec startkde
[root@arch-linux ~]# 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 śro 2015-05-27 07:55:12 CEST; 4min 41s ago
  Process: 285 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
 Main PID: 285 (code=exited, status=2)

maj 27 07:55:11 arch-linux systemd[1]: Starting Verify integrity of password and group files...
maj 27 07:55:12 arch-linux pwck[285]: user 'kdm': directory '/var/lib/kdm' does not exist
maj 27 07:55:12 arch-linux pwck[285]: pwck: bez zmian
maj 27 07:55:12 arch-linux systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
maj 27 07:55:12 arch-linux systemd[1]: Failed to start Verify integrity of password and group files.
maj 27 07:55:12 arch-linux systemd[1]: Unit shadow.service entered failed state.
maj 27 07:55:12 arch-linux systemd[1]: shadow.service failed.
[root@arch-linux ~]# 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. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Last edited by hackintosh1984pl (2015-05-27 19:18:57)

Offline

#2 2015-05-27 07:30:11

hackintosh1984pl
Member
Registered: 2014-09-26
Posts: 4

Re: [solved] shadow.service load fail Verify integrity password&group file

I help me this information https://bbs.archlinux.org/viewtopic.php?id=193624

Remove line with "kdm" in file:  /etc/passwd and reboot and OK is now:

[root@arch-linux ~]# systemctl --failed

0 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

I make also backup:  cp  /etc/passwd /etc/passwd.backup

Offline

#3 2015-05-27 11:36:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] shadow.service load fail Verify integrity password&group file

If it's fixed, please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309


Next time, please run

LC_ALL=C <command>

to get the output in English.

Offline

Board footer

Powered by FluxBB