From 2677b72191205b329d4743d2cf0d5607091d18d0 Mon Sep 17 00:00:00 2001 From: rhatdan Date: Fri, 12 Oct 2012 15:26:44 -0400 Subject: [PATCH] libselinux: man: make selinux.8 mention service man pages We were listing a number of service man pages (like httpd_selinux) in the see also section of selinux.8. As that number of pages explodes it does not make sense to try to list them all. Instead tell people to use man -k selinux to find them. Signed-off-by: Eric Paris Acked-by: Dan Walsh --- libselinux/man/man8/selinux.8 | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/libselinux/man/man8/selinux.8 b/libselinux/man/man8/selinux.8 index 9f16f778..4835f2f0 100644 --- a/libselinux/man/man8/selinux.8 +++ b/libselinux/man/man8/selinux.8 @@ -69,14 +69,27 @@ Many domains that are protected by SELinux also include SELinux man pages explai All files, directories, devices ... have a security context/label associated with them. These context are stored in the extended attributes of the file system. Problems with SELinux often arise from the file system being mislabeled. This can be caused by booting the machine with a non SELinux kernel. If you see an error message containing file_t, that is usually a good indicator that you have a serious problem with file system labeling. -The best way to relabel the file system is to create the flag file /.autorelabel and reboot. system-config-securitylevel, also has this capability. The restorcon/fixfiles commands are also available for relabeling files. +The best way to relabel the file system is to create the flag file /.autorelabel and reboot. system-config-selinux, also has this capability. The restorcon/fixfiles commands are also available for relabeling files. .SH AUTHOR This manual page was written by Dan Walsh . .SH "SEE ALSO" -booleans(8), setsebool(8), selinuxenabled(8), togglesebool(8), restorecon(8), setfiles(8), ftpd_selinux(8), named_selinux(8), rsync_selinux(8), httpd_selinux(8), nfs_selinux(8), samba_selinux(8), kerberos_selinux(8), nis_selinux(8), ypbind_selinux(8) +booleans(8), setsebool(8), selinuxenabled(8), restorecon(8), setfiles(8), semanage(8), sepolicy(8) +.br +Every confined service on the system has a man page in the following format: +.br + +.B _selinux(8) + +For example, httpd has the +.B httpd_selinux(8) +man page. + +.B man -k selinux + +Will list all SELinux man pages. .SH FILES /etc/selinux/config