{"id":3659,"date":"2022-12-20T17:19:42","date_gmt":"2022-12-20T20:19:42","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/semodule_package-man8-2\/"},"modified":"2022-12-20T17:19:42","modified_gmt":"2022-12-20T20:19:42","slug":"semodule_package-man8-2","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/semodule_package-man8-2\/","title":{"rendered":"SEMODULE_PACKAGE (man8)"},"content":{"rendered":"<h1 align=\"center\">SEMODULE_PACKAGE<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#EXAMPLE\">EXAMPLE<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">semodule_package \u2212 Create a SELinux policy module package.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>semodule_package \u2212o <output file> \u2212m <module> [\u2212f <file contexts>]<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">semodule_package is the tool used to create a SELinux policy module package from a binary policy module and optionally other data such as file contexts. semodule_package packages binary policy modules created by checkmodule. The policy package created by semodule_package can then be installed via semodule.<\/p>\n<h2>EXAMPLE <a name=\"EXAMPLE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"># Build a policy package for a base module. <br \/> $ semodule_package \u2212o base.pp \u2212m base.mod \u2212f file_contexts <br \/> # Build a policy package for a httpd module. <br \/> $ semodule_package \u2212o httpd.pp \u2212m httpd.mod \u2212f httpd.fc <br \/> # Build a policy package for local TE rules and no file contexts. <br \/> $ semodule_package \u2212o local.pp \u2212m local.mod<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212o \u2212\u2212outfile <output file><\/b><\/p>\n<p style=\"margin-left:22%;\">Policy module package file generated by this tool.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212s \u2212\u2212seuser <seuser file><\/b><\/p>\n<p style=\"margin-left:22%;\">seuser file to be included in the package.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212u \u2212\u2212user_extra <user extra file><\/b><\/p>\n<p style=\"margin-left:22%;\">user_extra file to be included in the package.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212m \u2212\u2212module <Module file><\/b><\/p>\n<p style=\"margin-left:22%;\">Policy module file to be included in the package.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212f \u2212\u2212fc <File context file><\/b><\/p>\n<p style=\"margin-left:22%;\">File contexts file for the module (optional).<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212n \u2212\u2212nc <netfilter context file><\/b><\/p>\n<p style=\"margin-left:22%;\">netfilter context file to be included in the package.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>checkmodule(8), semodule(8), semodule_unpackage(8)<\/b><\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This manual page was written by Dan Walsh <dwalsh@redhat.com>. <br \/> The program was written by Karl MacMillan <kmacmillan@tresys.com><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  semodule_package \u2212 Create a SELinux policy module package. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,774],"class_list":["post-3659","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-semodule_package"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3659"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3659\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}