accountsservice 0.6.55 problem

From: Dr. Rolf Jansen <freebsd-rj_at_obsigna.com>
Date: Sun, 25 Jul 2021 22:32:30 UTC
> Am 20.06.2022 um 7:54 schrieb Berislav Purgar <bpurgar@gmail.com>:
> 
> Hi
> 
> if anyone else has a problem after updating from 0.6.42 to 0.6.55 that in gdm login screen users(icons) are missing and only manual login is possible (entering user and password) ??

I just updated two of my GNOME installations (FreeBSD 13.0-RELEASE-p3 [x86-64]), and I see the same problem with both.

When I call the accounts-daemon manually with the --debug flag, I see a hash-table error, which perhaps prevents proper operation:

   /usr/local/libexec/accounts-daemon --replace --debug

   (accounts-daemon:855): DEBUG: entering main loop
   (accounts-daemon:855): DEBUG: Changing permission of
      /var/db/AccountsService/users/gdm to 0600
   (accounts-daemon:855): DEBUG: Changing permission of
      /var/db/AccountsService/users/rolf to 0600
   (accounts-daemon:855): DEBUG: skipping user: root
   ...
   (accounts-daemon:855): DEBUG: skipping user: git_daemon
   (accounts-daemon:855): DEBUG: loaded user: rolf

   (accounts-daemon:855): GLib-CRITICAL **: 18:30:42.278: g_hash_table_unref:
      assertion 'hash_table != NULL' failed
   (accounts-daemon:855): DEBUG: skipping user: gdm
   (accounts-daemon:855): DEBUG: automatic login is disabled

Switching back to accountsservice 0.6.42 resolved the issue.

   mkdir -p ~/install/ports/sysutils
   cd ~/install/ports/sysutils
   svn checkout -r r517057 http://svn.freebsd.org/ports/head/sysutils/accountsservice accountsservice
   cd accountsservice
   make DISABLE_VULNERABILITIES=yes
   sudo make reinstall clean

Best regards

Rolf