From owner-freebsd-bugs@freebsd.org Wed May 29 22:56:13 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FC0615AFD03 for ; Wed, 29 May 2019 22:56:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id ED6958B574 for ; Wed, 29 May 2019 22:56:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id ADAE415AFD02; Wed, 29 May 2019 22:56:12 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8664315AFD01 for ; Wed, 29 May 2019 22:56:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18B648B571 for ; Wed, 29 May 2019 22:56:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3E5A41D132 for ; Wed, 29 May 2019 22:56:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4TMuB7B005472 for ; Wed, 29 May 2019 22:56:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4TMuB7m005471 for bugs@FreeBSD.org; Wed, 29 May 2019 22:56:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 238226] Vagrant images: Bootstrap not working / The disk is not being resized Date: Wed, 29 May 2019 22:56:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dbaio@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2019 22:56:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238226 Bug ID: 238226 Summary: Vagrant images: Bootstrap not working / The disk is not being resized Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: dbaio@freebsd.org Hi. Bootstrap is not working anymore, at least in Vagrant virtualbox 12.0-STABLE and 13-CURRENT. This started happening after base r346959 (Reduce the default image size for virtual machine disk images from 30GB to 3GB...) vagrant@freebsd:~ % uname -UK 1200510 1200510 vagrant@freebsd:~ % df -h Filesystem Size Used Avail Capacity Mounted on /dev/gpt/rootfs 2.9G 2.6G 35M 99% / devfs 1.0K 1.0K 0B 100% /dev root@freebsd:~ # pkg info The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: N # pkg bootstrap -y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest, please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: 100% # pkg install -y firstboot-freebsd-update firstboot-pkgs sudo rsync virtualbox-ose-additions-nox11 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 8 package(s) will be affected (of 0 checked): New packages to be INSTALLED: firstboot-freebsd-update: 1.2 firstboot-pkgs: 1.5 sudo: 1.8.27_1 rsync: 3.1.3 virtualbox-ose-additions-nox11: 5.2.30 gettext-runtime: 0.19.8.1_2 indexinfo: 0.3.1 libiconv: 1.14_11 Number of packages to be installed: 8 The process will require 10 MiB more space. 2 MiB to be downloaded. pkg: Not enough space in /var/cache/pkg, needed 2239 KiB available = -29 MiB root@freebsd:~ # df -h Filesystem Size Used Avail Capacity Mounted on /dev/gpt/rootfs 2.9G 2.7G -29M 101% / devfs 1.0K 1.0K 0B 100% /dev root@freebsd:~ # cat /etc/rc.conf hostname=3D"freebsd" firstboot_freebsd_update_enable=3DYES firstboot_pkgs_enable=3DYES firstboot_pkgs_list=3D"sudo rsync virtualbox-ose-additions-nox11" vboxguest_enable=3D"YES" vboxservice_enable=3D"YES" ifconfig_DEFAULT=3D"SYNCDHCP" sshd_enable=3D"YES" sendmail_enable=3D"NO" sendmail_submit_enable=3D"NO" sendmail_outbound_enable=3D"NO" sendmail_msp_queue_enable=3D"NO" There is no growfs_enable in it, probably that is the issue as pointed out = in #232313#c30 . I am resizing the disk through Vagrantfile. Regards. --=20 You are receiving this mail because: You are the assignee for the bug.=