Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 769008

Summary: x11-misc/lightdm-1.30.0-r2 with systemd wrong AccountsService name
Product: Gentoo Linux Reporter: Ulenrich <ulenrich>
Component: Current packagesAssignee: Marek Szuba (RETIRED) <marecki>
Status: RESOLVED WORKSFORME    
Severity: normal CC: anrock623, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ulenrich 2021-02-06 16:53:27 UTC
I ever got the Error line
--- journalctl:
Feb 06 14:19:13 maci lightdm[83628]: Error updating user /org/freedesktop/Accounts/User1001: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.DisplayManager.AccountsService”
--- /journalctl

Until (my workaround)
I have done a new symlink:
--- vdir:
lrwxrwxrwx 1 root root 43  6. Feb 14:48 /etc/systemd/system/dbus-org.freedesktop.DisplayManager.AccountsService.service -> /lib/systemd/system/accounts-daemon.service
--- /vdir

Due to BusName in
--- /lib/systemd/system/accounts-daemon.service
[Service]
Type=dbus
BusName=org.freedesktop.Accounts
---- 
there is a symlink already
--- vdir:
lrwxrwxrwx 1 root root 43  6. Feb 14:36 /etc/systemd/system/dbus-org.freedesktop.Accounts.service -> /lib/systemd/system/accounts-daemon.service
--- /vdir

My workaround makes the difference by introducing a new name, both links point to the same service:
/etc/systemd/system/dbus-org.freedesktop.Accounts.service
/etc/systemd/system/dbus-org.freedesktop.DisplayManager.AccountsService.service

I think this could be better configured by Gentoo, although this name confusion about the Accounts dbus may be an upstream thing somewhere to blame. 
I am unsure which ebuild: systemd / lightdm / dbus
Comment 1 Marek Szuba (RETIRED) archtester gentoo-dev 2022-09-27 12:01:24 UTC
Does this still happen on your system? I cannot reproduce this on any of mine, and if I understand D-Bus configs correctly org.freedesktop.DisplayManager.AccountsService is a lightdm-provided org.freedesktop.Accounts extension so it makes sense that it does not.