hey everyone. i ran systemctl --failed
today to check if there was something going on with my system, since a few days ago i ran into a problem where SDDM locked me out of my system even though i was 100% certain i typed the correct password. this is the output:
UNIT LOAD ACTIVE SUB DESCRIPTION
● shadow.service loaded failed failed Verify integrity of password and group files
● systemd-backlight@backlight:acpi_video0.service loaded failed failed Load/Save Screen Backlight Brightness of backlight:acpi_video0
● systemd-backlight@backlight:acpi_video1.service loaded failed failed Load/Save Screen Backlight Brightness of backlight:acpi_video1
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
3 loaded units listed.
i’m mostly concerned about this shadow.service fail since it could be the issue, and if it isn’t it’s worth resolving it. this is the result 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)
Active: failed (Result: exit-code) since Sat 2021-06-19 10:55:17 -04; 13min ago
TriggeredBy: ● shadow.timer
Main PID: 369 (code=exited, status=2)
CPU: 38ms
jun 19 10:55:17 suisei sh[380]: ¿desea añadir el grupo «audio» en /etc/gshadow?No
jun 19 10:55:17 suisei sh[380]: no hay entradas coincidentes en el fichero de grupos en «/etc/gshadow»
jun 19 10:55:17 suisei sh[380]: ¿desea añadir el grupo «users» en /etc/gshadow?No
jun 19 10:55:17 suisei sh[380]: no hay entradas coincidentes en el fichero de grupos en «/etc/gshadow»
jun 19 10:55:17 suisei sh[380]: ¿desea añadir el grupo «nopasswdlogin» en /etc/gshadow?No
jun 19 10:55:17 suisei sh[380]: no hay entradas coincidentes en el fichero de grupos en «/etc/gshadow»
jun 19 10:55:17 suisei sh[380]: ¿desea añadir el grupo «autologin» en /etc/gshadow?No
jun 19 10:55:17 suisei sh[380]: grpck: sin cambios
jun 19 10:55:17 suisei systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
jun 19 10:55:17 suisei systemd[1]: shadow.service: Failed with result 'exit-code'.
i tried running grpck
since it was suggested in some arch forum threads and it seemed to fix the issue upon rebooting, but coming back to it a day later the issue is here again.
~ > pacman -Qkk shadow; pacman -Qi shadow
advertencia: shadow: /etc/default/useradd (no se pudo calcular la suma de verificación de MD5)
advertencia: shadow: /etc/default/useradd (no se pudo calcular la suma de verificación de SHA256)
advertencia: shadow: /usr/bin/newgidmap (los permisos no concuerdan)
advertencia: shadow: /usr/bin/newuidmap (los permisos no concuerdan)
shadow: 558 archivos totales, 3 archivos alterados
reinstalling the grpck
package and manually restarting the shadow service didn’t help, since it spits the same error in systemctl --failed
. i haven’t fiddled around with permissions in my home folder, or anywhere for that matter. i’d really appreciate some help here, thanks for reading.