I also have the same issue; Gnome doesn’t ask to enter a password after sleep/suspend.
And the lock option has also disappeared from the menu list!
It has been having this issue for a month now, so I can’t do a snapshot roll-back.
And I don’t think it is something to do with GDM; screen locking is separate from system login AFAIK.
From my garuda-inxi
:
Garuda (2.6.9-1):
System install date: 2022-10-24
Last full system update: 2022-10-28 ↻
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: No/Undetected
Snapshots: Snapper
Failed units: shadow.service systemd-networkd-wait-online.service
I find the same shadow problem as the OP!
My shadow is not working
I think this is the issue.
Cause I didn’t have this issue when I had freshly installed Garuda around 20 August.
❯ systemctl status shadow
× 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 2022-10-29 08:21:09 IST; 2s ago
Duration: 5ms
TriggeredBy: ● shadow.timer
Process: 146898 ExecStart=/bin/sh -c /usr/bin/pwck -r || r=1; /usr/bin/grpck -r && exit $r (code=exited, status=1>
Main PID: 146898 (code=exited, status=1/FAILURE)
CPU: 6ms
Oct 29 08:21:09 austin-swiftsf31443 systemd[1]: Started Verify integrity of password and group files.
Oct 29 08:21:09 austin-swiftsf31443 sh[146902]: user 'ntp': directory '/var/lib/ntp' does not exist
Oct 29 08:21:09 austin-swiftsf31443 sh[146902]: pwck: no changes
Oct 29 08:21:09 austin-swiftsf31443 systemd[1]: shadow.service: Main process exited, code=exited, status=1/FAILURE
Oct 29 08:21:09 austin-swiftsf31443 systemd[1]: shadow.service: Failed with result 'exit-code'.
I then installed ntp
,
❯ sudo pacman -Si ntp
[sudo] password for austin:
Repository : cachyos-v3
Name : ntp
Version : 4.2.8.p15-1.1
Description : Network Time Protocol reference implementation
Architecture : x86_64
URL : http://www.ntp.org/
and after restarting my shadow , the error seems to have gone!
After a restart,
Garuda (2.6.9-1):
System install date: 2022-10-24
Last full system update: 2022-10-29
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: No/Undetected
Snapshots: Snapper
Failed units: systemd-networkd-wait-online.service
Installing ntp
seems to have fixed the shadow issue (maybe something to take note of)
But the issue still persists.
So my shadow wasn’t the culprit after all .