[CentOS] firewalld being stupid

Mon Nov 16 21:58:53 UTC 2015
Gordon Messmer <gordon.messmer at gmail.com>

On 11/16/2015 01:39 PM, Nick Bright wrote:
> This is very frustrating, and not obvious. If --permanent doesn't work 
> for a command, then it should give an error - not silently fail 
> without doing anything! 

But --permanent *did* work.

What you're seeing is the documented behavior:
        --permanent
            The permanent option --permanent can be used to set options
            permanently. These changes are not effective immediately, only
            after service restart/reload or system reboot. Without the
            --permanent option, a change will only be part of the runtime
            configuration.

            If you want to make a change in runtime and permanent
            configuration, use the same call with and without the 
--permanent
            option.