Comment 4 for bug 6942

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040703233909.GA3703@indy>
Date: Sun, 4 Jul 2004 01:39:09 +0200
From: Martin Helas <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: slapd: Fails to install on mips

--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: slapd
Version: 2.1.30-1
Severity: grave

Hi Thorsten,

installing slapd on an Indy (mips) fails with the following error:

Selecting previously deselected package slapd.
(Reading database ... 18345 files and directories currently installed.)
Unpacking slapd (from .../slapd_2.1.30-1_mips.deb) ...
Setting up slapd (2.1.30-1) ...
/var/lib/dpkg/info/slapd.config: line 275: !echo: command not found
Creating initial slapd configuration... done
Creating initial LDAP directory... slapadd: could not add entry dn=3D"dc=3D=
mhelas,dc=3Dhome"=20
 (line=3D7): txn_begin failed: Invalid argument (22)
dpkg: error processing slapd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried the same on my i386 box and it works perfectly. I tried package fro=
m sarge=20
as well as from sid. There is no difference.

On http://projectdream.org/publications/suug/ldap-setup.html i found that m=
aybe=20
/var/lib/ldap is missing, but it gets created from slapd postinstall so run=
ning=20
dpkg a second time the error should disappear, what does not happen.

I first thought it is my fault, so i tried it in a changeroot on that machi=
ne as=20
well, but no change.

I set severity to grave as slapd on mips is not installable. You cant even =
create
the base datebase by hand.

Greetings
Martin

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: mips
Kernel: Linux 2.4.26-r4k-ip22
Locale: LANG=3DC, LC_CTYPE=3DC

Versions of packages slapd depends on:
ii coreutils [fileutils] 5.0.91-2 The GNU core utilities
ii debconf 1.4.28 Debian configuration managemen=
t sy
ii libc6 2.3.2.ds1-13 GNU C Library: Shared librarie=
s an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Librari=
es [
ii libgcrypt7 1.1.90-1.1 LGPL Crypto library - runtime =
libr
ii libgnutls10 1.0.4-3 GNU TLS library - runtime libr=
ary
ii libgpg-error0 0.7-1 library for common error value=
s an
ii libiodbc2 3.51.2-2 iODBC Driver Manager
ii libldap2 2.1.30-1 OpenLDAP libraries
ii libltdl3 1.5.6-1 A system independent dlopen wr=
appe
ii libsasl2 2.1.18-4.1 Authentication abstraction lib=
rary
ii libslp1 1.0.11-7 OpenSLP libraries
ii libtasn1-2 0.2.7-2 Manage ASN.1 structures (runti=
me)
ii libwrap0 7.6.dbs-4 Wietse Venema's TCP wrappers l=
ibra
ii perl [libmime-base64-perl] 5.8.3-3 Larry Wall's Practical Extract=
ion=20
ii psmisc 21.5-1 Utilities that use the proc fi=
lesy
ii zlib1g 1:1.2.1.1-3 compression library - runtime

-- debconf information:
  slapd/password_mismatch:
  slapd/fix_directory: true
  slapd/invalid_config: true
* shared/organization: mhelas.home
  slapd/upgrade_slapcat_failure:
  slapd/upgrade_slapadd_failure:
  slapd/backend: BDB
* slapd/allow_ldap_v2: false
  slapd/no_configuration: false
  slapd/move_old_database: true
  slapd/suffix_change: false
  slapd/slave_databases_require_updateref:
  slapd/autoconf_modules: true
  slapd/purge_database: false
  slapd/admin:
* slapd/domain: mhelas.home

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFA50OdeSmrkPesOvARAjtLAJ9D/JDaS0C1XzrwoI46KcZixWqUEQCg6Tp1
gCCSzofVcgG457MjlNFOWRE=
=Nj2z
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--