* postgresql patch
@ 2008-08-14 12:50 Daniel J Walsh
2008-08-14 15:16 ` Christopher J. PeBenito
0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Walsh @ 2008-08-14 12:50 UTC (permalink / raw)
To: Christopher J. PeBenito, SE Linux
[-- Attachment #1: Type: text/plain, Size: 44 bytes --]
New location for log files
Uses hugetblfs.
[-- Attachment #2: services_postgresql.patch --]
[-- Type: text/plain, Size: 1029 bytes --]
--- nsaserefpolicy/policy/modules/services/postgresql.fc 2008-08-07 11:15:11.000000000 -0400
+++ serefpolicy-3.5.4/policy/modules/services/postgresql.fc 2008-08-11 16:39:48.000000000 -0400
@@ -34,6 +34,7 @@
/var/lib/sepgsql/pgstartup\.log -- gen_context(system_u:object_r:postgresql_log_t,s0)
/var/log/postgres\.log.* -- gen_context(system_u:object_r:postgresql_log_t,s0)
+/var/lib/pgsql/logfile(/.*)? gen_context(system_u:object_r:postgresql_log_t,s0)
/var/log/postgresql(/.*)? gen_context(system_u:object_r:postgresql_log_t,s0)
/var/log/sepostgresql\.log.* -- gen_context(system_u:object_r:postgresql_log_t,s0)
--- nsaserefpolicy/policy/modules/services/postgresql.te 2008-08-07 11:15:11.000000000 -0400
+++ serefpolicy-3.5.4/policy/modules/services/postgresql.te 2008-08-11 16:39:48.000000000 -0400
@@ -186,6 +189,7 @@
fs_getattr_all_fs(postgresql_t)
fs_search_auto_mountpoints(postgresql_t)
+fs_rw_hugetlbfs_files(postgresql_t)
selinux_get_enforce_mode(postgresql_t)
selinux_validate_context(postgresql_t)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: postgresql patch
2008-08-14 12:50 postgresql patch Daniel J Walsh
@ 2008-08-14 15:16 ` Christopher J. PeBenito
0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2008-08-14 15:16 UTC (permalink / raw)
To: Daniel J Walsh; +Cc: SE Linux
On Thu, 2008-08-14 at 08:50 -0400, Daniel J Walsh wrote:
> New location for log files
>
> Uses hugetblfs.
Merged.
> plain text document attachment (services_postgresql.patch)
> --- nsaserefpolicy/policy/modules/services/postgresql.fc 2008-08-07 11:15:11.000000000 -0400
> +++ serefpolicy-3.5.4/policy/modules/services/postgresql.fc 2008-08-11 16:39:48.000000000 -0400
> @@ -34,6 +34,7 @@
> /var/lib/sepgsql/pgstartup\.log -- gen_context(system_u:object_r:postgresql_log_t,s0)
>
> /var/log/postgres\.log.* -- gen_context(system_u:object_r:postgresql_log_t,s0)
> +/var/lib/pgsql/logfile(/.*)? gen_context(system_u:object_r:postgresql_log_t,s0)
> /var/log/postgresql(/.*)? gen_context(system_u:object_r:postgresql_log_t,s0)
> /var/log/sepostgresql\.log.* -- gen_context(system_u:object_r:postgresql_log_t,s0)
>
> --- nsaserefpolicy/policy/modules/services/postgresql.te 2008-08-07 11:15:11.000000000 -0400
> +++ serefpolicy-3.5.4/policy/modules/services/postgresql.te 2008-08-11 16:39:48.000000000 -0400
> @@ -186,6 +189,7 @@
>
> fs_getattr_all_fs(postgresql_t)
> fs_search_auto_mountpoints(postgresql_t)
> +fs_rw_hugetlbfs_files(postgresql_t)
>
> selinux_get_enforce_mode(postgresql_t)
> selinux_validate_context(postgresql_t)
--
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-14 15:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-14 12:50 postgresql patch Daniel J Walsh
2008-08-14 15:16 ` Christopher J. PeBenito
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.