From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Re: elogind status Date: Fri, 21 Aug 2015 17:32:17 +0200 Message-ID: <87io88d5dq.fsf@igalia.com> References: <87h9ntexrp.fsf@igalia.com> <87wpwo8y9w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSoIq-00087R-K8 for guix-devel@gnu.org; Fri, 21 Aug 2015 11:32:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSoIn-0007Qt-FZ for guix-devel@gnu.org; Fri, 21 Aug 2015 11:32:24 -0400 Received: from pb-sasl0.int.icgroup.com ([208.72.237.25]:64700 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSoIn-0007Qo-Ck for guix-devel@gnu.org; Fri, 21 Aug 2015 11:32:21 -0400 In-Reply-To: <87wpwo8y9w.fsf@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Fri, 21 Aug 2015 23:19:23 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org On Fri 21 Aug 2015 17:19, =E5=AE=8B=E6=96=87=E6=AD=A6 w= rites: > I follow the config, and get elogind running up. > The pam, seat and session things work, > I can use loginctl or call the dbus method to switch between sessions. Nice! > But the reboot and poweroff don't work, which turn out to run the > systemd special target ;- Yeah I think they call out to systemd's dbus interface. Same for suspend and lid handling. I am not sure what to do there; I would rather not fake systemd's dbus interface, because that sounds like a large compatibility headache. Perhaps we could invoke hooks instead, and have distros customize those hooks. Or perhaps we include systemd's code to do these tasks, if that code is small. Andy