You are not logged in.
Pages: 1
Every boot, shadow.service fails with
Failed to start Verify integrity of password and group files.
The shadow.service unit file runs `pwck` and `grpck`, which appears to be programs for testing `/etc/passwd` and `/etc/groups` respectively. Running the two commands I get:
~ $ sudo pwck -r
user 'guest': directory '/home/guest' does not exist
user 'noprivs': directory '/home/noprivs' does not exist
duplicate shadow password entry
delete line 'systemd-journal-gateway:x:14871::::::'? No
duplicate shadow password entry
delete line 'systemd-timesync:x:14871::::::'? No
duplicate shadow password entry
delete line 'systemd-network:x:14871::::::'? No
duplicate shadow password entry
delete line 'systemd-bus-proxy:x:14871::::::'? No
duplicate shadow password entry
delete line 'systemd-resolve:x:14871::::::'? No
duplicate shadow password entry
delete line 'systemd-journal-gateway:!:16229:0:99999:7:::'? No
duplicate shadow password entry
delete line 'systemd-timesync:!:16229:0:99999:7:::'? No
duplicate shadow password entry
delete line 'systemd-network:!:16236:0:99999:7:::'? No
duplicate shadow password entry
delete line 'systemd-bus-proxy:!:16250:0:99999:7:::'? No
duplicate shadow password entry
delete line 'systemd-resolve:!:16250:0:99999:7:::'? No
pwck: no changes
~ $ sudo grpck -r
duplicate group entry
delete line 'proc:x:26:'? No
duplicate group entry
delete line 'input:x:97:'? No
duplicate group entry
delete line 'input:x:97:'? No
duplicate group entry
delete line 'proc:x:26:'? No
duplicate shadow group entry
delete line 'proc:::'? No
duplicate shadow group entry
delete line 'input:x::'? No
duplicate shadow group entry
delete line 'input:!::'? No
duplicate shadow group entry
delete line 'proc:!::'? No
grpck: no changes
In the past, when dealing with shadow.pacnew and groups.pacnew files, I would just merge the original with the .pacnew by adding anything new from the .pacnew to the original, I wouldn't delete any entries. But now I see that pwck and grpck are telling my to delete these lines.
Is it safe to delete these lines. Should I even bother are these errors just superfluous.
Offline
I stumbled upon a similar issue (I have duplicate entries only in the groups file). I guess this is due to the fact that I also usually try to merge .pacnew and original file without deleting lines...
Last edited by kaptoxic (2015-04-30 04:14:14)
Offline
Pages: 1