Bug 140981 - /selinux is not allowed by the Filesystem Hierarchy Standard
Summary: /selinux is not allowed by the Filesystem Hierarchy Standard
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libselinux
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Mike McLean
URL: http://www.pathname.com/fhs/pub/fhs-2...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-27 11:36 UTC by taj
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-11-29 01:21:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.