Ticket #544. Restore locking, seems w+ migh already lock the file sometimes. While there improve the locking to a read/write locking schema. Make the default locking a read only lock and if explicitly specified a write locking can be specified through LOCK_EX optional parameter to lock(). During config manipulation do the filesystem mounting in rw, if needed, before doing any locking to avoid possible problems and also to be consistent through out the code on the method used. Also update calls to config to lock exclusively where required.
Correct the shell for the admin account, this should be /etc/rc.initial. Not /bin/sh
Using binat for reflection rules created some NAT issues under certain circumstances. Use rdr with the bitmask address pool type instead.
Tag all config write cases with the username.
Include username of person making the change in config change description, and in the config itself.
Ensure the URL table file is not empty at this step.
Move RRD quality databases to reflect the gateway name instead of the interface name. This should prevent a flurry of duplicate butunused RRD files on 2.0 where we use the gateway names for the RRD file. Fix ticket #354
Change the exec() calls to mwexec, this supresses the rrdtool messages during boot if the rrd files have a newer timestamp then the attempt to update
fix up text
Don't load the package include files if the packages are out of sync, which can lead to the system not booting properly. Should help with ticket #267.
View revisions
Also available in: Atom