Where did rc.conf go?
-
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.
-
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.
-
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.
-
Snort should normally be started by /usr/local/etc/rc.d/snort.sh
Steve
-
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_packagesYou can follow the trail in these to see quickly what starts in what order and how…
-
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.