Re: [GENERAL] Can't start PostgreSQL on Fedora Core3

2005-03-09 Thread Ulrich Wisser
Lonni J Friedman wrote: selinux-policy-targeted-1.17.30-2.85 up2date insists that these packages are all up to date. And you're certain that you're using the targetted policy and not strict? To be frank, I am not. I have not the slightest idea what all that selinux is about (beside security in ge

Re: [GENERAL] Can't start PostgreSQL on Fedora Core3

2005-03-09 Thread Ulrich Wisser
Hi Tom, sudo /sbin/restorecon -R /var/lib/pgsql worked like a charm! Thank you very much! Ulrich -- Ulrich Wisser RELEVANT TRAFFIC SWEDEN AB, Riddarg 17A, SE-114 57 Sthlm, Sweden Direct (+46)86789755 || Cell (+46)704467893 || Fax (+46)86789769 __

Re: [GENERAL] Can't start PostgreSQL on Fedora Core3

2005-03-09 Thread Ian Pilcher
Tom Lane wrote: One problem is that selinux-policy-targeted updates don't necessarily propagate to the security labels of the individual files. Sounds like it might be a good idea to add a trigger to the PostgreSQL RPM to run restorecon when the SELinux policy is updated. -- ===

Re: [GENERAL] Can't start PostgreSQL on Fedora Core3

2005-03-09 Thread Tom Lane
Ulrich Wisser <[EMAIL PROTECTED]> writes: > it seems selinix doesn't like postgres. Can I uninstall selinux from > fedora savely? OR is there any way to make them both work together? They should work together as long as you have the latest PG RPMs (which it seems you do) and a reasonably recent s

Re: [GENERAL] Can't start PostgreSQL on Fedora Core3

2005-03-09 Thread Ian Pilcher
Ulrich Wisser wrote: Mar 9 14:20:33 localhost kernel: audit(1110374433.961:0): avc: denied { read } for pid=9251 exe=/usr/bin/postgres name=PG_VERSION dev=dm-1 ino=1255016 scontext=user_u:system_r:postgresql_t tcontext=root:object_r:var_lib_t tclass=file Try running 'restorecon -n -R -v /var

Re: [GENERAL] Can't start PostgreSQL on Fedora Core3

2005-03-09 Thread Lonni J Friedman
On Wed, 09 Mar 2005 14:38:06 +0100, Ulrich Wisser <[EMAIL PROTECTED]> wrote: > Sorry, > > of course I forgot to mention my installed version. Please find them below: > > postgresql-jdbc-7.4.7-3.FC3.1 > postgresql-odbc-7.3-8.FC3.1 > postgresql-test-7.4.7-3.FC3.1 > postgresql-devel-7.4.7-3.FC3.1 >

Re: [GENERAL] Can't start PostgreSQL on Fedora Core3

2005-03-09 Thread Ulrich Wisser
Sorry, of course I forgot to mention my installed version. Please find them below: postgresql-jdbc-7.4.7-3.FC3.1 postgresql-odbc-7.3-8.FC3.1 postgresql-test-7.4.7-3.FC3.1 postgresql-devel-7.4.7-3.FC3.1 postgresql-contrib-7.4.7-3.FC3.1 postgresql-python-7.4.7-3.FC3.1 postgresql-7.4.7-3.FC3.1 postgre

Re: [GENERAL] Can't start PostgreSQL on Fedora Core3

2005-03-09 Thread Devrim GUNDUZ
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Are you using the latest selinux_policy_targeted package? I mean, is your system up2date? Regards, On Wed, 9 Mar 2005, Ulrich Wisser wrote: Hi, it seems selinix doesn't like postgres. Can I uninstall selinux from fedora savely? OR is there any wa

[GENERAL] Can't start PostgreSQL on Fedora Core3

2005-03-09 Thread Ulrich Wisser
Hi, it seems selinix doesn't like postgres. Can I uninstall selinux from fedora savely? OR is there any way to make them both work together? Here is my error message: Mar 9 14:20:33 localhost kernel: audit(1110374433.961:0): avc: denied { read } for pid=9251 exe=/usr/bin/postgres name=PG_VER