unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tomas Volf <~@wolfsden.cz>
To: Christian Miller <christian.miller@dadoes.de>
Cc: guix-devel@gnu.org
Subject: Re: TTY auto-login broken
Date: Sun, 24 Nov 2024 15:41:41 +0100	[thread overview]
Message-ID: <87mshog0d6.fsf@wolfsden.cz> (raw)
In-Reply-To: <875xzwyls5.fsf@dadoes.de> (Christian Miller's message of "Sun, 14 Jan 2024 16:31:06 +0100")

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

Hi,

Christian Miller <christian.miller@dadoes.de> writes:

> Hello,
>
> this is how I configured my system:
>
> (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))))
>
> Without the (login-pause? #t) I would get "Error in service module" as
> an error message in my TTY and can't use the system.
>
> There is also someone else with that issue[0]
>
> I asked on the IRC[1] some time ago (somenickname was me in that case)
> and nckx had an assumption why this is happening.
>
> [0]: https://issues.guix.gnu.org/68384
> [1]: https://logs.guix.gnu.org/guix/2023-09-28.log#211350

I just send a two-patch series[0] that allows this to be solved.  If it
is merged, it will allow to do the following:

--8<---------------cut here---------------start------------->8---
(modify-services (operating-system-user-services %basic-os)
  (mingetty-service-type config =>
                         (mingetty-configuration
                          (inherit config)
                          (auto-login "user")
                          (shepherd-requirement
                           (cons 'dbus-system
                                 (mingetty-configuration-shepherd-requirement
                                  config))))))
--8<---------------cut here---------------end--------------->8---

At least in QEMU it seems to solve the issue.

Have a nice day,
Tomas

0: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74508

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

      parent reply	other threads:[~2024-11-24 14:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-14 15:31 TTY auto-login broken Christian Miller
2024-01-14 20:24 ` Joshua Branson
2024-11-24 14:41 ` Tomas Volf [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=87mshog0d6.fsf@wolfsden.cz \
    --to=~@wolfsden.cz \
    --cc=christian.miller@dadoes.de \
    --cc=guix-devel@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).