Home | History | Annotate | Download | only in semanage

Lines Matching defs:module

314                 raise ValueError(_("Could not get module name"))
318 raise ValueError(_("Could not get module enabled"))
322 raise ValueError(_("Could not get module priority"))
326 raise ValueError(_("Could not get module lang_ext"))
347 print "\n%-25s %-9s %s\n" % (_("Module Name"), _("Priority"), _("Language"))
359 raise ValueError(_("Module does not exists %s ") % file)
369 def set_enabled(self, module, enable):
370 for m in module.split():
373 raise ValueError(_("Could not create module key"))
377 raise ValueError(_("Could not set module key name"))
382 raise ValueError(_("Could not enable module %s") % m)
384 raise ValueError(_("Could not disable module %s") % m)
392 def delete(self, module, priority):
397 for m in module.split():
400 raise ValueError(_("Could not remove module %s (remove failed)") % m)
464 import sepolgen.module as module
466 raise ValueError(_("The sepolgen python module is required to setup permissive domains.\nIn some distributions it is included in the policycoreutils-devel patckage.\n# yum install policycoreutils-devel\nOr similar for your distro."))
476 raise ValueError(_("Could not set permissive domain %s (module installation failed)") % name)