OS Manuals

/usr/bin/semodule_package

SELinux policy semodule-utils

From semodule-utils 3.11-r2 (enterprise-packages), captured 2026-11-09 by running semodule_package --help (exit 0). permalink

usage: /usr/bin/semodule_package -o <output file> -m <module> [-f <file contexts>]
Options:
  -o --outfile		Output file (required)
  -m --module		Module file (required)
  -f --fc		File contexts file
  -s --seuser		Seusers file (only valid in base)
  -u --user_extra	user_extra file (only valid in base)
  -n --nc		Netfilter contexts file
  -h --help		Show this help message
Options (7)
OptionDescriptionSource
-o --outfilePolicy module package file generated by this tool.help + man
-m --modulePolicy module file to be included in the package.help + man
-f --fcFile contexts file for the module (optional).help + man
-s --seuserseuser file to be included in the package.help + man
-u --user_extrauser_extra file to be included in the package.help + man
-n --ncnetfilter context file to be included in the package.help + man
-h --helpShow this help messagehelp + man
Examples (4) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.