We have SSL trust anchors in base, so make use of them when downloading
additional items after basic installation is done (even if the installer
used does not come with its own certs, so we can not verify trust
for set download).
When compiled with SMALLPROG (i.e. as part of a crunched ramdisk userland)
ftp(1) does not support https - so remove that option from sysinst and
only offer http in that case.
Should fix PR 60359.
Pull up the following revisions, requested by martin in ticket #327:
src/usr.sbin/sysinst/util.c 1.81
src/usr.sbin/sysinst/arch/evbarm/md.c 1.24
src/usr.sbin/sysinst/arch/evbarm/md.h 1.10
PR 60360: make the default /boot partition on evbarm 64MB if we need
the dtb set (the newer dtb files overflow the old 32mb default).
In ACPI environments where we do not need dtb installed, do not select
the set by default.
acpi(4): Leave Hyper-V rndsource attached.
This way, it will be reported through rndctl(8) rather than only by
grepping through dmesg, and rndctl(8) can control it, e.g. if it
turns out something is wrong with that but not with RDSEED on the
same virtual CPU, you can use `rndctl -Ed "Hyper-V OEM0"' to discount
it and the system will gather fresh samples from RDSEED instead.
The same problem could in principle happen with other removable
rndsources like ualea(4), and we don't really have a good way to deal
with that -- either to configure the system up front to discount a
hot-pluggable rndsource that hasn't yet been plugged in, or to
retroactively discount a removable rndsource that was already
removed. But this one isn't hot-pluggable or removable, so keeping
it around is enough to sidestep this problem.
ld.elf_so(1): Run concurrent dlopen/dlclose test a few more seconds.
More likely to provoke the problem this way. Still not 100% reliable
because the problem is a race condition, but better than having the
test unexpectedly pass half the time.
Also set a timeout of 20sec, since I've seen the test get into an
infinite loop sometimes and it's now supposed to complete in 5sec +
epsilon.
PR lib/59751: dlclose is not MT-safe depending on the libraries unloaded
Pull up the following revisions, requested by martin in ticket #324:
usr.sbin/sysinst/util.c 1.82,1.83
PR 60354: move the test and new message about optional sets missing
into the correct place so it only shows the message when we really
can not find the set.
This only applies to local files.
PR 60354: fix a stupid mistake in the previous change:
move the test and new message about optional sets missing into the
correct place so it only shows the message when we really can not
find the set.
ppp(4): Use 32-bit timeouts, not 64-bit timeouts.
The timeouts are checked every 15sec so there is no real need to
record starting and ending times in units of seconds with more than 5
bits of precision. So 32-bit starting and ending times are more than
enough. And there is surely no need for decades-long timeouts.
1. Clamp the timeouts in SPPPSETIDLETO(struct spppidletimeout) and
SPPPSETKEEPALIVE(struct spppkeepalivesettings) to INT32_MAX/2,
which is over 34 years worth of seconds.
(We should never have spent any effort on time_t compat for these:
we should have just left them at 32-bit! Oh well.)
2. Use time_uptime32, not time_uptime, since 32-bit unsigned
arithmetic is large enough to handle all the differences we will
encounter when timeouts are clamped to INT32_MAX/2 without any
risk of trouble from wraparound.
PR kern/60364: if_spppsubr.c uses nonportable 64-bit atomics
PR 60360: make the default /boot partition on evbarm 64MB if we need
the dtb set (the newer dtb files overflow the old 32mb default).
In ACPI environments where we do not need dtb installed, do not select
the set by default.
Pull up the following revisions, requested by martin in ticket #319:
x usr.sbin/sysinst/Makefile.inc 1.53
usr.sbin/sysinst/arch/amd64/Makefile 1.3
usr.sbin/sysinst/arch/i386/Makefile 1.3
usr.sbin/sysinst/arch/sparc64/Makefile 1.2
usr.sbin/sysinst/gpt.c 1.33
usr.sbin/sysinst/label.c 1.52
usr.sbin/sysinst/msg.mi.de 1.56-1.58
usr.sbin/sysinst/msg.mi.en 1.57-1.59
usr.sbin/sysinst/msg.mi.es 1.47-1.49
usr.sbin/sysinst/msg.mi.fr 1.50-1.52
usr.sbin/sysinst/msg.mi.pl 1.53-1.55
usr.sbin/sysinst/partman.c 1.58
usr.sbin/sysinst/util.c 1.79,1.80
sysinst(8): PR 60331, 60224, 60133, 60333, 60334:
various installer fixes:
- deal with the machine not having any disk available
[6 lines not shown]