Alix after 2.3.3-p1 upgrade version.patch is still 0
-
I upgraded my Alix, and it did reboot (uptime was only some minutes). But the dashboard still said 2.3.3-RELEASE.
/etc/version.patch had "0" in it???
But "pkg list" showed the various pfSense components at 2.3.3-1After looking around for a while, I rebooted (because that is what all good call-center support staff would tell me:). When it came back, /etc/version.patch had a "1" in it, and thus the dashboard shows the correct version as 2.3.3-RELEASE-p1.
What is going on there? I don't see what it is that write /etc/version.patch.
-
What is going on there? I don't see what it is that write /etc/version.patch.
I don't think anything writes there, it's like the install is incomplete until another reboot.
https://github.com/pfsense/FreeBSD-ports/blob/devel/security/pfSense/Makefile#L106
-
Good, so I am not going crazy. The usual process is that the system reboots and during the boot various code is unpacked - so the install is done in practice at that time. I would have thought that version.patch would get put into place at that time, along with other stuff to be added/updated in /etc, and thus would be visible in /etc in its proper upgraded state.
But I guess somehow version.patch is in some component pkg that only "does its thing" on the 2nd boot. Renato is likely to know the detail of all that process straight off the top of his head.