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

    Changing 2.3 product name -> fs set read-only?

    Scheduled Pinned Locked Moved Development
    4 Posts 4 Posters 1.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.
    • D Offline
      dneuhaeuser
      last edited by

      Hello,

      I discovered that in version 2.3 changing
      $g["product_name"] in the file "/etc/inc/globals.inc"  (or in file "globals_override.inc")
      to any other value than "pfSense"…

      ...results in root fs beeing re-mounted as read-only!?

      /dev/da0s1a on / (ufs, local, noatime, read-only, synchronous)
      

      is this a bug or a feature?

      –
      Regards
      Dennis

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

        Feature - there are lots of tests through the system that work out what the system is running as and do something (pfSense full install, nanoBSD, the old Live CD and so on). If you edit globals.inc to tell it tha it is not "pfSense" then I guess there are a lot of tests that no longer think you are on a full install. For some unknown string, the test is going to go down some path - seems it goes down the nanoBSD path for your case.

        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
        • jimpJ Offline
          jimp Rebel Alliance Developer Netgate
          last edited by

          Usually the platform (full vs NanoBSD) keys off platform name in /etc/platform which is not the same as $g["product_name"]. Perhaps you also changed /etc/platform and didn't notice until after you changed $g["product_name"] ?

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • T Offline
            TomTheOne
            last edited by

            Same discovered here  8)

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