There were error(s) loading the rules: /tmp/rules.debug



  • After an upgrade or even a simple reboot, this error message appears. I have a very simple traffic shaper set up using the wizard.

    There were error(s) loading the rules: /tmp/rules.debug:51: errors in queue definition - The line in question reads [51]: queue qInternet on em1 bandwidth 22.8Mb hfsc ( ecn , linkshare 22.8Mb , upperlimit 22.8Mb ) { qACK, qP2P, qVoIP, qOthersHigh, qOthersLow } @ 2016-02-26 07:15:47
    

    Running pfctl -f /tmp/rules.debug produces no output.


  • Rebel Alliance Developer Netgate

    If it loads OK with "pfctl -f /tmp/rules.debug" then it may be related to the hardware/switch and whether or not the NIC has a working link during the first filter reload. What type of WAN is that? If the upstream doesn't bring the link up fast enough I could maybe see that happening (e.g. switch with STP not set for portfast, box boots up really quickly) but even that's a bit of a stretch since it should be assuming a link speed in that case.

    Anything noteworthy before or after that error in the main system log?



  • Possibly similar to this bug?


  • Rebel Alliance Developer Netgate

    Possible but unlikely – I've never seen that happen to an em, only re and lagg-based setups.

    Also I've only seen that where the WAN bandwidth was set >100M