From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GKHlM7gx6GYG/QAAqHPOHw:P1 (envelope-from ) for ; Mon, 16 Sep 2024 13:25:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GKHlM7gx6GYG/QAAqHPOHw (envelope-from ) for ; Mon, 16 Sep 2024 15:25:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=iuYOFi9b; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=beSGHzIE; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726493112; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nv29JgvVgNVDod7H2nky0pY751Y257jmco6lFthjRTY=; b=smmV1BpkZIscYI74kQOLcw0Frkj1ZNvU4HtaqwYWLeGUdK4FWORT6mLFnnjvUsXNnET/UU RI6QSz7mTrzgxUkGH+oV6dK4Ab02tBqWjHnIOH3mY11gJInyc+JNwNa1LndwBKJV19uAk0 zTumsOZv3/C75+masaDiQb1L7/bmxIiGfEt5iLXnVjQCgACeLvp1y5RoT5NrngHzPGR4of SlToc32OuWLyxYIMdXHg1H4+vLKO4v4uuH6iXNUoxqShUUKJ1poqcM/sQcf7kqVuv7VKPa GFLHN+Olyv+yT65j99FdcXwvKulVNepnonMyEQLPOjNQ/hIl1Ga2qzz0pkAONQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=iuYOFi9b; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=beSGHzIE; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726493112; a=rsa-sha256; cv=none; b=f5hUNDOfuUpFLpn6u8zih28t9IqnBLTUeycVV5+L5DLiX8mkwDJGNWgwIJI9ciKAbNlh37 cOTigbZ/2V8lhlHBsrw6w7AvA9q/vvinqDCkKfK7Cpzl10YL1H/1gPkgNYreGsE/2tpg1/ nEtUCPNqF/kYUU9dXPaE+MM67fSqf0DqFCzBvZcgxHpnYh/ZO1+U6WMczdOMqJ6WIyZ/cF AI0aLyRtU1PI9MiVJzrlx8QmiLG73m/mXjJ21Jxw1fw5XfQofZtInM+tVxsBuAA2ZSvc6/ PwNW8pJSxkKT4hDRbi7Vf7rIvZTA817SUM92VYzZ6SNOgNp2O+bLxO07Debh/w== 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 7264081CE3 for ; Mon, 16 Sep 2024 15:25:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqBiv-0000Qk-6n; Mon, 16 Sep 2024 09:25:01 -0400 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 ) id 1sqBij-0000QB-94 for bug-guix@gnu.org; Mon, 16 Sep 2024 09:24:49 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqBii-00087W-Rw for bug-guix@gnu.org; Mon, 16 Sep 2024 09:24:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:References:From:MIME-Version:Date:To:Subject; bh=nv29JgvVgNVDod7H2nky0pY751Y257jmco6lFthjRTY=; b=iuYOFi9bKVMl/mJvyaQtrdBZ6GaFzO9D+7oRLVN0lEYHujQNMzowzrgXJnFPKhSZ30siqWERWJk3i1Mna71PFctlTLxjwlRYL+8IASmGCfp7zvwA+hEqPP+Fi0IXVZLacMXjPR8SVw7uIr+gWBOLN4NzeDDxtR/V5LKVvwUpIlyrsLQ3Sndb7e2X4UPPbPP/bWPZTwWGBzKJBap80ASwqng5FCD7IzOptJUf1phHX3LE5d+8+MPkIrMCjySpMFbZ91mZLb/UdDExOP0R4Ltmwk9D2BBcQ9A1URot6CkRinl50m9MwoTMb51AokhzWR58xnqElgb141JMpPmkPsyBCw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqBiv-0007iJ-RF for bug-guix@gnu.org; Mon, 16 Sep 2024 09:25:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72277: home-shepherd is flooding tty Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 Sep 2024 13:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72277 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72277@debbugs.gnu.org Received: via spool by 72277-submit@debbugs.gnu.org id=B72277.172649305929555 (code B ref 72277); Mon, 16 Sep 2024 13:25:01 +0000 Received: (at 72277) by debbugs.gnu.org; 16 Sep 2024 13:24:19 +0000 Received: from localhost ([127.0.0.1]:51286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqBiF-0007gd-3c for submit@debbugs.gnu.org; Mon, 16 Sep 2024 09:24:19 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqBiC-0007g7-0G for 72277@debbugs.gnu.org; Mon, 16 Sep 2024 09:24:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id DBA9B240027 for <72277@debbugs.gnu.org>; Mon, 16 Sep 2024 15:23:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726493035; bh=0IeRf4HNbbSeKg3ApjosP3UWMbgsQjjaMO303LkDKxM=; h=Message-ID:Date:MIME-Version:Subject:From:To:Content-Type: Content-Transfer-Encoding:From; b=beSGHzIE5dANmWLHGTNr4T9QVzU6dZyRDEt65pWEFcWMV7yyDt+RK0iS+Jbo5TmrJ wKQ5iCHmdiCIwM6/JK6DwgF/Ghs4ZNlXytSf+3uQZsSP93WUTmqLCfg21yFNcCz2LN Y+5tlyDzvZQ/iHK209ok6F40sGP4/oFbstiXF50lEy+WBnH+jlqw9R8roJRH5jR53h /Z1Mc48uqL92nn9JEqlurb1Qp3NCAyorQS/wVlTP9WDzj6EF+spbv+oDnCFy1557WO OjhNr12NWRhkID+2A7uxKNnr+KYV7fO7YfWB9vwJDZaFqn0DgNjjXmBOWZflVL+VOg 3/7HA6m526pNQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X6lx54wH9z9rxD for <72277@debbugs.gnu.org>; Mon, 16 Sep 2024 15:23:53 +0200 (CEST) Message-ID: <65ff85e1-644a-4f8d-9c46-25d6e98b569d@posteo.net> Date: Mon, 16 Sep 2024 13:23:48 +0000 MIME-Version: 1.0 From: Dariqq References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 7264081CE3 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -10.64 X-Migadu-Spam-Score: -10.64 X-TUID: OhjzzZ2pMi2j On 24.07.24 18:16, Dariqq wrote: > Hi, > > Today I connected to my laptop running guix home over ssh as the first > session and got greeted with a lot of shepherd logs from the on-first- > login script from guix-home starting the user shepherd: > > > > Starting service root... > Service root started. > Service root running with value #t. > Service root has been started. > WARNING: Use of `load' in declarative module (#{ g107}#).  Add > #:declarative? #f to your define-module invocation. > Daemonizing... > > Some deprecated features have been used.  Set the environment > variable GUILE_WARN_DEPRECATED to "detailed" and rerun the > program to get more information.  Set it to "no" to suppress > this message. > Restarting signal handler. > Now running as process 2026. > Starting services... > Configuration successfully loaded from '/gnu/ > store/004jm8s9km3j70gh4nhw8fzlbjls5wxa-shepherd.conf'. > Starting service dbus... > Service dbus has been started. > Service dbus started. > Service dbus running with value 2027. > [...] > Successfully started 4 services in the background. > > > The guile deprecation warning seems to be coming from using the deprecated way of daemonizing the shepherd. This has been fixed in https://git.savannah.gnu.org/cgit/guix.git/commit/?id=8da4eab2447a52c1d4f79305756cfab4df45a1a7 > As I don't want to see these messages I have patched the add-shell- > profile-file procedure in gnu/home/services/shells.scm to send the > output of the on-first-login-script into the void as a workaround. > > The shepherd manual mentions a --quit option (there seems to be also -- > silent but not documented). Looking at the shepherd code though these > don't seem to do anything which is also not mentioned anywhere causing > even more confusion. The devel shepherd now understands --silent (and --quiet): https://git.savannah.gnu.org/cgit/shepherd.git/commit/?h=devel&id=6ffe404ffe794b06fddd304a963a47b62444edfa When running the shepherd@0.15 with a backported version of the above commmit and --silent all that is left is the warning > WARNING: Use of `load' in declarative module (#{ g107}#). Add > #:declarative? #f to your define-module invocation. and when using the devel shepherd this is also gone and shepherd is completely silent. It would be nice to add an option to home-shepherd-configuration to autolaunch the shepherd with --silent once it is available in a tagged release.