Re: postgresql patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux