From owner-freebsd-questions@freebsd.org Mon Apr 15 11:12:51 2019 Return-Path: Delivered-To: freebsd-questions@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 034FF1570100 for ; Mon, 15 Apr 2019 11:12:51 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F32AA747D7 for ; Mon, 15 Apr 2019 11:12:48 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 875B02106A for ; Mon, 15 Apr 2019 07:12:42 -0400 (EDT) Received: from imap6 ([10.202.2.56]) by compute7.internal (MEProxy); Mon, 15 Apr 2019 07:12:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=mime-version:message-id:date:from:to:subject:content-type; s= fm2; bh=cn5T6SkZkGBE5jx1CP+cd1GIAKvKkAubE4rEK9xQDPw=; b=uVjmwO/g EJHucHSkSHEUWRLcs+bvfcbqviizxiqaWkGjj33/J4Y62xRLAikxpbZQ+0TGoOi3 hNCoWevdf9FobT+YWxpArtceR7dRjxrg1E9dSkjRywKnzW0YI7UZahbRqDmPbcCz wO9fbmk+79sI80m0esfirUaHPNOKwXFLYnBGyk8vkPITflixJlDXUQ/4roCN6/e8 dUnAsbRhtk4xkmbKIDcCwtFzNIsYa8EVogRUsZjjVA6nmbi9rHKwZ+5TElUaElin buUBw+4ieYjle3XeSnveblsNkZ7fSHeJp2vTPnNE8CwHUrEShQsK2waRIzXSgRzP /XL3JnbLE0gV4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=cn5T6SkZkGBE5jx1CP+cd1GIAKvKk AubE4rEK9xQDPw=; b=ZfLbGDxKHXQ8s1RPt+fnMCt4uWN6vHRz2AGiXUzIDPKlm MJrIb0TFdAbcSVWRtT7xRcDygHbR7JOSuhrDOd0lv0ckyzT0LnyMT615YYnnposX 11LXRnuKOdv7RUzH43wmkKcQwV8AZuwsO+Fieu6U/gxfrxMAznSDAvk3rrJ0PQO6 kxYhrw1x+QVIwL83KChBy49mIcckDK3IsFDsFViCvcAtPU73BHLFKfrDIN/oo4Ym U71baT+gpCb7byiejORtaybxYefDxCX9A0FzQvV9hvIEFnHQTOQgjEsgklzX1WyJ o8ylxyZouBYGn0DRmvtSiLyH4MDaaNboyEN2IzbOA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrvdelgdefjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdffrghvvgcuvehothhtlhgvhhhusggvrhdfuceouggthhesshhk uhhnkhifvghrkhhsrdgrtheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegutghhsehskh hunhhkfigvrhhkshdrrghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id F356682152; Mon, 15 Apr 2019 07:12:41 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-332-g22ddc6a-fmstable-20190412v1 Mime-Version: 1.0 X-Me-Personality: 20903217 Message-Id: <1097f8a1-1704-49b8-a7ec-b1916297befd@www.fastmail.com> Date: Mon, 15 Apr 2019 07:12:34 -0400 From: "Dave Cottlehuber" To: freebsd-questions Subject: bsdinstall(8) hiccups (resolver & entropy) Content-Type: text/plain X-Rspamd-Queue-Id: F32AA747D7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skunkwerks.at header.s=fm2 header.b=uVjmwO/g; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ZfLbGDxK; spf=pass (mx1.freebsd.org: domain of dch@skunkwerks.at designates 66.111.4.25 as permitted sender) smtp.mailfrom=dch@skunkwerks.at X-Spamd-Result: default: False [-6.01 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[skunkwerks.at:s=fm2,messagingengine.com:s=fm2]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[skunkwerks.at]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[skunkwerks.at:+,messagingengine.com:+]; MX_GOOD(-0.01)[in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; IP_SCORE(-3.43)[ip: (-9.20), ipnet: 66.111.4.0/24(-4.58), asn: 11403(-3.33), country: US(-0.06)]; MID_RHS_WWW(0.50)[]; RCVD_IN_DNSWL_LOW(-0.10)[25.4.111.66.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2019 11:12:51 -0000 Hi, I've been experimenting with a variety of ways to build a raw disk image with a zpool, suitable for cloud environments, from within an existing vendor-provided cloud image. This week's fiddle is using bsdinstall(8) which is working fine *except* that: # newaliases hands until a working /etc/resolv.conf is in place during the config stage, it needs a working resolver within the chroot,and newaliases hangs until I copy in a suitable one to /mnt/etc/resolv.conf. This all happens prior to my custom `bsdinstall script ..` running, is there a way to stuff that in there prior? # the final entropy stage fails I'm not quite sure why but I think this may be another chrooty problem with /dev/random. As I can modify the image later, skipping this is also an option, if there's no other solution. OK DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[] DEBUG: UNAME_S=[FreeBSD] UNAME_P=[amd64] UNAME_R=[12.0-RELEASE-p3] DEBUG: common.subr: Successfully loaded. DEBUG: f_debug_init: ARGV=[entropy] GETOPTS_STDARGS=[dD:] DEBUG: f_debug_init: debug=[1] debugFile=[] DEBUG: Running installation step: entropy *** Error code 1 Stop. make: stopped in /usr/home/dch/bsdinstall thanks! Dave