From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27580: Elogin doesn't start properly Date: Tue, 11 Jul 2017 11:13:07 +0200 Message-ID: <8760ezz68s.fsf@gnu.org> References: <87bmos2ary.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUrF9-0006Ic-4Q for bug-guix@gnu.org; Tue, 11 Jul 2017 05:14:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUrF4-0000gC-EN for bug-guix@gnu.org; Tue, 11 Jul 2017 05:14:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUrF4-0000g1-Af for bug-guix@gnu.org; Tue, 11 Jul 2017 05:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dUrF4-0001fI-5n for bug-guix@gnu.org; Tue, 11 Jul 2017 05:14:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: (William's message of "Tue, 11 Jul 2017 08:32:47 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: William Cc: 27580-done@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, (Please keep 27580-done@debbugs.gnu.org Cc=E2=80=99d.) William skribis: > Shouldn't our shepherd service simply execute elogind-program-wrapper? > This may also be right because elogind handles things like the laptop > lid being closed, which should be handled even if no one has logged in > yet. Good point, we should probably just start it from the Shepherd. Done: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D94a881178af9a9a91= 8ce6de55641daa245c92e73 Let me know if there are still problems. For the record, I tested with this config: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/system/examples/bare-bones.tmpl b/gnu/system/examples/bare-bones.tmpl index f7b8823d4..293182e53 100644 --- a/gnu/system/examples/bare-bones.tmpl +++ b/gnu/system/examples/bare-bones.tmpl @@ -2,7 +2,7 @@ ;; for a "bare bones" setup, with no X11 display server. (use-modules (gnu)) -(use-service-modules networking ssh) +(use-service-modules networking ssh desktop dbus) (use-package-modules admin) (operating-system @@ -38,12 +38,12 @@ %base-user-accounts)) ;; Globally-installed packages. - (packages (cons tcpdump %base-packages)) ;; Add services to the baseline: a DHCP client and ;; an SSH server. (services (cons* (dhcp-client-service) - (service openssh-service-type - (openssh-configuration - (port-number 2222))) + (elogind-service) + (service polkit-service-type) + (dbus-service) + %base-services))) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you! Ludo=E2=80=99. --=-=-=--