From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GGQ7FhhOtWRqSgEASxT56A (envelope-from ) for ; Mon, 17 Jul 2023 16:20:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cBQ4FhhOtWSuCgAA9RJhRA (envelope-from ) for ; Mon, 17 Jul 2023 16:20:08 +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 E67DA3954B for ; Mon, 17 Jul 2023 16:20:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=catsu.it header.s=mail header.b=5hwKhmsN; 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=pass (policy=quarantine) header.from=catsu.it ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689603608; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mkVhYQ2rU2A7vKOhp6W8KEsXu+9u8uJhmKIN1ARWEFQ=; b=gXAHEso0G6W0h/suEcpqcXencBauPaGKvzNQpsR9AN3IE0hu8/0KLZI50qecBvx7/o1KXU WQhqNpw+aQViBtoQAIw6a7bNqty2OTnCE762tyrL6R5KSV1mVTSeLbbdp8EDFr9edU6jZX i/nlKUC+OBKULwo8wd6fm1sWSdhtHOFW+4LZTjUkaiBbJ6TmfBEQZAxpLr/nry1/9v2MAo z0su4NWqukyXLZ1jjxzEyxtavMn7O61mOYnndmKsgKU77tI29TUQx44rnVPT7Kroz1E0zo 0fnGHIC5bsjTe8JTVNpFMYLH7BBtR1rTCWOUwz3SOWQTDLWNGugz18klZ32pXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689603608; a=rsa-sha256; cv=none; b=rwy5PHkxJhnzFc5Ujrmig8Qbrx2PJUDJArFGOsywg3wpwEoxmcsckJLQmaTKZFuPlzuhQT GH4Jx0Ur53C91B74Bu9s1+Ub+BpcSy1oHAjebjArRBP5w5xZkah4pMYLZL1SOMY0OlozOD Jt++WJddmwNuPPT4uxXTi4GkSPyHIeZtS+oLMpvGavYCmfgflXUZviHLt4n5NNeqKN6Soo 2qGNompprIXEUsY4yqwluO4nYJ96tqW4CkSMTR/pqYDqTm4pTEM6Sr/D7VasKSL4iJWw1M DS9pxmN+7XoDk1nLw2lcPY6NiZBiW8O6+aREoV2xRnhAFoIeYYrrK+TjxzK4eA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=catsu.it header.s=mail header.b=5hwKhmsN; 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=pass (policy=quarantine) header.from=catsu.it Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLP4g-0000lw-LD; Mon, 17 Jul 2023 10:19:42 -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 1qLP4e-0000lT-JG for help-guix@gnu.org; Mon, 17 Jul 2023 10:19:40 -0400 Received: from box.catsu.it ([46.232.250.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qLP4b-0002n2-Qt for help-guix@gnu.org; Mon, 17 Jul 2023 10:19:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=catsu.it; s=mail; t=1689603573; bh=NjGhPqyZS44eU/WxLRp5SE9Jq/SdrjYq2ptWJeBQ1yY=; h=References:From:To:Subject:Date:In-reply-to:From; b=5hwKhmsNGsqV+Y4ZfKbB4b9F+JAgoOQFothU+QwDKIyAXC84iYxTXZYIXtZstJk4e oQKgX2rkNS3vNfefg27gOlDLXFdybl0BKsp7WJxMXGiIDjbHv68aHAHySPHbsWm+MY 2UCCMeDEduusQQJPocjN9H23vwAESXK1pDyucQgWbg6WOPqOHQ8CojJVSTuHSbzDEu QqToEhpqNVve2+kd2EF2gM0HS2H4zoJLsDzJARwE/FZv7oE2nEoTcusIndTqwAVFIX T/P5aTGMS1jE74E3d2PD9E1YswhDhNj5KwnEO4W5PEyGjY8EEpz2kmfHxSmd2FzR2Y Fc3s4vfr0uwHg== Received: from authenticated-user (box.catsu.it [46.232.250.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by box.catsu.it (Postfix) with ESMTPSA id E36E64BBD6 for ; Mon, 17 Jul 2023 16:19:33 +0200 (CEST) References: <87fs6229yw.fsf@lapenas.dev> From: Chris Keschnat To: help-guix@gnu.org Subject: Re: Getting Guix to shutdown my laptop properly with Sway and no DE Date: Mon, 17 Jul 2023 16:18:46 +0200 In-reply-to: Message-ID: <87fs5moc2b.fsf@catsu.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=46.232.250.231; envelope-from=chris@catsu.it; helo=box.catsu.it 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, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: mx2.migadu.com X-Migadu-Spam-Score: -7.34 X-Spam-Score: -7.34 X-Migadu-Queue-Id: E67DA3954B X-TUID: b1JVL/eLZj9j Same issue here, quite often. But I have no idea what's happening and no logs ;/ "Etienne B. Roesch" writes: > 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 becau= se >> of >> shepherd. The system seems to work alright, although can=E2=80=99t commu= nicate >> 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=9Dvid= eo=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 >>