Bug 1614763 - please fix /var/lib/pgsql/data/log label to postgresql_log_t
Summary: please fix /var/lib/pgsql/data/log label to postgresql_log_t
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1585513 1614737
Blocks: 1614738
TreeView+ depends on / blocked
 
Reported: 2018-08-10 11:15 UTC by Pavel Raiskup
Modified: 2018-08-16 08:06 UTC (History)
18 users (show)

Fixed In Version: selinux-policy-3.14.1-40.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1614737
Environment:
Last Closed: 2018-08-16 08:06:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Raiskup 2018-08-10 11:15:17 UTC
Proposed patch:

--- serefpolicy-3.13.1/policy/modules/services/postgresql.fc    2017-03-07 16:50:52.176395677 +0100
+++ serefpolicy-3.13.1/policy/modules/services/postgresql.fc.new        2018-08-10 13:13:35.443553226 +0200
@@ -37,6 +37,7 @@
 /var/lib/pgsql/logfile(/.*)?           gen_context(system_u:object_r:postgresql_log_t,s0)
 /var/lib/pgsql/.*\.log                 gen_context(system_u:object_r:postgresql_log_t,s0)
 /var/lib/pgsql/data/pg_log(/.*)?       gen_context(system_u:object_r:postgresql_log_t,s0)
+/var/lib/pgsql/data/log(/.*)?          gen_context(system_u:object_r:postgresql_log_t,s0)
 
 /var/lib/sepgsql(/.*)?                 gen_context(system_u:object_r:postgresql_db_t,s0)
 /var/lib/sepgsql/pgstartup\.log        --      gen_context(system_u:object_r:postgresql_log_t,s0)


+++ This bug was initially created as a clone of Bug #1614737 +++

Comment 1 Fedora Update System 2018-08-10 17:56:40 UTC
selinux-policy-3.14.1-40.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-46564d0139

Comment 2 Fedora Update System 2018-08-14 22:40:33 UTC
selinux-policy-3.14.1-40.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-46564d0139

Comment 3 Fedora Update System 2018-08-16 08:06:16 UTC
selinux-policy-3.14.1-40.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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