Bug 140981

Summary: /selinux is not allowed by the Filesystem Hierarchy Standard
Product: [Fedora] Fedora Reporter: taj <taj>
Component: libselinuxAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: taj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.pathname.com/fhs/pub/fhs-2.3.html#THEROOTFILESYSTEM
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-29 01:21:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description taj 2004-11-27 11:36:02 UTC
filesystem-2.3.0-1.x86_64.rpm

http://www.pathname.com/fhs/pub/fhs-2.3.html#THEROOTFILESYSTEM

"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
ID 4f2a6fd2
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:
thor.perf.redhat.com
Group       : System Environment/Base       Source RPM:
filesystem-2.3.0-1.src.rpm
Size        : 0                                License: Public Domain
Signature   : DSA/SHA1, Wed 20 Oct 2004 10:13:43 AM MDT, Key ID
b44269d04f2a6fd2
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary     : The basic directory layout for a Linux system.
Description :
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.
/bin
/boot
/etc
/home
/initrd
/lib
/media
/mnt
/opt
/proc
/root
/sbin
/selinux <<-------- Not standard
/srv
/sys
/tmp
/usr
/var


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.

Comment 1 Bill Nottingham 2004-11-28 20:24:48 UTC
Fixing this involves convincing the upstream SELinux maintainers
otherwise.

Comment 2 Colin Walters 2004-11-29 01:21:47 UTC
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.