Bug 23227 - libdb4.7 Build-Signatur Änderung führt zu Problemen beim Öffnen von db4.7 Umgebung
libdb4.7 Build-Signatur Änderung führt zu Problemen beim Öffnen von db4.7 Um...
Status: RESOLVED DUPLICATE of bug 23054
Product: UCS
Classification: Unclassified
Component: General
UCS 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-09 17:07 CEST by Arvid Requate
Modified: 2012-01-02 15:38 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2011-08-09 17:07:09 CEST
libdb4.7 hat in UCS 3.0 eine andere Build-Signatur. Das hat z.B. an Bug #23054 Comment 3 dazu geführt, dass sich die slapd Datenbank nicht mehr öffnen lies:

bdb_db_open: "dc=univention,dc=qa"
bdb_db_open: database "dc=univention,dc=qa":
dbenv_open(/var/lib/univention-ldap/ldap).
bdb(dc=univention,dc=qa): Build signature doesn't match environment
bdb_db_open: database "dc=univention,dc=qa" cannot be opened, err -30971.

Ggf. sind davon auch andere Pakete betroffen, die dynamisch gegen die Library linken.


Man kann die Build-Signatur auslesen mit:
<http://anonscm.debian.org/gitweb/?p=pkg-db/db.git;a=blob_plain;f=debian/db_signature.c;hb=HEAD>

# for l in /usr/lib/libdb-4.?.so;do gcc debian_db_signature.c -l${l:12:6}&&echo
-n "$l "&&./a.out;done

UCS-2.4-2:
 /usr/lib/libdb-4.7.so e4702a89 ←←←
 /usr/lib/libdb-4.8.so 7523bc5e
UCS-3.0-0
 /usr/lib/libdb-4.7.so 876ea0c1
 /usr/lib/libdb-4.8.so 7523bc5e
Debian Squeeze:
 /usr/lib/libdb-4.7.so 876ea0c1
 /usr/lib/libdb-4.8.so 7523bc5e


Siehe sonst auch das Test-Programm https://forge.univention.org/bugzilla/attachment.cgi?id=3435


+++ This bug was initially created as a clone of Bug #23054 Comment 4 +++
Comment 1 Arvid Requate univentionstaff 2012-01-02 15:38:37 CET
Das Problem trat nicht mehr auf, durch Workaround an Bug 23054#c5 behoben.

*** This bug has been marked as a duplicate of bug 23054 ***