Bug#528040: sasl2-bin: segfault on upgrade - fails to configure.

2009-05-11 Thread Fabian Fagerholm
On Mon, 2009-05-11 at 00:12 +0200, Andreas Henriksson wrote:
 No segfault (only occured on the very first configure attempt, not
 reproducible) but the problem to configure persisted even with the new
 version.
 
 Manually running the scripts somehow magically fixed the problem:

I think debconf or the postinst script's state might have become messed
up due to the earlier segfault. This wouldn't happen if skipping version
-24 (which is now not part of any Debian suite), so keeping the bug
closed.

Thanks for the follow-up!

-- 
Fabian Fagerholm fa...@paniq.net


signature.asc
Description: This is a digitally signed message part


Bug#528040: sasl2-bin: segfault on upgrade - fails to configure.

2009-05-10 Thread Andreas Henriksson
Package: sasl2-bin
Version: 2.1.22.dfsg1-24
Severity: serious
Justification: breaks upgrade

When upgrading sasl2-bin a segfault occured:

Setting up sasl2-bin (2.1.22.dfsg1-24) ...
DB-get: method not permitted before handle's open method
/var/lib/dpkg/info/sasl2-bin.postinst: line 17: 21765 Done
echo '!'
 21766 Segmentation fault  | saslpasswd2 -c 'no:such:user'
dpkg: error processing sasl2-bin (--configure):
 subprocess post-installation script returned error exit status 139


Trying to recover (or reproduce the segfault) by aptitude install -f leads
to configuration failure:

Setting up sasl2-bin (2.1.22.dfsg1-24) ...
dpkg: error processing sasl2-bin (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sasl2-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up sasl2-bin (2.1.22.dfsg1-24) ...
dpkg: error processing sasl2-bin (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sasl2-bin


The following debconf dialog is shown:

  ┌┤ Configuring sasl2-bin ├─┐
  │  │ 
  │ Failed to back up /etc/sasldb2   │ 
  │  │ 
  │ The /etc/sasldb2 file could not be backed up with the file name you  │ 
  │ specified.   │ 
  │  │ 
  │ This is a fatal error and will cause the package installation to fail.   │ 
  │  │ 
  │ Please eliminate all possible reasons that might lead to this failure,   │ 
  │ and try to configure this package again. │ 
  │  │ 
  │  Ok│ 


... I have not specified anything at all and the debconf dialog really doesn't
give me any help at all about where to start looking for the problem.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (300, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sasl2-bin depends on:
ii  db4.7-util   4.7.25-6Berkeley v4.7 Database Utilities
ii  debconf [debconf-2.0]1.5.26  Debian configuration management sy
ii  libc62.9-12  GNU C Library: Shared libraries
ii  libcomerr2   1.41.5-1common error description library
ii  libdb4.6 4.6.21-13   Berkeley v4.6 Database Libraries [
ii  libgssapi-krb5-2 1.7dfsg~beta1-4 MIT Kerberos runtime libraries - k
ii  libk5crypto3 1.7dfsg~beta1-4 MIT Kerberos runtime libraries - C
ii  libkrb5-31.7dfsg~beta1-4 MIT Kerberos runtime libraries
ii  libkrb5support0  1.7dfsg~beta1-4 MIT Kerberos runtime libraries - S
ii  libldap-2.4-22.4.15-1.1  OpenLDAP libraries
ii  libpam0g 1.0.1-9 Pluggable Authentication Modules l
ii  libsasl2-2   2.1.22.dfsg1-24 Cyrus SASL - authentication abstra
ii  libssl0.9.8  0.9.8g-16   SSL shared libraries
ii  lsb-base 3.2-22  Linux Standard Base 3.2 init scrip

sasl2-bin recommends no packages.

sasl2-bin suggests no packages.

-- debconf information:
* cyrus-sasl2/backup-sasldb2: /var/backups/sasldb2.bak
  cyrus-sasl2/purge-sasldb2: false
  cyrus-sasl2/upgrade-sasldb2-failed:
* cyrus-sasl2/upgrade-sasldb2-backup-failed:



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



Processed: Re: Bug#528040: sasl2-bin: segfault on upgrade - fails to configure.

2009-05-10 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 528040 cyrus-sasl2
Bug#528040: sasl2-bin: segfault on upgrade - fails to configure.
Bug reassigned from package `sasl2-bin' to `cyrus-sasl2'.

 fixed 528040 2.1.22.dfsg1-25
Bug#528040: sasl2-bin: segfault on upgrade - fails to configure.
Bug marked as fixed in version 2.1.22.dfsg1-25.

 forcemerge 523007 528040
Bug#523007: cyrus-sasl2: during a sid recompile the package got built with 
db4.7 headers - segfault in sasl2-bin's postinst
Bug#528040: sasl2-bin: segfault on upgrade - fails to configure.
Bug#527161: sasl2-bin tools segfault after upgrading to 2.1.22.dfsg1-23+b1
Forcibly Merged 523007 527161 528040.

 thanks
Stopping processing here.

Please contact me if you need assistance.

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


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



Bug#528040: sasl2-bin: segfault on upgrade - fails to configure.

2009-05-10 Thread Fabian Fagerholm
reassign 528040 cyrus-sasl2
fixed 528040 2.1.22.dfsg1-25
forcemerge 523007 528040
thanks

Hi Andreas,

Thanks for the report!

On Sun, 2009-05-10 at 15:48 +0200, Andreas Henriksson wrote:
 When upgrading sasl2-bin a segfault occured:
[...]

2.1.22.dfsg1-24 does indeed have a build error which causes segfaults.
Please try 2.1.22.dfsg1-25 instead. If the segfault persists, you can
reopen this bug.

Cheers,
-- 
Fabian Fagerholm fa...@paniq.net


signature.asc
Description: This is a digitally signed message part


Bug#528040: sasl2-bin: segfault on upgrade - fails to configure.

2009-05-10 Thread Andreas Henriksson
On sön, 2009-05-10 at 22:13 +0300, Fabian Fagerholm wrote:
 2.1.22.dfsg1-24 does indeed have a build error which causes segfaults.
 Please try 2.1.22.dfsg1-25 instead. If the segfault persists, you can
 reopen this bug.

No segfault (only occured on the very first configure attempt, not
reproducible) but the problem to configure persisted even with the new
version.


Manually running the scripts somehow magically fixed the problem:

g...@amd64:~$ sudo /var/lib/dpkg/info/sasl2-bin.config configure
g...@amd64:~$ sapt install -f
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Reading extended state information   
Initializing package states... Done
Reading task descriptions... Done  
The following partially installed packages will be configured:
  sasl2-bin 
0 packages upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up sasl2-bin (2.1.22.dfsg1-25) ...
dpkg: error processing sasl2-bin (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sasl2-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up sasl2-bin (2.1.22.dfsg1-25) ...
dpkg: error processing sasl2-bin (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sasl2-bin
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Reading extended state information  
Initializing package states... Done
Reading task descriptions... Done  

g...@amd64:~$ sudo /var/lib/dpkg/info/sasl2-bin.postinst configure
Starting SASL Authentication Daemon: saslauthd.
g...@amd64:~$ sapt install -f
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Reading extended state information   
Initializing package states... Done
Reading task descriptions... Done  
The following partially installed packages will be configured:
  sasl2-bin 
0 packages upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up sasl2-bin (2.1.22.dfsg1-25) ...
Starting SASL Authentication Daemon: saslauthd (already running).
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Reading extended state information   
Initializing package states... Done
Reading task descriptions... Done  

g...@amd64:~$ 




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