From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IL7zBR9ATmEiCAEAgWs5BA (envelope-from ) for ; Fri, 24 Sep 2021 23:16:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8PuFAR9ATmGfbAAAB5/wlQ (envelope-from ) for ; Fri, 24 Sep 2021 21:16:15 +0000 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 5813C145D3 for ; Fri, 24 Sep 2021 23:16:14 +0200 (CEST) Received: from localhost ([::1]:58608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTsYG-0004ZO-QX for larch@yhetil.org; Fri, 24 Sep 2021 17:16:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTsY7-0004ZE-1y for bug-guix@gnu.org; Fri, 24 Sep 2021 17:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47795) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTsY6-0004TN-LD for bug-guix@gnu.org; Fri, 24 Sep 2021 17:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTsY6-000655-8X for bug-guix@gnu.org; Fri, 24 Sep 2021 17:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50788: Swapfile on Btrfs does not start at boot Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 24 Sep 2021 21:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50788 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50788@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.163251810923289 (code B ref -1); Fri, 24 Sep 2021 21:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Sep 2021 21:15:09 +0000 Received: from localhost ([127.0.0.1]:59341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTsXF-00063Y-J2 for submit@debbugs.gnu.org; Fri, 24 Sep 2021 17:15:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:33098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTsXD-00063O-EW for submit@debbugs.gnu.org; Fri, 24 Sep 2021 17:15:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTsXC-0003yv-Sy for bug-guix@gnu.org; Fri, 24 Sep 2021 17:15:07 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:21416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTsXA-0003ih-FM for bug-guix@gnu.org; Fri, 24 Sep 2021 17:15:06 -0400 Date: Fri, 24 Sep 2021 21:14:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1632518100; bh=9WwIrU1a6idYzeN5WelMDI+OI4bcNmB7qCb/rS7ln50=; h=Date:To:From:Reply-To:Subject:From; b=emcEAa9VaeVvxepi8LmaPmaNJWv5MXm1SVNQ51T9x0k3bUHWHtJCxQLtUh8jQxjcF PLLhMjk9CTBJ5BmAISqWDi1Ut6DWI746BoiUkxJnfcm/zghugwzFJYv76pv0BVDl0V CGxjpIXL3zXqjLnnph7G8wTvBml+9K4//tCS/1JQ= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.22; envelope-from=john.kehayias@protonmail.com; helo=mail2.protonmail.ch 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias From: John Kehayias via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632518174; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9WwIrU1a6idYzeN5WelMDI+OI4bcNmB7qCb/rS7ln50=; b=ArByyFIuhHmoXd/zAEv+/wf/2400PMC8lVkgFeBKTHxZWgNt0x1vF1+EEkWUSeXujB1tm3 +FXwIzwIzZKeapzartlWEMM0znglUKjWHP3jry1Ad+DYTg2T6dEWPt70RQGBGVvNDswSV7 mkQBoVMphK6mnyNpQ+nzkAxH0Sx8TCDTiqw/OZOfyMoweyNftna9BbipvliL/rjdigXYJP zcdcmy6rpMsVRoeQDZfgqHECWiUI5iDa8hsUhSzVAWYlyEHDJVdHjaDErO2LC1hbHV0W1g ak4tE67STjv/9cNtNSPZ0F6AumGr24H2OxUR04bL4L1RedxazmgInBPD8GQbuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632518174; a=rsa-sha256; cv=none; b=ZozBPgk7rsTwPA5wnKlQ3vg19GGNDNbzb+rP0wGW0FS2KkLfRnxhoShq7b5ChLdPjRBy8t TntpQk2rSFEczIWLefWukoBg3U6zptkE3nsMSCTEUiMQgweFRyqU9o8RbqtQ5vNiay3gAe gE2dbL5g+wpB2tg/48b/8aPzC2hvZ4s9bnLHCoTEBhe4myWJP0+UCXGAYldKUNWkdUUIx2 KDrKUAxJsZNXMRI+xAILHl/ZZ3YqID7LbdZHAYqqsBEB++eCYY+AngThrufWyTOEL2hQ8N KHR9IKL8P0vmvyU1txNOI82KT5jMPHUmHe9F1nWeA/7+5K6Tr8+4pvzmE/vI1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=emcEAa9V; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=emcEAa9V; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 5813C145D3 X-Spam-Score: -2.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: tIRGYYuprTFF Hi all, This has been discussed a few times on #guix, with some having success, but= mostly it seems not. The issue is having a swapfile (maybe also for partit= ion?) on Btrfs and swap not being activated on boot. In my case, I can manu= ally start with `sudo herd start swap-/swap/swapfile` and it will work fine= . There might be an issue with when different filesystems are loaded with B= trfs subvolumes? I have my swap as a file on a subvolume. >From syslog, just before and after the only "swap" related message: Sep 23 13:09:31 localhost vmunix: [ 9.424364] shepherd[1]: Service udev = has been started. Sep 23 13:09:31 localhost vmunix: [ 9.424466] Unable to find swap-space = signature Sep 23 13:09:31 localhost vmunix: [ 9.424912] shepherd[1]: Service user-= file-systems has been started. Sep 23 13:09:31 localhost vmunix: [ 9.443245] shepherd[1]: Service file-= system-/swap has been started. Sep 23 13:09:31 localhost vmunix: [ 9.454002] shepherd[1]: Service file-= system-/var/log has been started. Sep 23 13:09:31 localhost vmunix: [ 9.464911] shepherd[1]: Service file-= system-/home has been started. Checking the status of the service shows: It is stopped. It is enabled. Provides (swap-/swap/swapfile). Requires (udev). Conflicts with (). Will not be respawned. This is the file-systems and swap part of my system configuration: (file-systems (append (list (file-system (device (file-system-label "system")) (mount-point "/") (type "btrfs") (flags '(no-atime)) (options "subvol=3Droot,compress=3Dlzo,ssd")) (file-system (device (file-system-label "system")) (mount-point "/swap") (type "btrfs") (flags '(no-atime)) (options "subvol=3Dswap,ssd")) (file-system (device (file-system-label "system")) (mount-point "/gnu/store") (type "btrfs") (flags '(no-atime)) (options "subvol=3Dgnu-store,compress=3Dlzo,ssd")) (file-system (device (file-system-label "system")) (mount-point "/var/log") (type "btrfs") (flags '(no-atime)) (options "subvol=3Dvar-log,compress=3Dlzo,ssd")) (file-system (device (file-system-label "system")) (mount-point "/home") (type "btrfs") (flags '(no-atime)) (options "subvol=3Dhome,compress=3Dlzo,ssd")) (file-system (device (uuid "5989-F926" 'fat)) (mount-point "/boot/efi") (type "vfat"))) %base-file-systems)) (swap-devices (list "/swap/swapfile")) Hope this is helpful in tracking down what is happening, I know I'm not alo= ne in this issue. John