[pgpool-hackers: 752] rpm packaging of pgpool and pgpoolAdmin for fedora
Jozef Mlich
jmlich at redhat.com
Wed Jan 7 21:59:38 JST 2015
Dear pgpool hackers,
I have made some minor changes in spec file for fedora repositories for
pgpool [1] and pgpoolAdmin [2] packages.
I would like to point you to our git for further details.
Very briefly changes:
- renaming sub package -recovery to -extensions according to
guidelines[3]/rpmlint
- fixing some other rpmlint warnings
- /var/run created using tmpfiles.d [4]
- pgpoolAdmin templates_c directory moved to /var/run
- Requires MODULE_COMPAT - rpmmacro introduced by postgresql.spec in
fedora to ensure you have same version of database server and .so
extension
- the pgpoolAdmin.spec shouldn't touch directories owned
by pgpool.spec. Beside of this, the /var/run/pgpool
is created every boot according to tmpfiles.d
(removed chmod and chgrp commands)
Currently, SELinux is preventing pgpoolAdmin to work as expected.
As a workaround, you can run 'setenforce 0' to switch SELinux
temporally to permissive mode. I was asking for change of SELinux
policies in red hat bugzilla [5].
[1]
http://pkgs.fedoraproject.org/cgit/postgresql-pgpool-II.git/tree/postgresql-pgpool-II.spec
[2]
http://pkgs.fedoraproject.org/cgit/postgresql-pgpoolAdmin.git/tree/postgresql-pgpoolAdmin.spec
[3]
http://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages
[4] http://fedoraproject.org/wiki/Packaging:Tmpfiles.d
[5] https://bugzilla.redhat.com/show_bug.cgi?id=1097831
--
Jozef Mlich <jmlich at redhat.com>
Associate Software Engineer - EMEA ENG Developer Experience
Mobile: +420 604 217 719
http://cz.redhat.com/
Red Hat, Inc.
More information about the pgpool-hackers
mailing list