Red Hat Bugzilla – Bug 140981
/selinux is not allowed by the Filesystem Hierarchy Standard
Last modified: 2007-11-30 17:10:55 EST
"Applications must never create or require special files or
subdirectories in the root directory. Other locations in the FHS
hierarchy provide more than enough flexibility for any package."
warning: filesystem-2.3.0-1.x86_64.rpm: V3 DSA signature: NOKEY, key
Name : filesystem Relocations: (not relocatable)
Version : 2.3.0 Vendor: Red Hat, Inc.
Release : 1 Build Date: Thu 12 Aug
2004 11:02:09 AM MDT
Install Date: (not installed) Build Host:
Group : System Environment/Base Source RPM:
Size : 0 License: Public Domain
Signature : DSA/SHA1, Wed 20 Oct 2004 10:13:43 AM MDT, Key ID
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : The basic directory layout for a Linux system.
The filesystem package is one of the basic packages that is installed
on a Red Hat Linux system. Filesystem contains the basic directory
layout for a Linux operating system, including the correct permissions
for the directories.
/selinux <<-------- Not standard
I'm sure this bug will be closed but there should be a reason as there
appears to be no discussion about it on the FHS mail-lists.
Fixing this involves convincing the upstream SELinux maintainers
SELinux isn't an "application"; it's part of the OS, and the OS can
create any paths it wants to:
"Distributions should not create new directories in the root hierarchy
without extremely careful consideration of the consequences including
for application portability."
There's no application portability concerns, thus no issue.
But it would be useful to standardize /selinux in the upstream FHS.