|
NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | OPTIONS | SEE ALSO | AUTHORS | COLOPHON |
|
|
|
SEMODULE_PACKAGE(8) System Manager's Manual SEMODULE_PACKAGE(8)
semodule_package - Create a SELinux policy module package.
semodule_package -o <output file> -m <module> [-f <file contexts>]
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.
# Build a policy package for a base module.
$ semodule_package -o base.pp -m base.mod -f file_contexts
# Build a policy package for a httpd module.
$ semodule_package -o httpd.pp -m httpd.mod -f httpd.fc
# Build a policy package for local TE rules and no file contexts.
$ semodule_package -o local.pp -m local.mod
-o --outfile <output file>
Policy module package file generated by this tool.
-s --seuser <seuser file>
seuser file to be included in the package.
-u --user_extra <user extra file>
user_extra file to be included in the package.
-m --module <Module file>
Policy module file to be included in the package.
-f --fc <File context file>
File contexts file for the module (optional).
-n --nc <netfilter context file>
netfilter context file to be included in the package.
-h --help
Show help message.
checkmodule(8), semodule(8), semodule_unpackage(8)
This manual page was written by Dan Walsh <[email protected]>.
The program was written by Karl MacMillan <[email protected]>
This page is part of the selinux (Security-Enhanced Linux user-
space libraries and tools) project. Information about the project
can be found at ⟨https://github.com/SELinuxProject/selinux/wiki⟩.
If you have a bug report for this manual page, see
⟨https://github.com/SELinuxProject/selinux/wiki/Contributing⟩.
This page was obtained from the project's upstream Git repository
⟨https://github.com/SELinuxProject/selinux⟩ on 2025-08-11. (At
that time, the date of the most recent commit that was found in
the repository was 2025-08-04.) If you discover any rendering
problems in this HTML version of the page, or you believe there is
a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
[email protected]
Security Enhanced Linux Nov 2005 SEMODULE_PACKAGE(8)
Pages that refer to this page: checkmodule(8), semodule(8), semodule_unpackage(8)