You are not logged in.
Hello, I have recently installed arch linux on my laptop. It has been great except for a little annoying error which crops up in the black screen after grub.
It says that the shadow service was not started due to some error. when i went into the DE and did :
sudo systemctl status shadow.serviceI got the following output
shadow.service - Verify integrity of password and group files
Loaded: loaded (/usr/lib/systemd/system/shadow.service; static)
Active: failed (Result: exit-code) since Wed 2014-06-11 06:10:24 IST; 11min ago
Process: 207 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 207 (code=exited, status=2)
Jun 11 06:10:24 sentinel pwck[207]: add user 'systemd-journal-gateway' in /etc/shadow? No
Jun 11 06:10:24 sentinel pwck[207]: no matching password file entry in /etc/shadow
Jun 11 06:10:24 sentinel pwck[207]: add user 'systemd-timesync' in /etc/shadow? No
Jun 11 06:10:24 sentinel pwck[207]: no matching password file entry in /etc/shadow
Jun 11 06:10:24 sentinel pwck[207]: add user 'systemd-network' in /etc/shadow? No
Jun 11 06:10:24 sentinel pwck[207]: user 'mysql': directory '/home/mysql' does not exist
Jun 11 06:10:24 sentinel pwck[207]: pwck: no changes
Jun 11 06:10:24 sentinel systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Jun 11 06:10:24 sentinel systemd[1]: Failed to start Verify integrity of password and group files.
Jun 11 06:10:24 sentinel systemd[1]: Unit shadow.service entered failed state.can anyone tell me what the problem is or more like how to resolve this ?
Offline
See the man page for pwck. It is what makes sure that /etc/passwd and /etc/shadow aren't borked. I would have to guess that you merged these files as pacnews and didn't really look things over (or you just overwrote the old with the new).
Offline
Thank you WonderWoofy. I had the exact same problem. Comes from the last systemd update and the new “systemd-journal-gateway” and “systemd-timesync” entries.
Runnning pwck to add theses two users to “/etc/shadow” fixed the problem.
« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock
Offline
Thank you fixed the problem by running:
sudo pwck
sudo grpckand entering yes to all the given options.
Thank you again Wonderwoofy and Cthulhu82.
Offline