From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UN7+CZoGtWSmRgAASxT56A (envelope-from ) for ; Mon, 17 Jul 2023 11:15:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GLTPCZoGtWSJWwEAauVa8A (envelope-from ) for ; Mon, 17 Jul 2023 11:15:06 +0200 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 A12E650E52 for ; Mon, 17 Jul 2023 11:15:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=faGjWxL8; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689585305; a=rsa-sha256; cv=none; b=M6rQo/Q/SBHoUf74kdRLRY7vwo5WbCnX3LL0anCkTEuAi9/A8ZxbRUBSwllGs5N0GtACh9 84kcgevoD3mqYEIx85+KFWusH4w9XwGiOYzr1DTvjT3HI6j6W3olro8gJ8ZT2nLU0QZhea Zwgppv2M8cTxYZZWtxHtyhqgjK8lfTZDWWrKEMIzuS3JPvUg0kfS6CNxgjDxoivL4D1d5B IciOjBzY2Qk1NT5qGMIDtCdNupJzPfwYlkAvAl+6svvytW238INgJbkPkAOBc8jtp2XGvX BA0A+p1lsqEE67bTFBSzCQnjl1ibqsuqyspMsmp5UQfNDpSZIoBID7GSSQ8clg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=faGjWxL8; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689585305; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=3IdvWRiBCwV6aDv97aFoUtnS4ql/u5qdvpcB7JbMZlo=; b=U3sLe7X5XCXBmc2wmUXVgYYaau6CzIMzVDj6lNCPYaVmEEIk76cjFPtdiEMLAqfi3HS11d Nod8qsEVdwKCYgXm2yqA8dfxIxV7dTF1T1P38tRM9pNqKLc4ec7EA551MayhEsCMwZz4NG pcMzzUhlzv24rICeKQYK4Pp00kv8vjyZCRKuCjUf7sLTZRK2NwW7svUR36L67ZQyxz4fB+ S2Xj+8cKbEQf4eZzOjXU5y4ciGL0ADNzwlsOvWk7IEJQlDQhYkRZsXe5WL13voL9kFMGre OwDrYmzmA/cegu5g7KAoywYdBM3CpuS4CJUDFJefxADnJdr3vxNZGDdJFhaiVw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLKJI-0002e9-Rr; Mon, 17 Jul 2023 05:14:28 -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 1qLJGC-0006Vd-EO for help-guix@gnu.org; Mon, 17 Jul 2023 04:07:12 -0400 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qLJG9-00084W-V0 for help-guix@gnu.org; Mon, 17 Jul 2023 04:07:12 -0400 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-992ca792065so598767366b.2 for ; Mon, 17 Jul 2023 01:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689581228; x=1692173228; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=krWUznLXAKfztawIONQzQ6npxlwuS8VJ4iZ5/k0naD4=; b=faGjWxL8n9JubELAdu7vjLYmqiMq62lpdKLvw6/kfWkPyy8Tf6KoGjngGvM2gouKLB uzkgz+Hi2N1Q/sj+QboplZs001YU1tw34uQr+sxkNqrKeS+wZgIevbx6jSO1HrB947Dj j/ybxAMCVjZ8l4b9zkYciGxesCgMoApB9rwHV/IOQDW4TGRh1a0vvUmH4lu34rCoM1ns E9BSLeaAwqMgrOotvRiQ64HPsxbEzsNFgCflqQ1Itj7q/YzeW5CHNu48nyyJERQ7Ao2A h5ZFE6IDhUFnCXGE2V7AOBr3YoOQ/zK8syFu450MoDdlwCxYxrWmB5xSoWwuoAeTJtud JZIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689581228; x=1692173228; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=krWUznLXAKfztawIONQzQ6npxlwuS8VJ4iZ5/k0naD4=; b=GYC5urKRBu4SvvG1AUuWP7xspsg7xw9cCuxDmQExsB/bLzjipmifBb+9eKKV22xPTl 8HLbc1/qon7whgJX4k/aT58IlyhOFAG6xZAlkVKIJFsayrEcDJp+0rIvSKhGLFGjlsU2 YjM25CiYZe9WW72snA7JrudHz2IaN3k+FRMW03M6Cn8xPOJBagdpTaCnTWU+dLtLBZT0 PaHcdihaumGS/e4aYvm6bXCZEZEQte+t6zNRZ3gS30bqYZGBIFDy62o2EIv54scNpTzU SiEK5qH6HkeSAF4N9QABeImSSa/v6XWht7wMPKoDrPmONEjOAMiWVEgIPCbXMKRcoFyL xseg== X-Gm-Message-State: ABy/qLYwZTCuatzbXsM8HqbG2XQQ9hyynnM887e1U4sWj2sNDXUjhg2C goWrYJwvYbLtWqug3spRg/L1u9vQwRY7DxAWAlw= X-Google-Smtp-Source: APBJJlE8LKCsxhh2oyMW8NqICk8wp0vVFJcmF2BiM47YzmuDEUnKxk7W0zMM/Sa+wGZpX+ykaZuRr8LCoPBKKPaqGMY= X-Received: by 2002:a17:906:29a:b0:994:56d3:8a42 with SMTP id 26-20020a170906029a00b0099456d38a42mr5682218ejf.27.1689581227966; Mon, 17 Jul 2023 01:07:07 -0700 (PDT) MIME-Version: 1.0 References: <87fs6229yw.fsf@lapenas.dev> In-Reply-To: <87fs6229yw.fsf@lapenas.dev> From: "Etienne B. Roesch" Date: Mon, 17 Jul 2023 11:06:56 +0300 Message-ID: Subject: Re: Getting Guix to shutdown my laptop properly with Sway and no DE To: =?UTF-8?Q?Ignas_Lap=C4=97nas?= Cc: help-guix@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=etienne.roesch@gmail.com; helo=mail-ej1-x634.google.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 17 Jul 2023 05:14:26 -0400 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.05 X-Spam-Score: -5.05 X-Migadu-Queue-Id: A12E650E52 X-TUID: qfTQOftHeUeS Hi, I think I have been having the same problem for a while, using standalone guix system on a desktop. It seems to sort itself out after a pull and system reconfigure, but then it breaks again: The countdown does not start and hangs. I have to hard stop the desktop, which is fine but not exactly what should be happening. Etienne On Sun, Jul 9, 2023 at 3:42=E2=80=AFPM Ignas Lap=C4=97nas wrote: > Hello, > > I have the same (or extremely similiar) issue. It seems that it is becaus= e > of > shepherd. The system seems to work alright, although can=E2=80=99t commun= icate > with it > at all. For some reason it hangs. Tried looking for logs for the program, > sadly > I=E2=80=99m extremely new to Gnu Guix and still stuck here. :( > > (Writing this out with an idea that it might maybe help) > > danclm=E2=80=94 via writes: > > > Hello everyone! > > > > My T420 with Guix (no DE, only SDDM + Elogind + Sway) hangs during > shutdown > > after running loginctl poweroff/reboot or /sbin/shutdown /sbin/reboot. > It just > > sits there and only resolution is hard poweroff. It happens often. > > > > Is there something that I=E2=80=99m missing in my system.scm? > > > > ``` > > ;; My Guix config with the SwayWM > > > > (use-modules > > (gnu) (gnu system nss) (gnu system setuid)) > > (use-service-modules > > dbus desktop networking sddm sound ssh) > > (use-package-modules > > certs > > compression > > disk > > emacs > > finance > > fonts > > fontutils > > freedesktop > > glib > > games > > gnome > > gnupg > > gnuzilla > > gtk > > haskell-xyz > > image > > libreoffice > > linux > > package-management > > password-utils > > pulseaudio > > rsync > > ruby > > ssh > > terminals > > tex > > texinfo > > version-control > > wm) > > > > (operating-system > > (host-name =E2=80=9Ct420=E2=80=9D) > > (timezone =E2=80=9CEurope/Rome=E2=80=9D) > > (locale =E2=80=9Cen_US.utf8=E2=80=9D) > > > > ;; Keyboard layout. > > (keyboard-layout (keyboard-layout =E2=80=9Cus=E2=80=9D)) > > > > ;; Bootloader > > (bootloader (bootloader-configuration > > (bootloader grub-bootloader) > > (terminal-outputs =E2=80=99(console)) > > (targets (list =E2=80=9C/dev/sda=E2=80=9D)) > > (keyboard-layout keyboard-layout))) > > > > ;; Specify a mapped device for the encrypted root partition. > > ;; The UUID is that returned by =E2=80=99cryptsetup luksUUID=E2=80=99= . > > (mapped-devices > > (list (mapped-device > > (source (uuid =E2=80=9C8022876e-e0cc-4ec5-8363-0f07c590cdbc= =E2=80=9D)) > > (targets (list =E2=80=9Cguix-root=E2=80=9D)) > > (type luks-device-mapping)))) > > > > (file-systems > > (append > > (list (file-system > > (device (file-system-label =E2=80=9Cguix-root=E2=80=9D)) > > (mount-point =E2=80=9C/=E2=80=9C) > > (type =E2=80=9Dext4=E2=80=9C) > > (dependencies mapped-devices))) > > %base-file-systems)) > > > > (swap-devices (list > > (swap-space (target =E2=80=9D/swapfile=E2=80=9C)))) > > > > ;; Define users and groups. > > (users > > (cons (user-account > > (name =E2=80=9Ddani=E2=80=9C) > > (comment =E2=80=9D=E2=80=9C) > > (group =E2=80=9Dusers=E2=80=9C) > > (home-directory =E2=80=9D/home/dani=E2=80=9C) > > (supplementary-groups =E2=80=99(=E2=80=9Dwheel=E2=80=9C =E2= =80=9Dnetdev=E2=80=9C > > =E2=80=9Daudio=E2=80=9C =E2=80=9Dvide= o=E2=80=9C =E2=80=9Dinput=E2=80=9C))) > > %base-user-accounts)) > > > > ;; Sudoers > > (sudoers-file > > (plain-file =E2=80=9Dsudoers=E2=80=9C =E2=80=9D\ > > %root ALL=3D(ALL) ALL > > %wheel ALL=3D(ALL) ALL > > %wheel ALL=3D(ALL) NOPASSWD: /run/current-system/profile/sbin/reboot\n= =E2=80=9C)) > > > > ;; This is where we specify system-wide packages. > > (packages > > (append > > (list > > adwaita-icon-theme > > alacritty > > at-spi2-core > > dbus > > emacs > > font-awesome > > fontconfig > > font-dejavu > > font-gnu-unifont > > fzf > > git > > gnupg > > grim > > gtypist > > icecat > > keepassxc > > ledger > > libreoffice > > nss-certs > > openssh-sans-x > > pandoc > > parted > > pass-otp > > password-store > > pavucontrol > > pinentry > > pulseaudio > > rsync > > ruby-asciidoctor > > slurp > > stow > > sway > > swayidle > > swaylock-effects > > texinfo > > texlive-base > > unzip > > waybar > > xdg-utils > > zip) > > %base-packages)) > > > > ;; Some programs need to run with =E2=80=9Croot=E2=80=9D privileges, = even when they > are launched by unprivileged users > > (setuid-programs (cons* > > (setuid-program > > (program > > (file-append swaylock-effects =E2=80=9D/bin/swaylock=E2=80=9C))) > > %setuid-programs)) > > > > ;; Services > > (services > > (cons* > > (service alsa-service-type > > (alsa-configuration > > (pulseaudio? #t))) > > (service dbus-root-service-type) > > (service elogind-service-type) > > (service openssh-service-type > > (openssh-configuration > > (openssh openssh-sans-x) > > (port-number 22) > > (password-authentication? #f) > > (permit-root-login =E2=80=98prohibit-password) > > (authorized-keys > > `((=E2=80=9Ddani=E2=80=9C ,(local-file > =E2=80=9D/home/dani/.ssh/authorized_keys=E2=80=9C)))))) > > (service polkit-service-type) > > (service sddm-service-type > > (sddm-configuration > > (auto-login-user =E2=80=9Ddani=E2=80=9C) > > (display-server =E2=80=9Dwayland=E2=80=9C))) > > ;; Static networking for one NIC, IPv4-only. > > (service static-networking-service-type > > (list (static-networking > > (addresses > > (list (network-address > > (device =E2=80=9Dwlp1s0=E2=80=9C) > > (value =E2=80=9D192.168.1.200/24=E2=80=9C))= )) > > (routes > > (list (network-route > > (destination =E2=80=9Ddefault=E2=80=9C) > > (gateway =E2=80=9D192.168.1.1=E2=80=9C)))) > > (name-servers =E2=80=99(=E2=80=9D1.1.1.1=E2=80=9C = =E2=80=9D1.0.0.1=E2=80=9C))))) > > (service wpa-supplicant-service-type > > (wpa-supplicant-configuration > > (config-file =E2=80=9D/etc/wpa-supplicant/wpa-supplicant.conf=E2= =80=9C) > > (interface =E2=80=9Dwlp1s0=E2=80=9C))) > > %base-services)) > > > > ;; Allow resolution of =E2=80=98.local=E2=80=99 host names with mDNS. > > (name-service-switch %mdns-host-lookup-nss)) > > ``` > > > > Thank you in advance, > > > > Greetings >