Summary: | SELinux handbook should cover labeling swapfile | ||
---|---|---|---|
Product: | Documentation | Reporter: | Andrew Ross (RETIRED) <aross> |
Component: | Project-specific documentation | Assignee: | SE Linux Bugs <selinux> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/hardened/selinux/selinux-handbook.xml?part=2&chap=3 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrew Ross (RETIRED)
2007-11-19 01:14:45 UTC
Added to hardened-docs overlay. I chose to use ~# semanage fcontext -a -t swapfile_t "/swapfile" ~# restorecon /swapfile instead, so that even when a full file system relabelling (including customizable types) is done, the setting is still preserved. Its at http://www.gentoo.org/proj/en/hardened/selinux/selinux-handbook.xml?full=1 in "Label the File System" Code listing 2.9 |