X-Loop: help-debbugs@HIDDEN Subject: bug#42315: `guix system vm-image` does not produce image with btrfs Resent-From: Jack Hill <jackhill@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 10 Jul 2020 20:35:02 +0000 Resent-Message-ID: <handler.42315.B.159441324318186 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 42315 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42315 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1jtzid-0004jG-21 for submit <at> 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 <jackhill@HIDDEN>) id 1jtzia-0004ip-Js for submit <at> 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 <jackhill@HIDDEN>) id 1jtzia-0000d0-Cf for bug-guix@HIDDEN; 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 <jackhill@HIDDEN>) id 1jtziY-0004iH-72 for bug-guix@HIDDEN; 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 <jackhill@HIDDEN>) id 1jtziW-0002O9-PF for bug-guix@HIDDEN; Fri, 10 Jul 2020 16:33:56 -0400 Date: Fri, 10 Jul 2020 16:33:56 -0400 (EDT) From: Jack Hill <jackhill@HIDDEN> X-X-Sender: jackhill@HIDDEN Message-ID: <alpine.DEB.2.20.2007101623530.5735@HIDDEN> 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@HIDDEN; 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) 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 <https://guix.gnu.org/manual/en/html_node/Invoking-guix-system.html>, 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)))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jack Hill <jackhill@HIDDEN> Subject: bug#42315: Acknowledgement (`guix system vm-image` does not produce image with btrfs) Message-ID: <handler.42315.B.159441324318186.ack <at> debbugs.gnu.org> References: <alpine.DEB.2.20.2007101623530.5735@HIDDEN> X-Gnu-PR-Message: ack 42315 X-Gnu-PR-Package: guix Reply-To: 42315 <at> debbugs.gnu.org Date: Fri, 10 Jul 2020 20:35:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 42315 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 42315: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42315 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 2 Feb 2021 17:17:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 02 12:17:35 2021 Received: from localhost ([127.0.0.1]:36105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l6zJ0-0004WI-0O for submit <at> debbugs.gnu.org; Tue, 02 Feb 2021 12:17:34 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:59510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jackhill@HIDDEN>) id 1l6zIu-0004Vz-Dy for control <at> debbugs.gnu.org; Tue, 02 Feb 2021 12:17:32 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <jackhill@HIDDEN>) id 1l6zIp-0000Bs-2f for control <at> debbugs.gnu.org; Tue, 02 Feb 2021 12:17:23 -0500 Date: Tue, 2 Feb 2021 12:17:22 -0500 (EST) From: Jack Hill <jackhill@HIDDEN> X-X-Sender: jackhill@HIDDEN To: control <at> debbugs.gnu.org Subject: Duplicate tickets for file system type in images Message-ID: <alpine.DEB.2.21.2102021216590.11419@HIDDEN> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) merge 45974 42315 Thanks
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.