SEMODULE_PACKAGE(8)

πŸ“¦
version 3.11 Β· 2 versions
, in alpine 3.24, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ SEMODULE_PACKAGE(8) πŸŽ€

okay bestie, welcome to the SEMODULE_PACKAGE(8) manual page β€” she's giving System Manager's Manual energy and honestly? iconic. 🫢


✨ NAME ✨

semodule_unpackage β€” extract the policy module file and the file context file out of an SELinux policy module package. that's it, that's the whole job, and she does it flawlessly πŸ’…


✨ SYNOPSIS ✨

semodule_unpackage ppfile modfile [fcfile]

✨ DESCRIPTION ✨

so basically, semodule_unpackage is the little tool that pops open an SELinux Policy Package and pulls out two things for you:

  • the SELinux policy module file πŸ“¦
  • the file context file πŸ—‚οΈ

lowkey a whole unboxing video, no cap. it's giving "package, but make it contents". ✨


✨ EXAMPLE ✨

here's the vibe β€” extracting the httpd module file from the httpd policy package:

# Extract the httpd module file from httpd policy package.
$ semodule_unpackage httpd.pp httpd.mod httpd.fc

see how easy? ate that fr fr πŸ”₯


✨ SEE ALSO ✨


✨ AUTHORS ✨

  • this manual page was written by Dan Walsh <dwalsh@redhat.com> πŸ“
  • the program was written by Stephen Smalley <stephen.smalley.work@gmail.com> πŸ’»

and that's the whole page, bestie!! this beauty came from Security Enhanced Linux and she's dated Nov 2005 β€” vintage queen behavior, still slaying πŸ’–βœ¨πŸŽ€πŸ¦‹ no cap, mwah πŸ’