You are not logged in.

#1 2015-08-11 15:18:28

Phalkon
Member
Registered: 2014-10-19
Posts: 117

[solved] shadow.service failed to load

Hi,

from the logs it appears, that this problem started at Jun 05 00:00:06, but I haven't noticed it because apart from the fail messages in logs, it has no apparent consequences.

Here are relevant terminal outputs.

sudo 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 Tue 2015-08-11 16:52:58 CEST; 10min ago
  Process: 15675 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
 Main PID: 15675 (code=exited, status=2)

Aug 11 16:52:58 HAL9000 systemd[1]: Starting Verify integrity of password and group files...
Aug 11 16:52:58 HAL9000 pwck[15675]: user 'lightdm': directory '/var/lib/lightdm' does not exist
Aug 11 16:52:58 HAL9000 pwck[15675]: pwck: no changes
Aug 11 16:52:58 HAL9000 systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Aug 11 16:52:58 HAL9000 systemd[1]: Failed to start Verify integrity of password and group files.
Aug 11 16:52:58 HAL9000 systemd[1]: shadow.service: Unit entered failed state.
Aug 11 16:52:58 HAL9000 systemd[1]: shadow.service: Failed with result 'exit-code'.
sudo cat /etc/shadow

root:$6$LIeU/rnz$GXe/5RZsBr8eumu7jpT8c/Kw9bC9QQks.7v5yYIWsVuyKU5g0n7HKp3uUSuehqMz99IJgtLpwaGk1ay1rBr4T.:16346::::::
bin:x:14871::::::
daemon:x:14871::::::
mail:x:14871::::::
ftp:x:14871::::::
http:x:14871::::::
uuidd:x:14871::::::
dbus:x:14871::::::
nobody:x:14871::::::
systemd-journal-gateway:x:14871::::::
systemd-timesync:x:14871::::::
systemd-network:x:14871::::::
systemd-bus-proxy:x:14871::::::
systemd-resolve:x:14871::::::
systemd-journal-remote:!!:16346::::::
systemd-journal-upload:!!:16346::::::
avahi:!:16346::::::
polkitd:!:16346:0:99999:7:::
colord:!:16346:0:99999:7:::
phalkon:$6$ThjYvMaX$CcNutfjg2RjuG8xBu7t6fXL6G.cMOuz956L1UE/Y4H/qOfCAQ0e8ICrqeQudrPFNoRNog68uJD6BAQuLoFBkz/:16346:0:99999:7:::
nvidia-persistenced:!:16348:0:99999:7:::
deluge:!:16350:0:99999:7:::
clamav:!:16357::::::
tor:!:16370:0:99999:7:::
mysql:!:16459:0:99999:7:::
rtkit:!:16510:0:99999:7:::
git:!:16510::::::
lightdm:!:16590:0:99999:7:::
sudo cat /etc/shadow-

root:$6$LIeU/rnz$GXe/5RZsBr8eumu7jpT8c/Kw9bC9QQks.7v5yYIWsVuyKU5g0n7HKp3uUSuehqMz99IJgtLpwaGk1ay1rBr4T.:16346::::::
bin:x:14871::::::
daemon:x:14871::::::
mail:x:14871::::::
ftp:x:14871::::::
http:x:14871::::::
uuidd:x:14871::::::
dbus:x:14871::::::
nobody:x:14871::::::
systemd-journal-gateway:x:14871::::::
systemd-timesync:x:14871::::::
systemd-network:x:14871::::::
systemd-bus-proxy:x:14871::::::
systemd-resolve:x:14871::::::
systemd-journal-remote:!!:16346::::::
systemd-journal-upload:!!:16346::::::
avahi:!:16346::::::
polkitd:!:16346:0:99999:7:::
colord:!:16346:0:99999:7:::
phalkon:$6$ThjYvMaX$CcNutfjg2RjuG8xBu7t6fXL6G.cMOuz956L1UE/Y4H/qOfCAQ0e8ICrqeQudrPFNoRNog68uJD6BAQuLoFBkz/:16346:0:99999:7:::
nvidia-persistenced:!:16348:0:99999:7:::
deluge:!:16350:0:99999:7:::
clamav:!:16357::::::
tor:!:16370:0:99999:7:::
mysql:!:16459:0:99999:7:::
rtkit:!:16510:0:99999:7:::
git:!:16510::::::
lightdm:!:16590:0:99999:7:::

I really have no idea what this error means nor how to fix it.
Thanks for any help.

Last edited by Phalkon (2015-08-11 15:39:30)


Why Linux? Because it doesn't hide anything from you. It puts you so closely in control of your machine that you can feel its heartbeat.

Offline

#2 2015-08-11 15:20:07

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

Re: [solved] shadow.service failed to load

Offline

#3 2015-08-11 15:24:25

ayekat
Member
Registered: 2011-01-17
Posts: 1,591

Re: [solved] shadow.service failed to load

I'll make a wild guess and say that the user `lightdm` has `/var/lib/lightdm` as its home directory, but that directory does not exist.

What is the content of /etc/passwd?
Also, how was lightdm installed?

[EDIT]
Ah, too late.

Last edited by ayekat (2015-08-11 15:24:54)


pkgshackscfgblag

Offline

#4 2015-08-11 15:39:06

Phalkon
Member
Registered: 2014-10-19
Posts: 117

Re: [solved] shadow.service failed to load

ayekat wrote:

I'll make a wild guess and say that the user `lightdm` has `/var/lib/lightdm` as its home directory, but that directory does not exist.

What is the content of /etc/passwd?
Also, how was lightdm installed?

[EDIT]
Ah, too late.

Thanks. I removed the lightdm user and that solved the problem.

Last edited by Phalkon (2015-08-11 15:42:04)


Why Linux? Because it doesn't hide anything from you. It puts you so closely in control of your machine that you can feel its heartbeat.

Offline

Board footer

Powered by FluxBB