From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6EkvEgLRCF/rfwAA0tVLHw (envelope-from ) for ; Fri, 10 Jul 2020 20:35:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yA4vDgLRCF8WFwAAB5/wlQ (envelope-from ) for ; Fri, 10 Jul 2020 20:35:14 +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 CD191940F3A for ; Fri, 10 Jul 2020 20:35:13 +0000 (UTC) Received: from localhost ([::1]:35140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtzjk-0000sa-9B for larch@yhetil.org; Fri, 10 Jul 2020 16:35:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtzja-0000qJ-Pk for bug-guix@gnu.org; Fri, 10 Jul 2020 16:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60197) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtzja-0004oS-GD for bug-guix@gnu.org; Fri, 10 Jul 2020 16:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtzja-0004ke-Cl for bug-guix@gnu.org; Fri, 10 Jul 2020 16:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42315: `guix system vm-image` does not produce image with btrfs Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 10 Jul 2020 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42315 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42315@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159441324318186 (code B ref -1); Fri, 10 Jul 2020 20:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jul 2020 20:34:03 +0000 Received: from localhost ([127.0.0.1]:43510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtzid-0004jG-21 for submit@debbugs.gnu.org; Fri, 10 Jul 2020 16:34:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:50370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtzia-0004ip-Js for submit@debbugs.gnu.org; Fri, 10 Jul 2020 16:34:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtzia-0000d0-Cf for bug-guix@gnu.org; Fri, 10 Jul 2020 16:34:00 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:41072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtziY-0004iH-72 for bug-guix@gnu.org; Fri, 10 Jul 2020 16:34:00 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jtziW-0002O9-PF for bug-guix@gnu.org; Fri, 10 Jul 2020 16:33:56 -0400 Date: Fri, 10 Jul 2020 16:33:56 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/10 16:33:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Spam-Score: -1.01 X-TUID: i/t9p6eG1Smx Hi Guix, I'm using guix from commit: ec4c404c0575b340a04b3922fb828ac5417832dd I want to create a vm-image with a btrfs filesystem. Following the manual for Invoking guix system , I ran: `guix system vm-image --image-size=120GB -t btrfs vm-config.scm` with the operating system config below. It produced a working vm image. However, the root file system was ext4. Is this supposed to work, or did I misunderstand the documentation? In an ideal world, I hope that this would work, but if we don't support it yet, I think that we should clarify the documentation, and make guix system vm-image error when passed a file system type it doesn't support. Best, Jack (use-modules (gnu) (guix)) (use-service-modules networking ssh) (use-package-modules bootloaders certs package-management) (operating-system (host-name "guix") (timezone "America/New_York") (locale "en_US.utf8") (initrd-modules (cons "virtio_scsi" %base-initrd-modules)) ;; Label for the GRUB boot menu. (label (string-append "GNU Guix " (package-version guix))) (firmware '()) ;; Below we assume /dev/vda is the VM's hard disk. ;; Adjust as needed. (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/vda") (terminal-outputs '(console)))) (file-systems (cons (file-system (mount-point "/") (device "/dev/vda1") (type "btrfs") (flags '(no-atime)) (options "compress=zstd")) %base-file-systems)) (users (cons (user-account (name "jackhill") (comment "Jack Hill") (group "users") (supplementary-groups '("wheel" "netdev" %base-user-accounts)) ;; password-less sudo. (sudoers-file (plain-file "sudoers" "\ root ALL=(ALL) ALL %wheel ALL=NOPASSWD: ALL\n")) (packages (append (list nss-certs) %base-packages)) (services (append (list (service openssh-service-type (openssh-configuration (password-authentication? #f) (authorized-keys `(("jackhill" ,(local-file "/home/jackhill/.ssh/id_ed25519.pub")))))) ;; Use the DHCP client service rather than NetworkManager. (service dhcp-client-service-type)) %base-services)))