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

    Installed Packages Notification - pfSense+

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 4 Posters 2.5k 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.
    • GertjanG
      Gertjan @Gertjan
      last edited by

      As I have NUT installed : https://forum.netgate.com/topic/102959/nut-package/902?_=1658479094798 I should reveuive a mail as soon as the update is available.
      I'll post here when that happens.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @Gertjan
        last edited by Gertjan

        Finally, it happened :

        I got a mail :

        13:01:20 The following updates are available and can be installed using System > Package Manager:
        
        System_Patches: 2.0_6 ==> 2.0_7
        
        Some packages are part of the base system and will not show up in Package Manager. If any such updates are listed below, run `pkg upgrade` from the shell to install them:
        
        pfSense-pkg-System_Patches: 2.0_6 -> 2.0_7 [pfSense]
        

        The GUI showed :

        4b69114a-6594-41a8-a107-50a43f90c5c3-image.png

        edit : Hummmm, deception : it only offers one patch : Redmine #13424

        60a9ddb8-e2c3-4b26-b5a0-c7e6cc8180e4-image.png

        this is an issue I had build my own patch rule for weeks ago (which is now 'official') - I've ditched it, and activated the 'official', build in patch.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          @Gertjan Thank you for the post. I didn't even see the System_Patches package in the Package Manager. I've now installed it and it shows version 2.0_7. I can see the same Fix for CRL expiration lifetime default and maximum values (Redmine #13424) entry. I applied the patch and restarted pfSense as well.

          Here is the output of the patch when I applied it:
          afterPatch.png

          Here is the output to the Patch does not apply cleanly:
          patchDebugApply.png

          Here is the output to the Patch can revert cleanly:
          patchDebugRevert.png

          I'm not sure what to do at this point. Revert or not to Revert?
          recommendedSystemPatches.png

          As well, I'm wondering if this System_Patches package will notify the Admin of patches when they become available?

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @newUser2pfSense
            last edited by

            @newuser2pfsense said in Installed Packages Notification - pfSense+:

            As well, I'm wondering if this System_Patches package will notify the Admin of patches when they become available?

            When the pfSense package "System_Patches package" includes a new patch, its version number will change. It will go from 7 to 8. You will see this change in the GUI Dashboard, if you have the installed pfSense packages listed on the dashboard.

            But "System_Patches package will not send notifications.

            That why I mentioned this cron task above :

            05175ab8-799f-4e83-88af-1ff9a2d2d0cf-image.png

            and the script file pkg_check.php has to be placed in the /root/ folder.

            Now the cron task will execute twice a day, and send a notification when it finds something.

            I've got the file from here Auto update check, checks for updates to base system + packages and sends email alerts and modified it so it takes also in account pfSense PLus (22.05) specific updates like the "firmware".
            @luckman212 : you want a copy for your git ?

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

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

              @Gertjan At least the pkg_check.php file is reporting an update which is what I was wondering most of all.

              I'll post a different question concerning the Revert or Not to Revert.

              GertjanG 1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Don't revert. You already have that patch installed and it's recommended for 22.05.

                Steve

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

                  @stephenw10 Thanks for the reply Steve. I appreciate your response. I won't revert.

                  1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @newUser2pfSense
                    last edited by

                    @newuser2pfsense said in Installed Packages Notification - pfSense+:

                    I'll post a different question concerning the Revert or Not to Revert.

                    That is, when I upgraded to .7 version, the build in patch was marked as already installed.
                    Has I build my own several weeks ago to apply exacly the same thing.
                    I preferred to remove mine ( revert it ) and apply the 'official' one, and then delete my home made patch.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      If it shows as applied and can be reverted then whatever was previously applied must be identical to the included patch there.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by

                        I can confirm that it is working well under pfSense+ (Plus) version 22.05 here. One System patch applied. (red arrow)

                        gertjan version.jpg

                        gertjan packages list.jpg

                        Before I was also doing it manually over console with
                        (13) update from console

                        >>> Creating automatic rollback boot environment... done.
                        >>> Updating repositories metadata...
                        Updating pfSense-core repository catalogue...
                        Fetching meta.conf: . done
                        Fetching packagesite.pkg: . done
                        Processing entries: .. done
                        pfSense-core repository update completed. 14 packages processed.
                        Updating pfSense repository catalogue...
                        Fetching meta.conf: . done
                        Fetching packagesite.pkg: .......... done
                        Processing entries: .......... done
                        pfSense repository update completed. 542 packages processed.
                        All repositories are up to date.
                        Your packages are up to date
                        Netgate pfSense Plus - Netgate Device ID: "John Doe"
                        
                        
                        N 1 Reply Last reply Reply Quote 0
                        • N
                          newUser2pfSense @A Former User
                          last edited by

                          @dobby_ Thanks for verifying. I haven't had any notifications yet as all of my installed packages are still up to date. I'm just waiting for a package to update to see if I get the notification.

                          ? 1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @newUser2pfSense
                            last edited by

                            @newuser2pfsense

                            I haven't had any notifications yet as all of my installed
                            packages are still up to date.

                            The only notification was the small sign in the packages list.
                            pfSense webinterface > System > Advanced > Notifications
                            could be a nice place to test something out. Or? Realtime
                            on telegram or eMail report daily or weekly would also
                            there available.

                            GertjanG 1 Reply Last reply Reply Quote 0
                            • GertjanG
                              Gertjan @A Former User
                              last edited by

                              @dobby_ said in Installed Packages Notification - pfSense+:

                              could be a nice place to test something out. Or? Realtime
                              on telegram or eMail report daily or weekly would also
                              there available.

                              Read again this part.

                              No "help me" PM's please. Use the forum, the community will thank you.
                              Edit : and where are the logs ??

                              1 Reply Last reply Reply Quote 0
                              • GertjanG Gertjan referenced this topic on
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.