You are not logged in.

#1 2015-03-24 18:34:49

VenomGameworld
Member
Registered: 2009-07-12
Posts: 40

shadow.service fails after LightDM uninstall

Hi,

Since I've uninstalled Light-locker (and LightDM as a dependency) I receive the following error:

● 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 di 2015-03-24 19:43:48 CET; 45min ago
  Process: 315 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
 Main PID: 315 (code=exited, status=2)

mrt 24 19:43:47 zeus pwck[315]: user 'lightdm': directory '/var/lib/lightdm' does not exist
mrt 24 19:43:48 zeus pwck[315]: pwck: no changes
mrt 24 19:43:48 zeus systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
mrt 24 19:43:48 zeus systemd[1]: Failed to start Verify integrity of password and group files.
mrt 24 19:43:48 zeus systemd[1]: Unit shadow.service entered failed state.
mrt 24 19:43:48 zeus systemd[1]: shadow.service failed.

Can anyone help me fix this?

Thanks in advance!

Last edited by VenomGameworld (2015-03-24 18:35:15)

Offline

#2 2015-03-24 18:40:46

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

Re: shadow.service fails after LightDM uninstall

What have you tried to fix it? Have you run pwck or removed lightdm user etc. manually?

Offline

#3 2015-03-24 19:03:46

VenomGameworld
Member
Registered: 2009-07-12
Posts: 40

Re: shadow.service fails after LightDM uninstall

Sorry, forgot to mention that. Running pwck shows the same message, but doesn't fix anything. I removed the package through pacman, but didn't touch the user.

Offline

#4 2015-03-24 20:08:19

snakeroot
Member
Registered: 2012-10-06
Posts: 177

Re: shadow.service fails after LightDM uninstall

Why don't you just use userdel to get rid of the lightdm user? If you're not running lightdm, then you don't need the user. You can check to make sure there won't be any orphans with sudo find / -user lightdm.

Offline

#5 2015-03-24 20:16:50

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

Re: shadow.service fails after LightDM uninstall

snakeroot wrote:

Why don't you just use userdel to get rid of the lightdm user? If you're not running lightdm, then you don't need the user. You can check to make sure there won't be any orphans with sudo find / -user lightdm.

Yup. Remove the user, run pwck to see if it's OK now.

Offline

#6 2015-03-24 20:22:39

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: shadow.service fails after LightDM uninstall

It's interesting the package creates the user on install, but doesn't remove it on uninstallation. I wonder if this is intended by the maintainer.

Offline

#7 2015-03-24 20:37:19

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

Re: shadow.service fails after LightDM uninstall

Spider.007 wrote:

It's interesting the package creates the user on install, but doesn't remove it on uninstallation. I wonder if this is intended by the maintainer.

https://projects.archlinux.org/svntogit … de9766105a is the change that removed user and group deletion.

Offline

Board footer

Powered by FluxBB