Hi,
I wrote the sefcontext module.
The sefcontext module is roughly the functionality that 'semanage
fcontext' provides you. It allows you to add SELinux file context
mappings to the internal database.
Now, the module is not intended to change file contexts based on the
mapping, just like 'semanage fcontext' does not do. (See man semanage)
As you said, you can do this with restorecon, or the file module, or
simply making sure that you first create the required file contexts before
you start using the locations, in which case the SELinux file contexts
will be applied automatically to new files.
The reload option is there to reload the SELinux policy after making
changes. And it is by default turned on because that's what most people
would expect. (It makes the changes active immediately to be used)
PS If the documentation was confusing, let me know what you would change
to it to make things more obvious. I am all for improving things !
Kind regards,
--
Dag