Your message dated Wed, 24 May 2006 07:47:04 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#367700: fixed in slony1 1.1.5-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: slony1-bin
Version: 1.1.5-1
Severity: important
Tags: patch


/etc/init.d/slony1 fails to start slony:

[EMAIL PROTECTED]:/home/wayne$ /etc/init.d/slony1 start
Starting Slony-I daemon: wayne_production-su: . /lib/lsb/init-functions ; 
start_daemon -p /var/run/slony1/wayne_production.pid /usr/bin/slon -f 
/etc/slony1/wayne_production/slon.conf -p /var/run/slony1/wayne_production.pid 
>>/var/log/slony1/slon-wayne_production.log 2>&1 </dev/null &: No such file or 
directory
 failed!

It appears that the su now requires the "-c" argument that used to be
implied.  Adding "-c" to the script fixes everything (see attached
patch).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages slony1-bin depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libpq4                        8.1.3-4    PostgreSQL C client library
ii  postgresql-common             50         manager for PostgreSQL database cl

Versions of packages slony1-bin recommends:
ii  ntp-server       1:4.2.0a+stable-2sarge1 Network Time Protocol: common serv
ii  postgresql-8.1-s 1.1.5-1                 replication system for PostgreSQL

-- no debconf information
diff -ur slony1-1.1.5.orig/debian/slony1-bin.slony1.init 
slony1-1.1.5/debian/slony1-bin.slony1.init
--- slony1-1.1.5.orig/debian/slony1-bin.slony1.init     2006-05-16 
12:01:41.000000000 -0700
+++ slony1-1.1.5/debian/slony1-bin.slony1.init  2006-05-17 11:34:08.000000000 
-0700
@@ -44,7 +44,7 @@
 }
 
 d_start() {
-       su - postgres ". /lib/lsb/init-functions ; start_daemon -p $(pidfile 
$1) $DAEMON -f $(conffile $1) -p $(pidfile $1) >>$(logfile $1) 2>&1 </dev/null 
&"
+       su - postgres -c ". /lib/lsb/init-functions ; start_daemon -p $(pidfile 
$1) $DAEMON -f $(conffile $1) -p $(pidfile $1) >>$(logfile $1) 2>&1 </dev/null 
&"
 }
 
 d_stop() {

--- End Message ---
--- Begin Message ---
Source: slony1
Source-Version: 1.1.5-2

We believe that the bug you reported is fixed in the latest version of
slony1, which is due to be installed in the Debian FTP archive:

postgresql-8.1-slony1_1.1.5-2_i386.deb
  to pool/main/s/slony1/postgresql-8.1-slony1_1.1.5-2_i386.deb
slony1-bin_1.1.5-2_i386.deb
  to pool/main/s/slony1/slony1-bin_1.1.5-2_i386.deb
slony1-doc_1.1.5-2_all.deb
  to pool/main/s/slony1/slony1-doc_1.1.5-2_all.deb
slony1_1.1.5-2.diff.gz
  to pool/main/s/slony1/slony1_1.1.5-2.diff.gz
slony1_1.1.5-2.dsc
  to pool/main/s/slony1/slony1_1.1.5-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Eisentraut <[EMAIL PROTECTED]> (supplier of updated slony1 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 24 May 2006 14:22:10 +0200
Source: slony1
Binary: slony1-bin slony1-doc postgresql-8.1-slony1
Architecture: source i386 all
Version: 1.1.5-2
Distribution: unstable
Urgency: medium
Maintainer: Peter Eisentraut <[EMAIL PROTECTED]>
Changed-By: Peter Eisentraut <[EMAIL PROTECTED]>
Description: 
 postgresql-8.1-slony1 - replication system for PostgreSQL
 slony1-bin - replication system for PostgreSQL
 slony1-doc - Slony-I documentation
Closes: 367700
Changes: 
 slony1 (1.1.5-2) unstable; urgency=medium
 .
   * Added -c to su invocation in init script to cope with new su behavior
     (closes: #367700)
   * Updated standards version
   * Put the slonik command man pages in the right directory
Files: 
 8efe8b658b431104e7f508d98300b3ed 775 misc optional slony1_1.1.5-2.dsc
 c07647803921b28f029964f1b76f9fc6 7545 misc optional slony1_1.1.5-2.diff.gz
 abb23d3383db326704743d58370c99c7 432590 doc optional slony1-doc_1.1.5-2_all.deb
 9cb84a1b7a2c03853a7b5f2a29072058 126582 misc optional 
slony1-bin_1.1.5-2_i386.deb
 5db8a9d06a25666dd058462ce52a4105 14786 misc optional 
postgresql-8.1-slony1_1.1.5-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEdHCBTTx8oVVPtMYRAlKyAJwO2JPLZlwUw6DSg7YtjQR/UdPJ3ACfae6s
48hkyAJn1RjkcLaVxul7tbQ=
=VbUo
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to