From unknown Sat Aug 09 15:16:30 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41207 <41207@debbugs.gnu.org> To: bug#41207 <41207@debbugs.gnu.org> Subject: Status: accountsservice daemon lacks dbus interfaces Reply-To: bug#41207 <41207@debbugs.gnu.org> Date: Sat, 09 Aug 2025 22:16:30 +0000 retitle 41207 accountsservice daemon lacks dbus interfaces reassign 41207 guix submitter 41207 L p R n d n severity 41207 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 08:04:33 2020 Received: (at submit) by debbugs.gnu.org; 12 May 2020 12:04:33 +0000 Received: from localhost ([127.0.0.1]:54451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYTeD-0003hk-94 for submit@debbugs.gnu.org; Tue, 12 May 2020 08:04:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:58836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYTeB-0003hd-A2 for submit@debbugs.gnu.org; Tue, 12 May 2020 08:04:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYTeB-00037b-3U for bug-guix@gnu.org; Tue, 12 May 2020 08:04:31 -0400 Received: from mout01.posteo.de ([185.67.36.141]:58983) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYTe9-0007lW-EF for bug-guix@gnu.org; Tue, 12 May 2020 08:04:30 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 6C27F160065 for ; Tue, 12 May 2020 14:04:22 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49LxLF53Drz6tmW for ; Tue, 12 May 2020 14:04:21 +0200 (CEST) From: L p R n d n To: bug-guix@gnu.org Subject: accountsservice daemon lacks dbus interfaces Date: Tue, 12 May 2020 14:04:20 +0200 Message-ID: <87y2pxwe9n.fsf@lprndn.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: neutral client-ip=185.67.36.141; envelope-from=guix@lprndn.info; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 08:04:22 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --=-=-= Content-Type: text/plain Hello, The accountsservice service hasn't access to dbus' interfaces throwing an error when they're needed.The problem, at least, appears with LightDM. The error looks like: WARNING: Error updating user /org/freedesktop/Accounts/User1000: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface "org.freedesktop.DisplayManager.AccountsService" For information, it already occured[0] and was resolved[1][2] in NixOS. After testing, simply wrapping the accountsservice package with relevant XDG_DATA_DIRS directories as done in the attached patch resolves the issue. However, there might be a proper solution I'm not aware of. Also the patch used in [2] doesn't seem to be needed in Guix. Have a nice day, L p R n d n [0]: https://github.com/NixOS/nixpkgs/issues/45059 [1]: https://github.com/NixOS/nixpkgs/pull/45107 [2]: https://github.com/NixOS/nixpkgs/pull/72400 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-accountsservice-Wrap-program.patch >From b9c379d068266c9fdc506f60ff05de3b39346999 Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Tue, 12 May 2020 13:28:47 +0200 Subject: [PATCH] gnu: accountsservice: Wrap program. * gnu/packages/freedesktop.scm (accountsservice): Add a wrap-program phase setting XDG_DATA_DIRS to provide dbus interfaces. --- gnu/packages/freedesktop.scm | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index b59d09d15f..01969e03a1 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -1020,19 +1020,25 @@ message bus.") (("/bin/cat") (which "cat"))) #t)) (add-before - 'configure 'pre-configure - (lambda* (#:key inputs #:allow-other-keys) - ;; Don't try to create /var/lib/AccountsService. - (substitute* "src/Makefile.in" - (("\\$\\(MKDIR_P\\).*/lib/AccountsService.*") "true")) - (let ((shadow (assoc-ref inputs "shadow"))) - (substitute* '("src/user.c" "src/daemon.c") - (("/usr/sbin/usermod") (string-append shadow "/sbin/usermod")) - (("/usr/sbin/useradd") (string-append shadow "/sbin/useradd")) - (("/usr/sbin/userdel") (string-append shadow "/sbin/userdel")) - (("/usr/bin/passwd") (string-append shadow "/bin/passwd")) - (("/usr/bin/chage") (string-append shadow "/bin/chage")))) - #t))))) + 'configure 'pre-configure + (lambda* (#:key inputs #:allow-other-keys) + ;; Don't try to create /var/lib/AccountsService. + (substitute* "src/Makefile.in" + (("\\$\\(MKDIR_P\\).*/lib/AccountsService.*") "true")) + (let ((shadow (assoc-ref inputs "shadow"))) + (substitute* '("src/user.c" "src/daemon.c") + (("/usr/sbin/usermod") (string-append shadow "/sbin/usermod")) + (("/usr/sbin/useradd") (string-append shadow "/sbin/useradd")) + (("/usr/sbin/userdel") (string-append shadow "/sbin/userdel")) + (("/usr/bin/passwd") (string-append shadow "/bin/passwd")) + (("/usr/bin/chage") (string-append shadow "/bin/chage")))) + #t)) + (add-after 'install 'wrap-program + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/libexec/accounts-daemon") + `("XDG_DATA_DIRS" ":" prefix ("/run/current-system/profile/share"))) + #t)))))) (native-inputs `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc. ("gobject-introspection" ,gobject-introspection) -- 2.26.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 31 18:01:27 2020 Received: (at 41207) by debbugs.gnu.org; 31 May 2020 22:01:27 +0000 Received: from localhost ([127.0.0.1]:34032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfW1H-0000nA-F5 for submit@debbugs.gnu.org; Sun, 31 May 2020 18:01:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfW1F-0000my-ES for 41207@debbugs.gnu.org; Sun, 31 May 2020 18:01:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33141) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfW19-0000gX-Ks; Sun, 31 May 2020 18:01:19 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50282 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jfW19-0007yi-8K; Sun, 31 May 2020 18:01:19 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: L p R n d n Subject: Re: bug#41207: accountsservice daemon lacks dbus interfaces References: <87y2pxwe9n.fsf@lprndn.info> Date: Mon, 01 Jun 2020 00:01:17 +0200 In-Reply-To: <87y2pxwe9n.fsf@lprndn.info> (L. p. R. n. d. n.'s message of "Tue, 12 May 2020 14:04:20 +0200") Message-ID: <87367frcgi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 41207 Cc: 41207@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hello, L p R n d n skribis: > The accountsservice service hasn't access to dbus' interfaces throwing > an error when they're needed.The problem, at least, appears with LightDM. > The error looks like: > > WARNING: Error updating user /org/freedesktop/Accounts/User1000: > GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface > "org.freedesktop.DisplayManager.AccountsService" Apparently this error message comes from lightdm, so the issue is that lightdm doesn=E2=80=99t find the =E2=80=98org.freedesktop.Accounts.service= =E2=80=99, right? How is lightdm started? I wonder if there=E2=80=99s something to be done i= n the service definition instead. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 02 10:46:51 2020 Received: (at 41207) by debbugs.gnu.org; 2 Jun 2020 14:46:51 +0000 Received: from localhost ([127.0.0.1]:40557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg8Bn-0007I1-1k for submit@debbugs.gnu.org; Tue, 02 Jun 2020 10:46:51 -0400 Received: from mout01.posteo.de ([185.67.36.141]:34949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jg8BZ-0007He-P5 for 41207@debbugs.gnu.org; Tue, 02 Jun 2020 10:46:50 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D1E9D160060 for <41207@debbugs.gnu.org>; Tue, 2 Jun 2020 16:46:31 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49bvxf70c3z6tmN; Tue, 2 Jun 2020 16:46:30 +0200 (CEST) From: L p R n d n To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#41207: accountsservice daemon lacks dbus interfaces References: <87y2pxwe9n.fsf@lprndn.info> <87367frcgi.fsf@gnu.org> Date: Tue, 02 Jun 2020 16:46:28 +0200 In-Reply-To: <87367frcgi.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 01 Jun 2020 00:01:17 +0200") Message-ID: <87wo4ppltn.fsf@lprndn.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 41207 Cc: 41207@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, Ludovic Court=C3=A8s writes: > Hello, > > L p R n d n skribis: > >> The accountsservice service hasn't access to dbus' interfaces throwing >> an error when they're needed.The problem, at least, appears with LightDM. >> The error looks like: >> >> WARNING: Error updating user /org/freedesktop/Accounts/User1000: >> GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface >> "org.freedesktop.DisplayManager.AccountsService" > > Apparently this error message comes from lightdm, so the issue is that > lightdm doesn=E2=80=99t find the =E2=80=98org.freedesktop.Accounts.servic= e=E2=80=99, right? Not exactly, my understanding is that *accountsservice* doesn't find 'org.freedesktop.Accounts.service' which is provided (and asked) by lightdm. (I think the error comes from accountsservice) > How is lightdm started? I wonder if there=E2=80=99s something to be done= in the > service definition instead. > > Thanks, > Ludo=E2=80=99. Have a nice day, L p R n d n From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 03 05:39:30 2020 Received: (at 41207) by debbugs.gnu.org; 3 Jun 2020 09:39:30 +0000 Received: from localhost ([127.0.0.1]:41999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgPrq-0001mZ-SL for submit@debbugs.gnu.org; Wed, 03 Jun 2020 05:39:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgPrp-0001mM-2o for 41207@debbugs.gnu.org; Wed, 03 Jun 2020 05:39:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38378) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgPrj-0000NE-Ao; Wed, 03 Jun 2020 05:39:19 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40708 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jgPri-0004XF-RI; Wed, 03 Jun 2020 05:39:19 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: L p R n d n Subject: Re: bug#41207: accountsservice daemon lacks dbus interfaces References: <87y2pxwe9n.fsf@lprndn.info> <87367frcgi.fsf@gnu.org> <87wo4ppltn.fsf@lprndn.info> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 Prairial an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 03 Jun 2020 11:39:17 +0200 In-Reply-To: <87wo4ppltn.fsf@lprndn.info> (L. p. R. n. d. n.'s message of "Tue, 02 Jun 2020 16:46:28 +0200") Message-ID: <87sgfcpjy2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41207 Cc: 41207@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, L p R n d n skribis: > Ludovic Court=C3=A8s writes: > >> Hello, >> >> L p R n d n skribis: >> >>> The accountsservice service hasn't access to dbus' interfaces throwing >>> an error when they're needed.The problem, at least, appears with LightD= M. >>> The error looks like: >>> >>> WARNING: Error updating user /org/freedesktop/Accounts/User1000: >>> GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface >>> "org.freedesktop.DisplayManager.AccountsService" >> >> Apparently this error message comes from lightdm, so the issue is that >> lightdm doesn=E2=80=99t find the =E2=80=98org.freedesktop.Accounts.servi= ce=E2=80=99, right? > > Not exactly, my understanding is that *accountsservice* doesn't find > 'org.freedesktop.Accounts.service' which is provided (and asked) by > lightdm. (I think the error comes from accountsservice) But see: --8<---------------cut here---------------start------------->8--- $ (cd /tmp; tar xf $(guix build -S lightdm)) $ grep -r "Error updating user" /tmp/lightdm-1.30.0/ /tmp/lightdm-1.30.0/common/user-list.c: g_warning ("Error updating u= ser %s: %s", priv->path, error->message); /tmp/lightdm-1.30.0/common/user-list.c: g_warning ("Error updating u= ser %s: %s", priv->path, error->message); $ (cd /tmp; tar xf $(guix build -S accountsservice)) $ find /tmp/accountsservice-0.6.50/ -name org.freedesktop\*.service.in /tmp/accountsservice-0.6.50/data/org.freedesktop.Accounts.service.in $ find $(guix build accountsservice) -name org.freedesktop\*.service /gnu/store/l9qyf0brhhq7mwcsyhjsh7k0d3ri3ay2-accountsservice-0.6.50/share/db= us-1/system-services/org.freedesktop.Accounts.service --8<---------------cut here---------------end--------------->8--- That=E2=80=99s why I think it=E2=80=99s lightdm (or dbus-daemon?) that fail= s to find the .service file. =E2=80=98accountsservice-service-type=E2=80=99 extends dbus, such that we h= ave /etc/dbus-1/system-services/org.freedesktop.Accounts.service. Do you see this as well? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 03 08:38:02 2020 Received: (at 41207) by debbugs.gnu.org; 3 Jun 2020 12:38:02 +0000 Received: from localhost ([127.0.0.1]:42383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgSeg-0002OZ-0X for submit@debbugs.gnu.org; Wed, 03 Jun 2020 08:38:02 -0400 Received: from mout01.posteo.de ([185.67.36.141]:55869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgSed-0002OE-RO for 41207@debbugs.gnu.org; Wed, 03 Jun 2020 08:38:00 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id AC21C160061 for <41207@debbugs.gnu.org>; Wed, 3 Jun 2020 14:37:53 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49cT2m6g7Bz6tmD; Wed, 3 Jun 2020 14:37:52 +0200 (CEST) From: L p R n d n To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#41207: accountsservice daemon lacks dbus interfaces References: <87y2pxwe9n.fsf@lprndn.info> <87367frcgi.fsf@gnu.org> <87wo4ppltn.fsf@lprndn.info> <87sgfcpjy2.fsf@gnu.org> Date: Wed, 03 Jun 2020 14:37:50 +0200 In-Reply-To: <87sgfcpjy2.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 03 Jun 2020 11:39:17 +0200") Message-ID: <87a71k5nq9.fsf@lprndn.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 41207 Cc: 41207@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, Ludovic Court=C3=A8s writes: >>> L p R n d n skribis: [...] >> Not exactly, my understanding is that *accountsservice* doesn't find >> 'org.freedesktop.Accounts.service' which is provided (and asked) by >> lightdm. (I think the error comes from accountsservice) > > But see: > > $ (cd /tmp; tar xf $(guix build -S lightdm)) > $ grep -r "Error updating user" /tmp/lightdm-1.30.0/ > /tmp/lightdm-1.30.0/common/user-list.c: g_warning ("Error updating= user %s: %s", priv->path, error->message); > /tmp/lightdm-1.30.0/common/user-list.c: g_warning ("Error updating= user %s: %s", priv->path, error->message); > $ (cd /tmp; tar xf $(guix build -S accountsservice)) > $ find /tmp/accountsservice-0.6.50/ -name org.freedesktop\*.service.in > /tmp/accountsservice-0.6.50/data/org.freedesktop.Accounts.service.in > $ find $(guix build accountsservice) -name org.freedesktop\*.service > /gnu/store/l9qyf0brhhq7mwcsyhjsh7k0d3ri3ay2-accountsservice-0.6.50/share/= dbus-1/system-services/org.freedesktop.Accounts.service > > That=E2=80=99s why I think it=E2=80=99s lightdm (or dbus-daemon?) that fa= ils to find the > .service file. > > =E2=80=98accountsservice-service-type=E2=80=99 extends dbus, such that we= have > /etc/dbus-1/system-services/org.freedesktop.Accounts.service. Do you > see this as well? You're right! ;) And probably a dbus-daemon problem from what I understand. But I really don't know what I'm talking about here... However, just to clarify, I think it's not that it's not finding dbus-1/system-services/org.freedesktop.Accounts.service but dbus-1/interfaces/org.freedesktop.Accounts(.Users?).xml. In that case, using #:env-variable for the dbus service might be a possibility. Really, I have quite a lot of files in /run/current-system/profile/share/dbus-1/interfaces but I don't know what a= re their purpose... :/ > Thanks, > Ludo=E2=80=99. Have a nice day, L p R n d n From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 11 06:27:29 2020 Received: (at 41207) by debbugs.gnu.org; 11 Jun 2020 10:27:29 +0000 Received: from localhost ([127.0.0.1]:36109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjKQj-0001P8-H7 for submit@debbugs.gnu.org; Thu, 11 Jun 2020 06:27:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjKQg-0001On-HB for 41207@debbugs.gnu.org; Thu, 11 Jun 2020 06:27:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59214) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjKQa-0002Dv-OW; Thu, 11 Jun 2020 06:27:20 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=57526 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jjKQZ-0003G2-LK; Thu, 11 Jun 2020 06:27:20 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: L p R n d n Subject: Re: bug#41207: accountsservice daemon lacks dbus interfaces References: <87y2pxwe9n.fsf@lprndn.info> <87367frcgi.fsf@gnu.org> <87wo4ppltn.fsf@lprndn.info> <87sgfcpjy2.fsf@gnu.org> <87a71k5nq9.fsf@lprndn.info> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Prairial an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 11 Jun 2020 12:27:17 +0200 In-Reply-To: <87a71k5nq9.fsf@lprndn.info> (L. p. R. n. d. n.'s message of "Wed, 03 Jun 2020 14:37:50 +0200") Message-ID: <87o8ppc2yi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41207 Cc: 41207@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, L p R n d n skribis: > Ludovic Court=C3=A8s writes: > >>>> L p R n d n skribis: > [...] >>> Not exactly, my understanding is that *accountsservice* doesn't find >>> 'org.freedesktop.Accounts.service' which is provided (and asked) by >>> lightdm. (I think the error comes from accountsservice) >> >> But see: >> >> $ (cd /tmp; tar xf $(guix build -S lightdm)) >> $ grep -r "Error updating user" /tmp/lightdm-1.30.0/ >> /tmp/lightdm-1.30.0/common/user-list.c: g_warning ("Error updatin= g user %s: %s", priv->path, error->message); >> /tmp/lightdm-1.30.0/common/user-list.c: g_warning ("Error updatin= g user %s: %s", priv->path, error->message); >> $ (cd /tmp; tar xf $(guix build -S accountsservice)) >> $ find /tmp/accountsservice-0.6.50/ -name org.freedesktop\*.service.in >> /tmp/accountsservice-0.6.50/data/org.freedesktop.Accounts.service.in >> $ find $(guix build accountsservice) -name org.freedesktop\*.service >> /gnu/store/l9qyf0brhhq7mwcsyhjsh7k0d3ri3ay2-accountsservice-0.6.50/share= /dbus-1/system-services/org.freedesktop.Accounts.service >> >> That=E2=80=99s why I think it=E2=80=99s lightdm (or dbus-daemon?) that f= ails to find the >> .service file. >> >> =E2=80=98accountsservice-service-type=E2=80=99 extends dbus, such that w= e have >> /etc/dbus-1/system-services/org.freedesktop.Accounts.service. Do you >> see this as well? > > You're right! ;) And probably a dbus-daemon problem from what I > understand. But I really don't know what I'm talking about here... > However, just to clarify, I think it's not that it's not finding > dbus-1/system-services/org.freedesktop.Accounts.service but > dbus-1/interfaces/org.freedesktop.Accounts(.Users?).xml. In that case, > using #:env-variable for the dbus service might be a possibility. > Really, I have quite a lot of files in > /run/current-system/profile/share/dbus-1/interfaces but I don't know what= are > their purpose... :/ I think we=E2=80=99d need to look at the lightdm service to further debug t= his. It=E2=80=99s not upstream yet, right? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 30 09:22:10 2023 Received: (at 41207-done) by debbugs.gnu.org; 30 Jul 2023 13:22:10 +0000 Received: from localhost ([127.0.0.1]:49532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQ6N8-0000bt-0L for submit@debbugs.gnu.org; Sun, 30 Jul 2023 09:22:10 -0400 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:53489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQ6N5-0000bf-3F for 41207-done@debbugs.gnu.org; Sun, 30 Jul 2023 09:22:07 -0400 Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-403e7472b28so20541871cf.2 for <41207-done@debbugs.gnu.org>; Sun, 30 Jul 2023 06:22:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690723321; x=1691328121; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=XfW5EB7M69GLM84uK9zJGjBUFroUMDrffZN5kckHthI=; b=G5WpmCY0nBlmrOkLHUrikJkGNP7hnDsbG5CZvuxJa7L7ap/C1d8NzupZ+8bYjD6ppb oje7GYVz+g20IAqXSyjAmujMhKJiy6BKMzhIkk9K+VCWpfxieTzRQDt58KoQRfF3NpRs c/tQznfzCzs6ROQBScmG6tEf0Chn315e4e51eTZ3/4F9Kg7OkGZdvEc2j1RBayGpCeE7 J48WUM1pky994Qj7A7cPf+ha09Av9RQpUeHUinIkn60J1oeMHPVDcNCb1H7As7gvJYl4 nLX5gaepxA3v28LuyjzAaVq2On0/0iPfqbs73Jh9iytIWXX48oH0KGKtfm5EWPpGzliG HHEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690723321; x=1691328121; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XfW5EB7M69GLM84uK9zJGjBUFroUMDrffZN5kckHthI=; b=EFVDKV5Ns5BN/Z9hrX6Y3T3K/fPIlyl2e1EFb3oYARPGRck4vDcR5PUuSdjfRWeYRO MAAZUzNiTEaiR4XJcxxsX4/m8mCmtLpwlPu/189q+8/2D21gj6c/6F6h9ND2Z3DR36Bb isqq8/rO5pPdz7o/MVcmYpnPReJ+Mq3mosQVhLxtcUoej2YHbs3HgD935WrphJjz1uyK xQqqycPX7XcdzOmWjRtfCfLLb/wLndn1mViyFSP6r8zWaUUkDKiXl7DJZFWXT/gqzpkS m8xbZy/3apWDuY/7t3C582Klfh8OhFJOKL4UWRDMiK5oRF3BtAmaWH6P3DRN1nPAGqfp DZ6w== X-Gm-Message-State: ABy/qLaIeSjxzOWVejDZlrg9/JHL4He4EqbaBYlf7KWsv0H2vecHNl+i wIEIby/474bTsxMo8Ww4OxiifBwvaxc= X-Google-Smtp-Source: APBJJlEC2EbbzL3+MI6AuB0UIiSFGGyzUktHYXG1Cs1/uW+laeL0MPHnpmRXIe1FbR8bK4ShgPRDmg== X-Received: by 2002:ac8:7c44:0:b0:403:cd14:8f with SMTP id o4-20020ac87c44000000b00403cd14008fmr8716978qtv.57.1690723320882; Sun, 30 Jul 2023 06:22:00 -0700 (PDT) Received: from hurd (dsl-205-236-230-150.b2b2c.ca. [205.236.230.150]) by smtp.gmail.com with ESMTPSA id z4-20020a05622a124400b0040331f93ee0sm2647605qtx.77.2023.07.30.06.21.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jul 2023 06:22:00 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#41207: accountsservice daemon lacks dbus interfaces References: <87y2pxwe9n.fsf@lprndn.info> <87367frcgi.fsf@gnu.org> <87wo4ppltn.fsf@lprndn.info> <87sgfcpjy2.fsf@gnu.org> <87a71k5nq9.fsf@lprndn.info> <87o8ppc2yi.fsf@gnu.org> Date: Sun, 30 Jul 2023 09:21:58 -0400 In-Reply-To: <87o8ppc2yi.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 11 Jun 2020 12:27:17 +0200") Message-ID: <87leexsfex.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41207-done Cc: 41207-done@debbugs.gnu.org, L p R n d n X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Ludovic Court=C3=A8s writes: > Hi, > > L p R n d n skribis: > >> Ludovic Court=C3=A8s writes: >> >>>>> L p R n d n skribis: >> [...] >>>> Not exactly, my understanding is that *accountsservice* doesn't find >>>> 'org.freedesktop.Accounts.service' which is provided (and asked) by >>>> lightdm. (I think the error comes from accountsservice) >>> >>> But see: >>> >>> $ (cd /tmp; tar xf $(guix build -S lightdm)) >>> $ grep -r "Error updating user" /tmp/lightdm-1.30.0/ >>> /tmp/lightdm-1.30.0/common/user-list.c: g_warning ("Error updating >>> user %s: %s", priv->path, error->message); >>> /tmp/lightdm-1.30.0/common/user-list.c: g_warning ("Error updating >>> user %s: %s", priv->path, error->message); >>> $ (cd /tmp; tar xf $(guix build -S accountsservice)) >>> $ find /tmp/accountsservice-0.6.50/ -name org.freedesktop\*.service.in >>> /tmp/accountsservice-0.6.50/data/org.freedesktop.Accounts.service.in >>> $ find $(guix build accountsservice) -name org.freedesktop\*.service >>> /gnu/store/l9qyf0brhhq7mwcsyhjsh7k0d3ri3ay2-accountsservice-0.6.50/shar= e/dbus-1/system-services/org.freedesktop.Accounts.service >>> >>> That=E2=80=99s why I think it=E2=80=99s lightdm (or dbus-daemon?) that = fails to find the >>> .service file. >>> >>> =E2=80=98accountsservice-service-type=E2=80=99 extends dbus, such that = we have >>> /etc/dbus-1/system-services/org.freedesktop.Accounts.service. Do you >>> see this as well? >> >> You're right! ;) And probably a dbus-daemon problem from what I >> understand. But I really don't know what I'm talking about here... >> However, just to clarify, I think it's not that it's not finding >> dbus-1/system-services/org.freedesktop.Accounts.service but >> dbus-1/interfaces/org.freedesktop.Accounts(.Users?).xml. In that case, >> using #:env-variable for the dbus service might be a possibility. >> Really, I have quite a lot of files in >> /run/current-system/profile/share/dbus-1/interfaces but I don't know wha= t are >> their purpose... :/ > > I think we=E2=80=99d need to look at the lightdm service to further debug= this. > > It=E2=80=99s not upstream yet, right? We now ship a working lightdm service. I believe this bug report was fixed in 6aeabba2baa11b4a0a778fc353e62d0fe2f6b5ec ("gnu: lightdm: Build AccountsService files."). Closing. --=20 Thanks, Maxim From unknown Sat Aug 09 15:16:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Aug 2023 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator