gdm_server_ready() is never run since gdm-x-session was added
This commit between 3.28.2 and 3.28.3 https://github.com/GNOME/gdm/commit/702d7b16af99db9f5c47553984f0e4a046b64f76 unblocked SIGUSR1 before PAM. But looks like SIGUSR1 is not used by GDM anyway since gdm-x-session was added in 3.15.90. I mean static void gdm_server_ready (GdmServer *server) {...} from daemon/gdm-server.c is not triggered anymore by SIGUSR1. And GDM's Init script is ignored.
Quick way to reproduce:
- Edit /etc/gdm/Init/Default (or /etc/gdm3/Init/Default in Ubuntu)
- Add something like echo "Init">/var/log/gdm-init.log
- Create empty /var/log/gdm-init.log with 666 permissions
- Restart GDM and see no "Init" line in /var/log/gdm-init.log