sysutils/firstboot-freebsd-update: HTTP_TIMEOUT=5 If a system with firstboot_freebsd_update_enable="YES" boots without access to the FreeBSD Update mirrors (e.g. an EC2 instance which has an EC2 security group settings which block outbound HTTP) the boot will hang until it times out. The default timeout of 120 seconds is suboptimal. Run freebsd-update with a timeout of 5 seconds, and bump the package version to 1.4 to reflect this change. Reported by: mgrooms@shrew.net PR: 276720 Sponsored by: https://www.patreon.com/cperciva39126a2d97
Port details
sysutils/firstboot-freebsd-update 1.4
Update the system using freebsd-update when it first boots
Port info
- Maintainer
- cperciva@FreeBSD.org
- Packages
- latest: 1.4
- Upstream
- up to date
- Last update
- to 1.4 · 39126a2d97
- Quarterly
- 2026Q4: 1.4
- Links
- cgit · VuXML
Install
- Package
# pkg install firstboot-freebsd-updateinstalls 1.4 fromlatest; fromquarterly(2026Q4) 1.4- Port
# cd /usr/ports/sysutils/firstboot-freebsd-update && make install clean- Size
- 1.5 KiB download · 1.4 KiB installed
- Depends on
- nothing
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 1.4 | 1.4 | – |
| FreeBSD 15 | 1.4 | 1.4 | – |
| FreeBSD 14 | 1.4 | 1.4 | 1.4 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 1.4 | 1.4 | – |
| FreeBSD 14 | 1.4 | 1.4 | 1.4 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 1.4.Fixed (0)
No VuXML entries for this package.
Problem reports (1) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 290988 | maintainer-feedback? sysutils/firstboot-freebsd-update: does not work on pkgbase images | New | 2025-11-13 |
Commits (11)
sysutils/firstboot-freebsd-update: Add --not-running-from-cron On systems without a working console, running freebsd-update fetch from an rc script triggers the "should not be run non-interactively" error. Solve this by telling freebsd-update to skip that check. Reported by: Mike Bristow7d65d24dfd
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
- Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL - Add NO_ARCH Approved by: portmgr blanket6147e7195c
- minor cleanup - options in favor of using pre - extract_only to drop fetch target - no_install to drop install target PR: 199097 Submitted by: jgh Approved by: cperciva (maintainer)f2a02448a0
Teach the firstboot-freebsd-update script to disable itself if it is run on something other than *-BETA*, *-RC*, or *-RELEASE*. There won't be any bits available to download, and if we don't disable it then the first boot will be slowed down due to freebsd-update trying all of the available mirrors.042e134f95
To prevent fallout of lowering __FreeBSD_version in releng/10.0 branch, adjust OSVERSION evaluation in ports that specifically use '100050N'. Approved by: affected maintainers (implicit) Sponsored by: The FreeBSD Foundation0dd076723f
Set ${firstboot_freebsd_update_enable} to NO by default.
Bump version to 1.1 for the change.440ee7e0efUpdate for new __FreeBSD_version values with rc.d firstboot support.3160ffc247
Run 'freebsd-update fetch' when the system first boots; and if updates are downloaded, install them and request a reboot. Obviously, this port is not useful after a system is already running; it is intended to be included as part of the installation or disk image building process. PR: ports/183130 Submitted by: cperciva@FreeBSD.orgd592d67b0d