Package: slapd
Version: 2.1.30-3
Severity: normal

 I've played around with converting my cluster to using LDAP authentication,
but I haven't finished yet.  I did a big dist-upgrage, and for some reason
something run from a maintainer script (maybe slapcat) failed.  Maybe
because my config file didn't agree with the database in /var/lib/ldap, or I
don't know what.  (sorry this isn't a better bug report..., I don't know if
you'll be able to reproduce this.)  This of course blocked the rest of the
upgrade from happening.

 On trying again, after some attempts at dpkg-reconfigure slapd, slapcat
failed with a "bad config file" error message.  Strace revealed that it was
erroring out after not finding any of its /usr/share/ldap/*.dat files.  My
workstation, with a working slapd setup, has them, so I used rsync to get
them onto this machine.  slapcat now runs without error (producing no
output, because I did dpkg-reconfigure to wipe out the old database I was
playing around with).  So aptitude should have no further problems.

 Anyway, the weird thing here is that somehow my system got into a state
where it needed /usr/share/ldap, but didn't have it.  I didn't delete it by
hand or do anything other than through aptitude.  This is a Bad Thing,
because it gets the upgrade process stuck.  dpkg-deb -c shows that the slapd
2.1.30 package didn't contain that directory, so I don't know why slapcat (
md5:  c95ea67188d6150ac0f4a8869574cae5  /usr/sbin/slapcat) would want it.
Maybe some other slapd config files got updated earlier in the upgrade
process?

 I don't have the time or inclination to do more work on this, or preserve a
lot of info about how my system was, but I will respond to questions if I can.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages slapd depends on:
ii  coreutils [fileutils]       5.2.1-2      The GNU core utilities
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database Libraries [
ii  libgcrypt11                 1.2.0-11.1   LGPL Crypto library - runtime libr
ii  libgnutls11                 1.0.16-13.1  GNU TLS library - runtime library
ii  libgpg-error0               1.0-1        library for common error values an
ii  libiodbc2                   3.52.2-3     iODBC Driver Manager
ii  libldap2                    2.1.30-10    OpenLDAP libraries
ii  libltdl3                    1.5.6-6      A system independent dlopen wrappe
ii  libsasl2                    2.1.19-1.5   Authentication abstraction library
ii  libslp1                     1.0.11a-2    OpenSLP libraries
ii  libwrap0                    7.6.dbs-8    Wietse Venema's TCP wrappers libra
ii  perl [libmime-base64-perl]  5.8.4-8      Larry Wall's Practical Extraction 
ii  psmisc                      21.6-1       Utilities that use the proc filesy
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- debconf information:
  slapd/password_mismatch:
  slapd/fix_directory: true
  slapd/invalid_config: true
* shared/organization: genome
  slapd/upgrade_slapcat_failure:
  slapd/upgrade_slapadd_failure:
  slapd/backend: BDB
* slapd/dump_database: when needed
* slapd/allow_ldap_v2: false
* slapd/no_configuration: true
* slapd/migrate_ldbm_to_bdb: false
  slapd/move_old_database: true
  slapd/suffix_change: false
  slapd/slave_databases_require_updateref:
* slapd/dump_database_destdir: /var/backups/slapd-VERSION
  slapd/autoconf_modules: true
  slapd/purge_database: false
  slapd/admin:
* slapd/domain: monkey.mathstat.dal.ca


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to