selinux-refpolicy/policy/modules/services
Sven Vermeulen 84497cc8e8 Postgresql 9.2 connects to its unix stream socket
When starting postgresql, it fails with the (little saying) error message:
pg_ctl: could not start server

In the denials, we notice:
Nov 24 10:41:52 lerya kernel: [1628900.540506] type=1400
audit(1353750112.021:10143): avc:  denied  { connectto } for  pid=20481
comm="pg_ctl" path="/run/postgresql/.s.PGSQL.5432" ipaddr=...
scontext=system_u:system_r:postgresql_t tcontext=system_u:system_r:postgresql_t
tclass=unix_stream_socket

Hence, allow postgresql to connect to its own stream socket.

Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
2013-01-03 10:32:41 -05:00
..
metadata.xml
postgresql.fc Whitespace fixes from fc.subs changes. 2012-05-10 10:33:54 -04:00
postgresql.if Allow search within postgresql var directory for the stream connect interface 2012-10-09 10:21:09 -04:00
postgresql.te Postgresql 9.2 connects to its unix stream socket 2013-01-03 10:32:41 -05:00
ssh.fc Properly label all the ssh host keys 2012-12-07 00:15:59 -05:00
ssh.if Add ssh_signull interface from Fedora. 2011-12-15 08:37:15 -05:00
ssh.te Module version bump from Debian changes from Laurent Bigonville. 2012-12-07 00:46:27 -05:00
xserver.fc Drop /etc/rc.d/init.d/xfree86-common filecontext definition 2012-12-07 00:27:38 -05:00
xserver.if Rename new xserver interfaces. 2012-10-19 08:52:58 -04:00
xserver.te Module version bump from Debian changes from Laurent Bigonville. 2012-12-07 00:46:27 -05:00