You are not logged in.
Yesterday this started to occur. After trying out Deepin desktop enviroment and Deluge.
I did remove the deluge and deepin with sudo pacman -Rns so it should not have left any trace.
Output of systemctl status shadow.service
$ 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 Wed 2016-07-13 18:20:17 CEST; 4min 44s ago
Process: 372 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 372 (code=exited, status=2)
Jul 13 18:20:17 arch systemd[1]: Starting Verify integrity of password and group files...
Jul 13 18:20:17 arch pwck[372]: user 'gdm': directory '/var/lib/gdm' does not exist
Jul 13 18:20:17 arch pwck[372]: user 'deluge': directory '/srv/deluge' does not exist
Jul 13 18:20:17 arch pwck[372]: user 'mysql': directory '/var/lib/mysql' does not exist
Jul 13 18:20:17 arch pwck[372]: pwck: no changes
Jul 13 18:20:17 arch systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 13 18:20:17 arch systemd[1]: Failed to start Verify integrity of password and group files.
Jul 13 18:20:17 arch systemd[1]: shadow.service: Unit entered failed state.
Jul 13 18:20:17 arch systemd[1]: shadow.service: Failed with result 'exit-code'.
Ive tried to
#grpck
#pwck
with no success.
Am i missing something here?
I am using Xfce as my only DE, with lightdm as loginmgr.
Output of users and groups
$ groups
wheel storage power users vboxusers
$ users
tim
Last edited by dockland (2016-07-13 17:06:57)
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
Cleaning up user & group files is still a manual process AFAIK.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Cleaning up user & group files is still a manual process AFAIK.
Yes, but the log states that shadow.service is calling directories and users that simply doesn't exist anymore.
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
This typically happens when you remove packages that created a user on the system. Fix /etc/passwd manually using vipw, then rerun grpck/pwck.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
This typically happens when you remove packages that created a user on the system. Fix /etc/passwd manually using vipw, then rerun grpck/pwck.
Yes, great. Thanks.
Solved it by using
sudo vipw
sudo vigr
E: removed the entries from deluge, mariadb and gdm, saved and quit (:wq) and then...
...rebooted. Problem solved
Last edited by dockland (2016-07-13 17:11:01)
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
This typically happens when you remove packages that created a user on the system. Fix /etc/passwd manually using vipw, then rerun grpck/pwck.
Well, at least I thought so, but:
# grpck
invalid group file entry
delete line ''? ^C
# pwck
invalid password file entry
delete line ''?
I removed the entries and saved doing a :wq
Did i miss something?
E: I certainly did. I forgot to remove blank lines with :g/^$/d
NOW its up and all fine
Last edited by dockland (2016-07-13 17:18:46)
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline