24.03-RC install long delays
-
@stephenw10 Would it help if I switched back to the last beta boot environment and re-ran the upgrade but this time from the console?
-
Yes a full console log showing exactly where it is triggered should narrow things down.
We should be able to replicate that here though.
-
@stephenw10 If you haven't replicated it by late this evening EDT, I can repeat the process then.
-
@jaltman said in 24.03-RC install long delays:
@stephenw10 If you haven't replicated it by late this evening EDT, I can repeat the process then.
Did you get the boot verification post-upgrade? Mine never prompted me despite every previous beta install. My 300 seconds was definitely exceeded by the time it took for this RC install.
-
@DefenderLLC The last three lines of my console output were
Netgate pfSense Plus 24.03-RC amd64 20240410-1729 Bootup complete Performing automatic boot verification...done.
-
@jaltman said in 24.03-RC install long delays:
@DefenderLLC The last three lines of my console output were
Netgate pfSense Plus 24.03-RC amd64 20240410-1729 Bootup complete Performing automatic boot verification...done.
I believe that's what mine said too. Just wondering if you were ever prompted in the GUI post-upgrade. I'm guessing that you weren't.
I was not prompted his time.
-
@DefenderLLC I was not prompted
-
To be clear you would only expect to see it if manual verification is set and it isn't by default.
-
@stephenw10 I do not have manual verification enabled
-
@stephenw10 Mine was already enabled for 300 seconds and I was never prompted in the GUI unlike the other 24.03 betas. As I mentioned on the other thread, I could have inadvertently verified it via console (if that's even possible) when I was frantically trying to establish a USB connection.
-
@DefenderLLC I appreciate that you have a different problem than I observed. I would appreciate it if discussion of that problem were held in a separate topic. Thanks.
-
@jaltman said in 24.03-RC install long delays:
@DefenderLLC I appreciate that you have a different problem than I observed. I would appreciate it if discussion of that problem were held in a separate topic. Thanks.
For the record, I also had the same problem as you. 10 minutes install on my 6100 MAX due to package failures. The main difference between our issues is Snort vs Suricata. They both appeared to be exhibiting similar issues during the upgrade.
-
@DefenderLLC Discussion of the delay problem is on topic. Discussion of manual boot verification is not. They are unrelated and hijacking my topic will make it more difficult for Netgate to obtain the necessary details to identify and fix the ordering of the package update process during a pfSense upgrade.
Please create a separate topic for "24.03-RC Manual Boot Verification failure" or something.
Thanks.
-
@jaltman But they MAY be related. I only brought that up to see if you were also not prompted for verification which is probably related to the unusually long install time. The last statement in console log support this theory.
Didn't mean to upset you, but we both have the same exact device experiencing the same exact issues.
-
Repliacted it and opened a bug:
-
@stephenw10 said in 24.03-RC install long delays:
Repliacted it and opened a bug:
Thanks, Steve! This explains it perfectly.
-
I have said it before and will say it again: Those updates for blocklists, DNSBL Feeds, Rule Sets, in short everything pulling from outside sources shouldn't be part of the upgrade process to begin with.
-
@Bob-Dig said in 24.03-RC install long delays:
shouldn't be part of the upgrade process to begin with
I've read somewhere in the past : "Before a pfSense upgrade, remove packages".
I'm not doing that. Most of us don't do that, I guess.
But it would accelerate upgrading for sure. -
That's the safest way to be sure. But it shouldn't normally be required.
-
@Bob-Dig The fetching of remote content are a step during the installation of the package. During an upgrade, the old package versions must be removed and the new package versions installed. This is because the old package binaries are linked against an older set of libraries that might not be present on the upgraded system. For example when the FreeBSD major version is updated as part of the pfSense upgrade.
The pfSense upgrade process isn't explicitly requesting the blocklists, DNSBL Feeds, Rule Sets, etc. Its just that when each package is installed with the prior configuration, it attempts to fetch the remote content required by the configuration.
Leaving the prior packages installed isn't an option. The question is when should packages be re-installed after a pfSense upgrade and the prior configuration is applied. It used to be that pfSense would upgrade, bring the network interfaces online and then begin to apply packages. The downside of this approach is that during the window after the network interfaces are active and the packages are fully re-installed the security posture of the router is incomplete. During that time there is an opportunity for unwanted traffic to pass.
The new Boot Environment upgrade process installs the packages before the network interfaces are configured. The theoretical benefit is that the router won't start with missing functionality. However, when the packages require fetching content as part of the installation this fails. If a security package such as snort, pfblockerng, suricata, etc is installed but doesn't obtain the required remote data, then not only will it fail to function properly when the network interfaces are brought up but its unclear how long it will be before the required data is fetched. For example I believe snort updates every six hours by default.
Perhaps there is a middle ground. @stephenw10, can the WAN interfaces be configured and brought online without the LAN interfaces and then perform the package installation? Doing so would permit the remote content to be obtained without allowing traffic to pass through the router until all of the packages are fully configured.