GNU bug report logs -
#68384
TTY Auto-login is not compatible with elogind
Previous Next
To reply to this bug, email your comments to 68384 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#68384
; Package
guix
.
(Thu, 11 Jan 2024 13:02:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Lars Rustand <rustand.lars <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 11 Jan 2024 13:02:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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)))
Information forwarded
to
bug-guix <at> gnu.org
:
bug#68384
; Package
guix
.
(Sun, 14 Jan 2024 16:01:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 68384 <at> debbugs.gnu.org (full text, mbox):
Hello,
I have the same issue.
Using the following works for me, though you need to press a button on
the keyboard.
(modify-services %desktop-services
(delete gdm-service-type)
(mingetty-service-type config =>
(mingetty-configuration
(inherit config)
(auto-login "cm")
;; TODO: Work around to fix "Error in service module"
(login-pause? #t))))
I also created a thread in the guix-devel[0] mailing list, maybe I should
have not.
[0]: https://lists.gnu.org/archive/html/guix-devel/2024-01/msg00120.html
--
Christian Miller
Information forwarded
to
bug-guix <at> gnu.org
:
bug#68384
; Package
guix
.
(Mon, 26 May 2025 16:03:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 68384 <at> debbugs.gnu.org (full text, mbox):
Hi Lars,
Lars Rustand <rustand.lars <at> gmail.com> writes:
> 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.
>
I believe this is fixed by adding 'dbus-system to mingetty's
shepherd-requirement. See info (guix) Base Services.
This bug report was last modified 19 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.