Bug#772703: postinst fails because of wrong path to 90-sieve-extprograms.conf

2014-12-10 Thread Sven Hartge
Package: dovecot-sieve
Version: 1:2.2.13-9
Severity: grave

Hi!

The postinst of the dovecot-sieve package searches for 90-sieve-extprograms.conf
in the wrong place:

Setting up dovecot-sieve (1:2.2.13-9) ...
Error: The new file /usr/share/dovecot/90-sieve-extprograms.conf does not exist!
dpkg: error processing package dovecot-sieve (--configure):
 subprocess installed post-installation script returned error exit status 1

Obvious Fix:

--- dovecot-2.2.13/debian/dovecot-sieve.postinst2014-12-09 
12:18:44.0 +0100
+++ dovecot-2.2.13/debian/dovecot-sieve.postinst2014-12-10 
11:02:37.0 +0100
@@ -4,7 +4,7 @@
 
 if [ $1 = configure ]; then
   CONFFILES=conf.d/90-sieve.conf \
-  90-sieve-extprograms.conf
+  conf.d/90-sieve-extprograms.conf
 
   for conffile in $CONFFILES ; do
 # Tell ucf that the file in /usr/share/dovecot is the latest

Grüße,
Sven.

-- Package-specific info:

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.16-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dovecot-sieve depends on:
ii  dovecot-core  1:2.2.13-9
ii  libc6 2.19-13
ii  ucf   3.0030

dovecot-sieve recommends no packages.

dovecot-sieve suggests no packages.

Versions of packages dovecot-sieve is related to:
ii  dovecot-core [dovecot-common]  1:2.2.13-9
pn  dovecot-dbgnone
pn  dovecot-devnone
pn  dovecot-gssapi none
ii  dovecot-imapd  1:2.2.13-9
pn  dovecot-ldap   none
pn  dovecot-lmtpd  none
iu  dovecot-managesieved   1:2.2.13-9
pn  dovecot-mysql  none
pn  dovecot-pgsql  none
pn  dovecot-pop3d  none
ih  dovecot-sieve  1:2.2.13-9
pn  dovecot-sqlite none

-- debconf-show failed


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



Bug#772703: postinst fails because of wrong path to 90-sieve-extprograms.conf

2014-12-10 Thread Jaldhar H. Vyas

On Wed, 10 Dec 2014, Sven Hartge wrote:


The postinst of the dovecot-sieve package searches for 90-sieve-extprograms.conf
in the wrong place:

Setting up dovecot-sieve (1:2.2.13-9) ...
Error: The new file /usr/share/dovecot/90-sieve-extprograms.conf does not exist!
dpkg: error processing package dovecot-sieve (--configure):
subprocess installed post-installation script returned error exit status 1

Obvious Fix:

--- dovecot-2.2.13/debian/dovecot-sieve.postinst2014-12-09 
12:18:44.0 +0100
+++ dovecot-2.2.13/debian/dovecot-sieve.postinst2014-12-10 
11:02:37.0 +0100
@@ -4,7 +4,7 @@

if [ $1 = configure ]; then
  CONFFILES=conf.d/90-sieve.conf \
-  90-sieve-extprograms.conf
+  conf.d/90-sieve-extprograms.conf

  for conffile in $CONFFILES ; do
# Tell ucf that the file in /usr/share/dovecot is the latest



Yeah in my haste to upload -9 I forgot to fix this.  -10 on its way...

--
Jaldhar H. Vyas jald...@debian.org


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