Actions
Bug #15638
closedBE verification fails after logging in before the boot process finishes
Start date:
Due date:
% Done:
100%
Estimated time:
Release Notes:
Default
Affected Plus Version:
24.11
Affected Architecture:
Description
On the first boot of a BE snapshot (e.g. after an upgrade), logging in too quickly causes BE verification to fail. Looking at the boot log over serial, this seems to happen because pfSense-upgrade exits with an error code:
Configuring filter for dynamic IPsec VPN hosts... done Starting CRON... done. Another instance is already running... Aborting! *** SYSTEM BOOT FAILURE *** System will reboot in 60 seconds... Failed Boot Environment: quick-20240722161228 Next Boot Environment: default R/r: Enter a recovery shell Any: Reboot immediately Enter an option:
The reason pfSense-upgrade errors out is because logging into the dashboard triggers an update check (enabled by default), hence the Another instance is already running
message.
Updated by Marcos M 5 months ago
Enabling verbose output with touch /verbose_rc
shows the following:
Starting CRON... + cd /tmp + /usr/sbin/cron -s + echo done. done. + errexit_on + zfs_on_root + /bin/kenv -q vfs.root.mountfrom + local '_mountfrom=zfs:pfSense/ROOT/quick-20240723104543' + [ zfs '=' zfs ] + set -e + /bin/rm -rf /usr/local/pkg/pf/CVS + /usr/local/bin/minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh + /usr/local/bin/minicron 300 /var/run/ipsec_keepalive.pid /usr/local/bin/ipsec_keepalive.php + /usr/local/bin/minicron 3600 /var/run/expire_accounts.pid '/usr/local/sbin/fcgicli -f /etc/rc.expireaccounts' + /usr/local/bin/minicron 86400 /var/run/update_alias_url_data.pid '/usr/local/sbin/fcgicli -f /etc/rc.update_alias_url_data' + /bin/chmod a+rw /tmp/. + /sbin/gmirror status + GMIRROR_STATUS='' + [ '' '!=' '' ] + [ -z '' ] + /usr/local/sbin/pfSense-upgrade -y -U -b 3 Another instance is already running... Aborting! + _boot_failure + errexit_off
Updated by Georgiy Tyutyunnik 5 months ago
triggered it once on 24.03 -> 24.08.a.20240607, can't reproduce now when updating to latest dev
tested on:
24.08-DEVELOPMENT (amd64)
built on Thu Aug 1 8:00:00 CEST 2024
FreeBSD 15.0-CURRENT
Updated by Jim Pingle 2 months ago
- Affected Plus Version changed from 24.08 to 24.11
Actions