Bug 267 - 2.1.1 RPM Problem.
Summary: 2.1.1 RPM Problem.
Status: NEW
Alias: None
Product: Slony-I
Classification: Unclassified
Component: rpm (show other bugs)
Version: devel
Hardware: PC Linux
: low normal
Assignee: Slony Bugs List
URL:
Depends on:
Blocks:
 
Reported: 2012-05-28 23:11 UTC by nakamura_kenichi_d7
Modified: 2012-05-29 01:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nakamura_kenichi_d7 2012-05-28 23:11:38 UTC
hi,

I found two problems about the RPM of Slony-I.
Please fix the problem.


(1)Get an error while installing.
--
# rpm -ivh slony1-91-II-2.1.1-1.rhel6.x86_64.rpm
warning: slony1-91-II-2.1.1-1.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY
Preparing...                ########################################### [100%]
   1:slony1-91-II           ########################################### [100%]
error reading information on service slony1-II-91: No such file or directory
--

"slony1-91-II" is the startup script that is created during the slony-I installation, 
but "slony1-II-91" is described for the argument of "checkconfig".

I think there is a need to modify the SPEC file.
--
NG  : chkconfig --add slony1-II-91
OK  : chkconfig --add slony1-91-II
--

I got the RPM from the site below.
http://yum.postgresql.org/9.1/redhat/rhel-6.1-x86_64/slony1-91-II-2.1.1-1.rhel6.x86_64.rpm

and I found same problem in several RPMs.



(2)Can not start with "/etc/init.d/slony1-91-II start".

The value of the variable that is described in the "/ etc/init.d/slony1-91-II" is incorrect.

I fixed the three place , I can start Slony-I.


Original
---
> SLONENGINE=/usr/bin
> SLONCONF=/etc/slon.conf
> SLONLOG=/var/log/slony

Fix
---
> SLONENGINE=/usr/pgsql-9.1/bin
> SLONCONF=/etc/slony1-91-II/slon.conf
> SLONLOG=/var/log/slony.log


regards,
Comment 1 Devrim GUNDUZ 2012-05-29 01:43:24 UTC
Ok, will push a fix. Thanks for the report.