Bug#533344: db upgrade related errors in README.Debian

2009-06-16 Thread Itai Seggev
Package: netatalk
Version: 2.0.4~rc2-1
Severity: minor

There are three errors in the Upgrading Problems section of
/usr/share/doc/netatalk/README.Debian.

1) In addition to the errors like those in #200373, a db version mismatch can
prevent a connection from being made at all.  Log file reproduced below to
show that I am not delusional.  (This is the issue I mentioned as a BTW in my
previous bug report.  I thought it was due to needing SSL to connect with
Leopard, but after additional research I discovered that it was a db version
problem.)

2) The `find $APPLE_DIR -name .AppleDB/*.db` in the suggested upgrade command
is doomed to failure, as -name matches the tail of the name only.  Something
like `find $APPLE_DIR -wholename *.AppleDB/*.db` would be better.

3) The upgrade command is missing rm -f __db.*.  If you don't erase these,
you get an error message which looks like the following. 

db4.7_load: Program version 4.7 doesn't match environment version 4.2
db4.7_load: DB_ENV-open: DB_VERSION_MISMATCH: Database environment version 
mismatch 

---Begin Log Extract---

Jun 16 00:59:29 cavy-v4 afpd[13933]: DHX2 login: iseggev
Jun 16 00:59:30 cavy-v4 afpd[13933]: DHX2: logincont2 alive!
Jun 16 00:59:30 cavy-v4 afpd[13933]: PAM DHX2: PAM Success
Jun 16 00:59:30 cavy-v4 afpd[13933]: DHX2: PAM Auth OK!
Jun 16 00:59:30 cavy-v4 afpd[13933]: login iseggev (uid , gid ) AFP3.1
Jun 16 00:59:30 cavy-v4 afpd[13933]: Setting uid/gid to 0/0
Jun 16 00:59:30 cavy-v4 afpd[13933]: Warning: No CNID scheme for volume
/home/iseggev. Using default.
Jun 16 00:59:30 cavy-v4 afpd[13933]: Setting uid/gid to /
Jun 16 00:59:30 cavy-v4 afpd[13933]: cnid_open: dbenv-open (rw) of
/home/iseggev/.AppleDB failed: DB_VERSION_MISMATCH: Database environment
version mismatch
Jun 16 00:59:30 cavy-v4 afpd[13933]: cnid_open: dbenv-open of
/home/iseggev/.AppleDB failed: DB_VERSION_MISMATCH: Database environment
version mismatch
Jun 16 00:59:30 cavy-v4 afpd[13933]: Cannot open CNID db at [/home/iseggev].
Jun 16 00:59:30 cavy-v4 afpd[13933]: Fatal error: cannot open CNID or invalid
CNID backend for /home/iseggev: cdb
Jun 16 00:59:30 cavy-v4 afpd[13933]: logout iseggev
Jun 16 00:59:30 cavy-v4 afpd[13933]: 0.66KB read, 0.53KB written
Jun 16 00:59:30 cavy-v4 afpd[13917]: server_child[1] 13933 done

---End Log Extract-

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (750, 'testing'), (110, 'unstable'), (101, 'experimental'), (10, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages netatalk depends on:
ii  libc62.9-12  GNU C Library: Shared libraries
ii  libcomerr2   1.41.3-1common error description library
ii  libcrack22.8.13-9pro-active password checker librar
ii  libcups2 1.3.10-2Common UNIX Printing System(tm) - 
ii  libdb4.7 4.7.25-6Berkeley v4.7 Database Libraries [
ii  libgcrypt11  1.4.4-2 LGPL Crypto library - runtime libr
ii  libgnutls26  2.6.6-1 the GNU TLS library - runtime libr
ii  libgssapi-krb5-2 1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries - k
ii  libk5crypto3 1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries - C
ii  libkrb5-31.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries
ii  libpam-modules   1.0.1-9 Pluggable Authentication Modules f
ii  libpam0g 1.0.1-9 Pluggable Authentication Modules l
ii  libwrap0 7.6.q-16Wietse Venema's TCP wrappers libra
ii  netbase  4.34Basic TCP/IP networking system
ii  perl 5.10.0-22   Larry Wall's Practical Extraction 
ii  zlib1g   1:1.2.3.3.dfsg-13   compression library - runtime

Versions of packages netatalk recommends:
ii  cracklib-runtime   2.8.13-9  runtime support for password check
ii  db4.7-util 4.7.25-6  Berkeley v4.7 Database Utilities
pn  libpam-cracklibnone(no description available)
ii  lsof   4.81.dfsg.1-1 List open files
ii  procps 1:3.2.8-1 /proc file system utilities
pn  rc none(no description available)

Versions of packages netatalk suggests:
ii  db4.2-util 4.2.52+dfsg-5 Berkeley v4.2 Database Utilities
pn  quota  none(no description available)
pn  tetex-bin  none(no description available)
ii  timeout1.18-3run a command with a time limit

-- no debconf information



-- 
To UNSUBSCRIBE, email to 

Bug#533344: db upgrade related errors in README.Debian

2009-06-16 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

package netatalk
tags 533344 pending
thanks


Hi Itai,

On Tue, Jun 16, 2009 at 12:51:22PM -0500, Itai Seggev wrote:
There are three errors in the Upgrading Problems section of
/usr/share/doc/netatalk/README.Debian.

1) In addition to the errors like those in #200373, a db version mismatch can
prevent a connection from being made at all.  Log file reproduced below to
show that I am not delusional.  (This is the issue I mentioned as a BTW in my
previous bug report.  I thought it was due to needing SSL to connect with
Leopard, but after additional research I discovered that it was a db version
problem.)

2) The `find $APPLE_DIR -name .AppleDB/*.db` in the suggested upgrade command
is doomed to failure, as -name matches the tail of the name only.  Something
like `find $APPLE_DIR -wholename *.AppleDB/*.db` would be better.

3) The upgrade command is missing rm -f __db.*.  If you don't erase these,
you get an error message which looks like the following. 

Thanks for your detailed report.

I have now improved README.Debian based on your points raised above.


You help is much appreciated!

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREDAAYFAko36FEACgkQn7DbMsAkQLj3lgCffYT8iiUPRCD1hWIYrxQMK9/y
z9gAn2Fsw2vayqc5NrhovAG5JNK8sc8l
=Ipov
-END PGP SIGNATURE-



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