unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Rustand <rustand.lars@gmail.com>
To: 68384@debbugs.gnu.org
Subject: bug#68384: TTY Auto-login is not compatible with elogind
Date: Thu, 11 Jan 2024 13:46:32 +0100	[thread overview]
Message-ID: <87le8wc9ih.fsf@gmail.com> (raw)


Enabling both TTY auto-login and elogind-service-type at the same time
results in an error immediately after automatic login to the tty with
the message "Error in service module", and the TTY then is
frozen. Auto-login works fine if I disable elogind, but elogind is
unfortunately a crucial part of the Guix system since a lot of things
does not work without it.

Below is attached a minimal example, simply commenting out the elogind
service in this example makes it works as expected. Running it as is
will result in the error I mentioned.


(use-modules
  (gnu)
  (gnu services)
  (gnu services base)
  (gnu services desktop)
  (gnu bootloader)
  (gnu bootloader grub)
  (gnu system)
  (gnu system file-systems)
  (gnu system accounts)
  (gnu system locale))

(operating-system
  (host-name "minimal")

  (users
    (cons*
      (user-account
        (name "lars")
        (group "users"))
      %base-user-accounts))

  (services
   (cons*
    (service elogind-service-type)
    (modify-services %base-services
      (mingetty-service-type config =>
                             (mingetty-configuration
                              (inherit config)
                              (auto-login "lars"))))))

   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (targets '("/boot/efi"))))

   (file-systems
    (cons*
     %base-file-systems)))




             reply	other threads:[~2024-01-11 13:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-11 12:46 Lars Rustand [this message]
2024-01-14 16:00 ` bug#68384: TTY Auto-login is not compatible with elogind Christian Miller via Bug reports for GNU Guix

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=87le8wc9ih.fsf@gmail.com \
    --to=rustand.lars@gmail.com \
    --cc=68384@debbugs.gnu.org \
    /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).