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

    Filer pkg bugs

    Scheduled Pinned Locked Moved pfSense Packages
    9 Posts 3 Posters 306 Views 4 Watching
    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.
    • luckman212L Offline
      luckman212 LAYER 8
      last edited by luckman212

      I know Filer is an old and rarely-used package, but it's one I recently started depending on. I really like having my custom scripts backed up as part of the config.xml

      I was wondering:

      • Is the Filer package still maintained?
      • I found a bug or two- should they go to redmine, github, here on forum, or /dev/null?
      • Are PRs accepted? I wanted to add a "Read and update files from disk" button that overwrites the XML saved in Filer with the current contents of the files on disk.
      dennypageD 2 Replies Last reply Reply Quote 1
      • tinfoilmattT Offline
        tinfoilmatt LAYER 8
        last edited by

        From the official docs:

        pfSense Package Development
        Submitting a Pull Request via GitHub

        From the official Redmine:

        CONTRIBUTING.md

        1 Reply Last reply Reply Quote 0
        • dennypageD Offline
          dennypage @luckman212
          last edited by

          @luckman212 said in Filer pkg bugs:

          Is the Filer package still maintained?

          It certainly looks like it's actively maintained:

          commit 558a2f1f17b1c0ff60f7bc98296bcd41b1997e2d
          Author: Marcos Mendoza <mmendoza@netgate.com>
          Date:   Thu Oct 30 14:39:54 2025 -0600
          
              sysutils/pfSense-pkg-filer: log_error() is deprecated, use logger()
          
          commit 01a02dd31a46125ef9f9ada0011b5d0a2bd68a86
          Author: Marcos Mendoza <mmendoza@netgate.com>
          Date:   Fri Jun 13 15:58:02 2025 -0600
          
              sysutils/pfSense-pkg-filer: bump version
          
          commit d675375fea06863576a66e5de4c135183c6f6058
          Author: Marcos Mendoza <mmendoza@netgate.com>
          Date:   Fri May 30 15:54:17 2025 -0600
          
              sysutils/pfSense-pkg-filer: use the XMLRPC plugins for HA sync. Implement #16231
          
          commit a4ac863b0b0e9a30bfeb47c887fbfe595efe147b
          Author: Luiz Souza <luiz@netgate.com>
          Date:   Tue Jan 7 11:46:29 2025 -0300
          
              Bump up the Copyright year.
          
          commit f008c8ca14a0c59c35a710cf0c92c3843ccc53a1
          Author: Marcos Mendoza <mmendoza@netgate.com>
          Date:   Mon May 6 18:59:19 2024 -0600
          
              sysutils/pfSense-pkg-filer: move to config accessors
          
          commit 8e9797ae55dd415e442c10cb0b3ee57638064df3
          Author: Luiz Otavio O Souza <luiz@netgate.com>
          Date:   Fri Feb 23 02:54:40 2024 -0300
          
              Update the years in the Copyright notice of all the Netgate files.
          
          commit 93fb96db595557b3875b866008d544bb6e2a9399
          Author: Christopher Cope <ccope@netgate.com>
          Date:   Sat Jul 15 20:36:31 2023 -0400
          
              sysutils/pfSense-pkg-filer: Update function name. Fixes #14553
          
          commit 3c5dd718f5947beffa173aa72c3f72478af9fbea
          Author: Reid Linnemann <rlinnemann@netgate.com>
          Date:   Thu Feb 9 09:33:11 2023 -0700
          
              Update Netgate copyright years to include 2023
          
          commit 7e93665197f342d2a585b1a3c9dcf0afdfab21e4
          Author: R. Christian McDonald <rcmcdonald91@gmail.com>
          Date:   Thu Sep 15 12:41:21 2022 -0400
          
              Update sysutils/pfSense-pkg-Filer PHP81. For #13446
          
          1 Reply Last reply Reply Quote 0
          • dennypageD Offline
            dennypage @luckman212
            last edited by

            @luckman212 said in Filer pkg bugs:

            found a bug or two

            Is one of them the fact that it eats the last newline in the file? 😊

            luckman212L 1 Reply Last reply Reply Quote 0
            • luckman212L Offline
              luckman212 LAYER 8 @dennypage
              last edited by luckman212

              @dennypage I did notice that but didn't quite consider it a "bug", more of a nuance. Regardless, it should probably not eat whitespace anywhere.

              dennypageD 1 Reply Last reply Reply Quote 1
              • dennypageD Offline
                dennypage @luckman212
                last edited by

                @luckman212 said in Filer pkg bugs:

                it should probably not eat whitespace anywhere

                Agreed.

                1 Reply Last reply Reply Quote 0
                • dennypageD Offline
                  dennypage
                  last edited by dennypage

                  FWIW, if the bugs end up frustrating you, you can also use system patches to essentially store files in the config. I do that for /conf/ntp-boot-time-servers and /boot/loader.conf.local. You have to set the patches as non auto-apply though.

                  luckman212L 1 Reply Last reply Reply Quote 1
                  • luckman212L Offline
                    luckman212 LAYER 8 @dennypage
                    last edited by

                    @dennypage Hmm - interesting overload usage there! Definitely never would have thought of that. Does it work for creating new files too? Or only modifying existing ones? Another good thing about Filer is that it supports setting file mode bits eg to make scripts executable etc.

                    dennypageD 1 Reply Last reply Reply Quote 0
                    • dennypageD Offline
                      dennypage @luckman212
                      last edited by dennypage

                      @luckman212 said in Filer pkg bugs:

                      @dennypage Hmm - interesting overload usage there! Definitely never would have thought of that. Does it work for creating new files too?

                      Yes, it works for creating files. In fact, that’s why you have to mark them as non auto apply—if you don’t, it keeps prepending another copy of the text each time an apply happens.

                      Edit: Back in front of a computer... Here are the patches I mentioned from my system:

                      --- /conf/ntp-boot-time-servers	1969-12-31 16:00:00.000000000 -0800
                      +++ /conf/ntp-boot-time-servers	2022-02-15 15:29:29.980757000 -0800
                      @@ -0,0 +1 @@
                      +192.168.230.32 192.168.230.33 192.168.230.34
                      
                      --- /boot/loader.conf.local.org	2024-04-23 08:00:00.000000000 -0700
                      +++ /boot/loader.conf.local	2024-04-23 08:00:00.000000000 -0700
                      @@ -0,0 +1,2 @@
                      +hint.mmcsd.0.disabled="1"
                      +legal.intel_ipw.license_ack=1
                      
                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post
                      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.