Accountsservice reports: Could not get current seat: No data available
When running on accountsservice 0.6.54 on a Fedora 29 system, I get this message whenever a gdm login event occurs:
gdm-launch-environment][2372]: accountsservice: Could not get current seat: No data available
gdm-password][11087]: accountsservice: Could not get current seat: No data available
This seems to be caused by the various systemd logind calls to sd_get_() returning ENODATA when an item (seat, session) is not found, whereas it used to return ENOENT.
The attached patch fixes the issue by checking against both error codes. accountsservice-0.6.54-systemd-ENODATA.patch