From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KDOWLEs7Q2fDgwEAqHPOHw:P1 (envelope-from ) for ; Sun, 24 Nov 2024 14:42:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KDOWLEs7Q2fDgwEAqHPOHw (envelope-from ) for ; Sun, 24 Nov 2024 15:42:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=EM5B8h4Q; dkim=pass header.d=wolfsden.cz header.s=mail header.b=EM5B8h4Q; dmarc=pass (policy=none) header.from=wolfsden.cz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732459339; a=rsa-sha256; cv=none; b=f4igcAx9lE6CieLksRM7X5g4FGGS0J+YwBZhkWtmeCuSc/m5ICzVIZF9XuRAOGMOr5gKow CdTuMcLIqQnCAu8reNhT/UOIa8KC5LEQRkeDuGV0lxDuO361/FRI3ZzJWVT4ok5FerjhS8 gm20on6ZZnEIY9UEU+/uc9kkQjrQxmqQxKPKa0afmvHCQwNklknesqRan2rCoXMCHOX+Jc cTLOWAz1mDBHYvHf9dUsNxLqFcfM+Nfl1fEZjYBVVoagrxoJwMW5MOLKuJ9MYQ4Muf9oEH nYpAAapdduOe+oJVVNv6gAvZvUcQ9TlcLhINb3oQsnzX/glhOC3UugHiYE92jg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=EM5B8h4Q; dkim=pass header.d=wolfsden.cz header.s=mail header.b=EM5B8h4Q; dmarc=pass (policy=none) header.from=wolfsden.cz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732459339; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ypUebQAhgSEJKSOu6kbPWhz1iBhL5Jf/oiMQtZ3Lbyc=; b=NnJi872X0vspkY4S/UaQGmPZsSep5Okv3qbx2WEHwQrc9zz+t8uQSteF6BCPaLCB86U0RR nyP6YHNxsDUxcg+E20L6nonufKQwsWIPxwJfMnWXzVNyNQaMmf7XA0cFjnJbTI884FWPLQ 4FORi6+XtUfiTdWceyVIfC7/RAFwfL9fuVUre4DybP6+KG7kuTgc0uQm0lzflgcc6Zw9rk TqGF2N4cmee97bnsjnRlu0J2deAvx5zlUJyxmWim+map5SJd7+w4TV0yNEzuVIO2g5NwZa bIyOaVrCAGvu8vnQg9UIAHz4ze6nVQCj8oWzPG+d0hX0Y74FoX8NXfQUTmw8cQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6FC64605D5 for ; Sun, 24 Nov 2024 15:42:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFDo9-0005tF-KJ; Sun, 24 Nov 2024 09:41:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tFDo3-0005qX-MA for guix-devel@gnu.org; Sun, 24 Nov 2024 09:41:47 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tFDo1-0005LE-CG for guix-devel@gnu.org; Sun, 24 Nov 2024 09:41:47 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id F1E043405C0; Sun, 24 Nov 2024 14:41:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1732459302; bh=mD/LgiUdurfvTUINgmWr0RgtOI8q1RaqC9loJakd9bk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=EM5B8h4QN9kVfUmhSpkqqhjVlqeIVQ+TYWVWTGCH2d+ZjS01H0mDNfTYdwzeNdtBx bMG+qjxA/jyDrEQKA3lefwVr6kj2iB4kJu3CQxAZ26I1EG1oUynneSDCmcA3yXlApG VeLWccnp4xIfF7FExRO+8JrHH5d+yTdNzCrmOXJXwpYowqbJC9Q1ZmEOuc0HNCyDZp +/QNMPkIH9bI1Ck9F3jPjYQoo798li5rqzWHwcPTpoCetD49mikjrueZVP6HctlXYq uEvkAcbxqHOL47e22l3WKljBzVsJLY2jxBqwbhy0GIyPzZCWhW86TkCdee/Al49446 v1ZQVtJzDbvidOxUVIwsX7uFZBBGhu5ewVGmolR5rWE5WTudVq9TDa4z9W3pgunlgk mNaWjf9cABphypDCFPeOehOm//eXqsVpS5aLYzRMI1QnYrLxBujXBFNiyikLQ7/329 wY7WQtCYiIApk2GZMHbggDImp4m4Opsn7Dc4dOXDJ7CgqoVtZxE0759GEf5WzNX73W TwHyqqkMfrBI08+lTF5/Nnoe6rjWhaD/nWKk6u7ZKvie2FaBe0xAklQE4nl06wMwBc vq4yBT2PgWi3TSjtLYN/1vmRikva9ubcmyJCC9Z27NqC8RZBx5J4vEmEExcttxn69r +aZWjBwCLeAaZnSJ986ipvsU= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 71EB2340B25; Sun, 24 Nov 2024 14:41:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1732459302; bh=mD/LgiUdurfvTUINgmWr0RgtOI8q1RaqC9loJakd9bk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=EM5B8h4QN9kVfUmhSpkqqhjVlqeIVQ+TYWVWTGCH2d+ZjS01H0mDNfTYdwzeNdtBx bMG+qjxA/jyDrEQKA3lefwVr6kj2iB4kJu3CQxAZ26I1EG1oUynneSDCmcA3yXlApG VeLWccnp4xIfF7FExRO+8JrHH5d+yTdNzCrmOXJXwpYowqbJC9Q1ZmEOuc0HNCyDZp +/QNMPkIH9bI1Ck9F3jPjYQoo798li5rqzWHwcPTpoCetD49mikjrueZVP6HctlXYq uEvkAcbxqHOL47e22l3WKljBzVsJLY2jxBqwbhy0GIyPzZCWhW86TkCdee/Al49446 v1ZQVtJzDbvidOxUVIwsX7uFZBBGhu5ewVGmolR5rWE5WTudVq9TDa4z9W3pgunlgk mNaWjf9cABphypDCFPeOehOm//eXqsVpS5aLYzRMI1QnYrLxBujXBFNiyikLQ7/329 wY7WQtCYiIApk2GZMHbggDImp4m4Opsn7Dc4dOXDJ7CgqoVtZxE0759GEf5WzNX73W TwHyqqkMfrBI08+lTF5/Nnoe6rjWhaD/nWKk6u7ZKvie2FaBe0xAklQE4nl06wMwBc vq4yBT2PgWi3TSjtLYN/1vmRikva9ubcmyJCC9Z27NqC8RZBx5J4vEmEExcttxn69r +aZWjBwCLeAaZnSJ986ipvsU= From: Tomas Volf <~@wolfsden.cz> To: Christian Miller Cc: guix-devel@gnu.org Subject: Re: TTY auto-login broken In-Reply-To: <875xzwyls5.fsf@dadoes.de> (Christian Miller's message of "Sun, 14 Jan 2024 16:31:06 +0100") References: <875xzwyls5.fsf@dadoes.de> Mail-Followup-To: Christian Miller , guix-devel@gnu.org Date: Sun, 24 Nov 2024 15:41:41 +0100 Message-ID: <87mshog0d6.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.92 X-Spam-Score: -3.92 X-Migadu-Queue-Id: 6FC64605D5 X-Migadu-Scanner: mx12.migadu.com X-TUID: +5/AsQ3xBjyu --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Christian Miller writes: > Hello, > > this is how I configured my system: > > (modify-services %desktop-services > (delete gdm-service-type) > (mingetty-service-type config =3D> > (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: =2D-8<---------------cut here---------------start------------->8--- (modify-services (operating-system-user-services %basic-os) (mingetty-service-type config =3D> (mingetty-configuration (inherit config) (auto-login "user") (shepherd-requirement (cons 'dbus-system (mingetty-configuration-shepherd-requireme= nt config)))))) =2D-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=3D74508 =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmdDOyUOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wanOyBAApUPSJQkdwXjekEz/qqx/vKByeXDbkliRb9ZQ hB996iCfGBH9agLDQJ7zg+g2xe2hYTUewxwXhBkU+TwL4+g4Irzm3SF2wOpT7JO1 BKnEvni8b3ab3c57iyg0CWhs1/5cpCPPLtcYpuPVMYMrwQ97s5xTbv0P4MiFbbQP x3Lihm2vsm4b8vsDaI1N1d6XaYrJpFiMWNyJjoioXCMel+lUGoxyZ+HbgPHew+x9 Rm0aJdqPTv7PmSk2IcgyNXWITnBTus+DoqCtm0hlX1N3iEKL4FPTNNV5nw2vdnEt A4JoI/f9wcLpMFoJ+PFKHGSyHMjBpH2AkKkaQjkbY3MgPfXJjiGShxQG8B178Gur Q95dxiaUAsGTy4XTdde8/hyLOMkj+VFRM+L6rugHzcwGpK/qv6YDGtFRbXM7SLDq z1pstw3SxYOZFM88DT3R3eaG1GZnk1/jQ3VE/SavpJeg28QFWNN1chmlxoeHkUaW m+etjYbmcgOqCayOZ0ZMKVsH7IjsHdmaoQh0LbaEo26hUGjXNOuJp/rFQag2eNIu MwX9SXsLinSvLTnVMdfC3nBeRo2sKtLMVdIdpHYMbM2U5Qpn6pCg98L0G4YVHoZ7 SCHbBzwykjYPBPK8rOwAf9y8JdaRr4GKfTai6GxLkuITGcwuc3o90txAcHxCa7iI +y7GAvc= =EhKG -----END PGP SIGNATURE----- --=-=-=--