Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 867981 Details for
Bug 912354
Disallow subdirs in /bin and its friends (PG 0201)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for policy guide
0001-filesystem-Disallow-subdirs-in-bin-and-its-friends-P.patch (text/plain), 1.63 KB, created by
Ulrich Müller
on 2023-08-16 11:49:28 UTC
(
hide
)
Description:
Patch for policy guide
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2023-08-16 11:49:28 UTC
Size:
1.63 KB
patch
obsolete
>From c53572d2978c06a580e4984e5316d0da36f041cc Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@kph.uni-mainz.de> >Date: Wed, 16 Aug 2023 13:26:37 +0200 >Subject: [PATCH] filesystem: Disallow subdirs in /bin and its friends (PG > 0201) >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The FHS says that directories /bin, /sbin and their counterparts in >/usr don't contain any subdirectories: >https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s04.html#requirements2 >https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s16.html#requirements8 >https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s04.html#requirements9a >https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s10.html#requirements10a > >Packages that need specific subdirs for binaries should install them >in /usr/lib* or /usr/libexec. > >Bug: https://bugs.gentoo.org/912354 >Signed-off-by: Ulrich Müller <ulm@kph.uni-mainz.de> >--- > filesystem.rst | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/filesystem.rst b/filesystem.rst >index 52e20a3..f3b8cdf 100644 >--- a/filesystem.rst >+++ b/filesystem.rst >@@ -27,6 +27,8 @@ directories: > - /usr > - /var > >+There must be no subdirectories in /bin and /sbin. >+ > Furthermore, only the following subdirectories of /usr are permitted: > > .. hlist:: >@@ -41,6 +43,8 @@ Furthermore, only the following subdirectories of /usr are permitted: > - /usr/src > - /usr/<triplet> > >+There must be no subdirectories in /usr/bin and /usr/sbin. >+ > Furthermore, within /usr/share/doc hierarchy only a subdirectory named > after full package name and version with revision (PF) is permitted. > >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 912354
: 867981 |
867982