bsdinstall(8) hiccups (resolver & entropy)

Dave Cottlehuber dch at skunkwerks.at
Mon Apr 15 11:12:51 UTC 2019


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


More information about the freebsd-questions mailing list