Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2019 07:12:34 -0400
From:      "Dave Cottlehuber" <dch@skunkwerks.at>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   bsdinstall(8) hiccups (resolver & entropy)
Message-ID:  <1097f8a1-1704-49b8-a7ec-b1916297befd@www.fastmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1097f8a1-1704-49b8-a7ec-b1916297befd>