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

    Where did rc.conf go?

    General pfSense Questions
    4
    6
    2.9k
    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.
    • M
      MMacD
      last edited by

      Or, more generally, is pfsense's breakout of rc.conf documented somewhere?

      At the moment, I'm trying to discover where snort_enable should be.  I'm presuming that wherever it should be, it isn't, because while I can run snort by hand from the cmd line, it doesn't start automatically and can't be started from the gui.

      Although getting snort working is my immediate concern, I'm sure I'll have others in the future, so I'd like to know where the detailed changes are documented that have been made to stock freebsd.

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        rc.conf doesn't exist. Anything done there in stock FreeBSD is done elsewhere. Your problem with starting Snort has nothing to do with rc.conf, post info in the packages board.

        1 Reply Last reply Reply Quote 0
        • M
          MMacD
          last edited by

          I did post info there, but to no avail.

          I can start snort by hand, but it won't start from the gui and I'm trying to track down what's going on (or, probably,  not going on).  So I need documentation.

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

            Snort should normally be started by /usr/local/etc/rc.d/snort.sh

            Steve

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

              The places with most of the code are:
              /usr/local/etc/rc.d - package start/stop scripts that take the parameter start, stop or restart and are called to do the obvious.
              /usr/local/pkg - package code is installed here
              /usr/local/www - WebGUI code
              /etc/inc - scripts full of PHP subroutines
              The basic boot script sequence is:
              /etc/rc sets up the file system environment and other underlying stuff and (among other stuff) calls;
              /etc/rc.bootup
              /etc/rc.start_packages

              You can follow the trail in these to see quickly what starts in what order and how…

              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
              • C
                cmb
                last edited by

                Normally if a package doesn't start, by running the startup script in /usr/local/etc/rc.d/ via command line, you'll get something spit out that says why.

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