Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Alix after 2.3.3-p1 upgrade version.patch is still 0

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 907 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      phil.davis
      last edited by

      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-1

      After 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.

      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        @phil.davis:

        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

        1 Reply Last reply Reply Quote 0
        • P Offline
          phil.davis
          last edited by

          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.

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.