Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 414276 Details for
Bug 562742
SELinux: services/postgresql.fc: Drop obsolete distro_gentoo block
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for SELinux policy
0001-services-postgresql.fc-Drop-obsolete-distro_gentoo-b.patch (text/plain), 1.19 KB, created by
Mira Ressel
on 2015-10-10 15:45:07 UTC
(
hide
)
Description:
Patch for SELinux policy
Filename:
MIME Type:
Creator:
Mira Ressel
Created:
2015-10-10 15:45:07 UTC
Size:
1.19 KB
patch
obsolete
>From 8d94e549707607cfbc6ef09bda5a1e4d871e2343 Mon Sep 17 00:00:00 2001 >From: Luis Ressel <aranea@aixah.de> >Date: Sat, 10 Oct 2015 17:22:24 +0200 >Subject: [PATCH] services/postgresql.fc: Drop obsolete distro_gentoo block > >Only some of the binaries in /usr/lib/postgresql-.../bin should be >marked postgresql_exec_t (e.g. pg_ctl), the others (e.g. psql) should >get a bin_t marking so they're user-accessible. refpolicy applies >correct labels since last year (commit 3738cf10), but this ifdef block >still overrides them on Gentoo. > >Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562742 >--- > policy/modules/services/postgresql.fc | 5 ----- > 1 file changed, 5 deletions(-) > >diff --git a/policy/modules/services/postgresql.fc b/policy/modules/services/postgresql.fc >index 2a1b1a3..d3bc4bb 100644 >--- a/policy/modules/services/postgresql.fc >+++ b/policy/modules/services/postgresql.fc >@@ -54,8 +54,3 @@ ifdef(`distro_redhat', ` > /var/run/postgresql(/.*)? gen_context(system_u:object_r:postgresql_var_run_t,s0) > > /var/run/postmaster.* gen_context(system_u:object_r:postgresql_var_run_t,s0) >- >-ifdef(`distro_gentoo',` >-/usr/lib/postgresql-.*/bin/.* -- gen_context(system_u:object_r:postgresql_exec_t,s0) >-') >- >-- >2.6.1 >
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 562742
: 414276