unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: William <w@vieta.uk>
Cc: 27580-done@debbugs.gnu.org
Subject: bug#27580: Elogin doesn't start properly
Date: Tue, 11 Jul 2017 11:13:07 +0200	[thread overview]
Message-ID: <8760ezz68s.fsf@gnu.org> (raw)
In-Reply-To: <CAPCYgVfvS1HoWvb8H1oJM+xCx2P6bUSCOEnSEikpRs47ao8+Hw@mail.gmail.com> (William's message of "Tue, 11 Jul 2017 08:32:47 +0100")

[-- Attachment #1: Type: text/plain, Size: 587 bytes --]

Hi,

(Please keep 27580-done@debbugs.gnu.org Cc’d.)

William <w@vieta.uk> 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=94a881178af9a9a918ce6de55641daa245c92e73

Let me know if there are still problems.

For the record, I tested with this config:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1016 bytes --]

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)))

[-- Attachment #3: Type: text/plain, Size: 26 bytes --]


Thank you!

Ludo’.

      parent reply	other threads:[~2017-07-11  9:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-04 23:39 bug#27580: Elogin doesn't start properly William
2017-07-10 22:21 ` Ludovic Courtès
     [not found]   ` <CAPCYgVfvS1HoWvb8H1oJM+xCx2P6bUSCOEnSEikpRs47ao8+Hw@mail.gmail.com>
2017-07-11  7:33     ` bug#27580: Fwd: " William
2017-07-11  9:13     ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760ezz68s.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=27580-done@debbugs.gnu.org \
    --cc=w@vieta.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).