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

    System_Patches Package & Recommended Patch

    Scheduled Pinned Locked Moved pfSense Packages
    9 Posts 2 Posters 2.0k 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.
    • N
      newUser2pfSense
      last edited by newUser2pfSense

      I recently installed the System_Patches package from the Package Manager on pfSense 22.05. When I went to System > Patches, I could see that there was a recommended system patch:

      Fix for CRL expiration lifetime default and maximum values (Redmine #13424)

      I applied this patch and restarted pfSense. When I went back to System > Patches, the following was noted -

      I clicked on the Debug button and this was displayed:
      afterpatch.png

      I then clicked on "Patch does not apply cleanly (detail)" and this was diplayed:
      patchdebugapply.png

      I then clicked on "Patch can revert cleanly (detail)" and this was diplayed:
      patchdebugrevert.png

      What should I do? Revert or not to Revert?
      recommendedsystempatches.png

      Thanks for any suggestions.

      bingo600B 2 Replies Last reply Reply Quote 0
      • bingo600B
        bingo600 @newUser2pfSense
        last edited by

        @newuser2pfsense

        98bbe15b-970e-41ac-acca-1ac045c1e929-image.png

        Since the patch is already applied, it will NOT apply cleanly if patched again.
        The patch system expects (and compares) against an "unpatched source", and the "now already patched" source will not match the "unpatched source".
        So the patch will not apply cleanly (to an already patched source) ....

        It will revert cleanly, as the "now patched source" can be reversed to the unpatched source, by doing the patch "backwards".

        Note the Debug info : The patch is normal, and has already been applied.

        Hope this helps understanding the patch/diff function.

        /Bingo

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

        1 Reply Last reply Reply Quote 0
        • N
          newUser2pfSense
          last edited by newUser2pfSense

          @bingo600 Thank you for the reply as it makes sense. However, this leaves me with 2 questions -

          1. Should I Revert? If I Revert, will this cause any issues?
          2. Why would there be a recommended system patch, or even display of a patch, if the issue has already been patched or not an issue at all? It would seem that if the system was already patched, or not an issue, there would be no entry for this patch or it wouldn't allow you to try and patch it. [I hope that makes sense.]
          1 Reply Last reply Reply Quote 0
          • bingo600B
            bingo600 @newUser2pfSense
            last edited by

            @newuser2pfsense said in System_Patches Package & Recommended Patch:

            I applied this patch and restarted pfSense.

            1:
            You wrote that you applied that patch, in the first post.
            That's why it's already patched now ...

            2:
            It is always good to "seriously consider" to apply any Recommended Patch suggested in the System_Patches. Usually they contain important fixes.

            Ie. this one fixes a Certificate Expiration date rollover, and can if "Unpatched" make pfSense reject "Self generated" certificates with the default lifetime.
            There have been several reports of newly generated OpenVPN certificates, that was rejected when used ... Ie. a VPN user tried to connect to the OpenVPN Server on the pfSense.

            After reading the above, do you still consider to revert the patch ?? 😊

            /Bingo

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

            1 Reply Last reply Reply Quote 0
            • N
              newUser2pfSense
              last edited by

              @bingo600 So I must have this wrong then.

              1. In your initial post you state that, "Since the patch is already applied, it will NOT apply cleanly if patched again." So I applied a patch to my system that was already patched, unknowingly, doh! So should I "Revert", and if I "Revert", I'm wondering if there will be any issues with what was an already patched system? I'm just looking for an answer to if I should "Revert" or not.
              2. Why would the system allow you to patch itself when it's already patched? This should never happen.
              bingo600B 1 Reply Last reply Reply Quote 0
              • bingo600B
                bingo600 @newUser2pfSense
                last edited by bingo600

                @newuser2pfsense

                Re 1:
                It depends if you want to be affected by the Certificate rollover bug or not.
                I would not revert.

                But it's your choice ....

                2:
                I can't even see how you could apply the patch twice.
                On my system the apply disappears, when applied.

                /Bingo

                If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                pfSense+ 23.05.1 (ZFS)

                QOTOM-Q355G4 Quad Lan.
                CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                1 Reply Last reply Reply Quote 0
                • N
                  newUser2pfSense
                  last edited by

                  @bingo600 I've owned both, didn't like them, sold them. Love pfSense as it's much more friendly right out of the box. I'm staying with pfSense. šŸ‘

                  Here's what my System > Patches looks like now:
                  systemPatches.png

                  Originally when I installed the package from the Package Manager and then selected System > Patches, there was a button under the Apply column that I selected and it installed the patch; I don't remember the name of the button under the Apply column. After installing the patch, I selected the Debug button which displayed what I originally posted above.

                  Did I apply the patch to an already patched system?

                  bingo600B 1 Reply Last reply Reply Quote 0
                  • bingo600B
                    bingo600 @newUser2pfSense
                    last edited by bingo600

                    @newuser2pfsense

                    1:
                    No .... Well Debug might try to apply again.

                    2:
                    If i press Debug i get the same messages as your "image"
                    Seems like Debug would try to apply the patch, with some extra output.
                    And since it is already patched, it will fail. wo. doing any harm/changes.

                    If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                    pfSense+ 23.05.1 (ZFS)

                    QOTOM-Q355G4 Quad Lan.
                    CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                    LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                    1 Reply Last reply Reply Quote 1
                    • N
                      newUser2pfSense
                      last edited by

                      @bingo600 My biggest apprehension was applying a patch to an already patched system and what that could mean or for that matter do to my system.

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