Description of problem: In selinux enforcement mode, bugzilla can not work. Version-Release number of selected component (if applicable): selinux-policy-targeted-3.0.8-47.fc8 bugzilla-3.0.2-0.fc8 How reproducible: always. Steps to Reproduce: 1.Installe bugzilla. 2.Use it. Actual results: Does not work. Expected results: Should work. Additional info: Bugzilla configured to use PostgreSQL.
Created attachment 254331 [details] avc errors (uniq)
Created attachment 254341 [details] Rules created by autid2allow A work around.
Comment of https://bugzilla.redhat.com/show_bug.cgi?id=375651#c1 is : avc errors (uniq)
Unconfirmed bug. Sorry but I begin with Selinux. I would play with system-config-selinux or setsebool before confirming this bug. Status change to close/INSUFFICIENT_DATA.
I adjusted some selinux booleans. But it's not enought.
Created attachment 254691 [details] avc error (uniq)
Created attachment 254701 [details] Rules created by autid2allow A work around.
Created attachment 254711 [details] dump of getsebool -a
Created attachment 254721 [details] bugzilla configuration /etc/bugzilla/localconfig
Fixed in selinux-policy-3.0.8-53.fc8
The current policy assumes that you will be using named pipes to communicate with a local mysql or postgres database.
This seems to work but I should do more test (I don't have enough time right now). I'll close the bug a little later after more test. Tested with selinux-policy-3.0.8-54.fc8 > The current policy assumes that you will be using named pipes to communicate with a local mysql or postgres database. If I remember correctly, the default configuration for allow_user_postgresql_connect is off. That's why I have connected to PostgreSQL thru 127.0.0.1.
Tested with selinux-policy-3.0.8-54.fc8, things seems to work well. Bug closed.