On Sun, Jul 01, 2012 at 11:57:15AM +0200, Andreas Beckmann wrote:

> One step further. So installation fails if policy-rc.d is configured to 
> forbid starting of services ...

It should be discussed what default setting should be. But in any case
it should be taken in account by postinst script.

> + sudo su - postgres-xc -c 'psql postgres -c "CREATE NODE dn1 WITH
> (TYPE=datanode, PORT=15432); CREATE NODE dn2 WITH (TYPE=datanode,
> PORT=15433); select pgxc_pool_reload();"'
> /var/lib/dpkg/info/postgres-xc.postinst: line 144: sudo: command not
> found

This certainly should be fixed either with dependency or by replacing sudo
with su.

I think postinst script should be rewritten in some other aspects too. So do
not hurry up to take it production and be ready to reinstall it from
scratch.

Thanks You for Your testing.


***************************
###  Vladimir Stavrinov
###  vstavri...@gmail.com
***************************




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to