[ERROR ] Exception raised when processing __virtual__ function for salt.loaded.ext.module.selinux. Module will not be loaded: 'module' object has no attribute 'which' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1673, in process_virtual virtual = getattr(mod, virtual_func)() File "/var/cache/salt/minion/extmods/modules/selinux.py", line 50, in __virtual__ if not salt.utils.path.which(cmd): AttributeError: 'module' object has no attribute 'which' [WARNING ] salt.loaded.ext.module.selinux.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'selinux', please fix this.