Package: backupninja
Version: 0.9.4-3
Severity: normal

This issue was exposed after the weekly dselect/testing update done last 
Friday.  Since the update, I have been receiving WARNING emails stating 
that the ldif export had failed.  A debugging run of backupninja showed 
a call to slapcat, followed by what appears to be a slapcat usage line.

I have copied the slapcat commandline described in the backupninja debug 
and have pasted it into a bash command prompt, the command ran as 
desired and did an apparent backup of the LDIF database.

I'm left with the idea that the slapcat command that backupninja 
describes in its debug listing is not the same command that is actually 
submitted.

I recognize that I am using slapcat without restarts, the back end is 
bdb which from the documentation appears to be a valid use for this 
combination.

-------------
Email:

*warning* -- /etc/backup.d/10-ldap.ldap
success -- /etc/backup.d/20-databases.mysql

== warnings from /etc/backup.d/10-ldap.ldap ==

Warning: Failed ldif export of dc=teamworkgroup,dc=com

------------
Diagnostic run:

Debug: check_perms /etc/backup.d
Debug: perms: drwxrwx---
Debug: gperm: rwx
Debug: wperm: ---
Debug: check_perms /etc/backup.d/10-ldap.ldap
Debug: perms: -rw-------
Debug: gperm: ---
Debug: wperm: ---
Info: >>>> starting action /etc/backup.d/10-ldap.ldap (because of --now)
Debug: yes
Debug: /usr/sbin/slapcat -f /etc/ldap/slapd.conf -b 
dc=teamworkgroup,dc=com | /bin/gzip
usage: slapcat [-v] [-c] [-d debuglevel] [-f configfile]
[-n databasenumber | -b suffix] [-l ldiffile] [-m] [-k]
Warning: Failed ldif export of dc=teamworkgroup,dc=com
Warning: <<<< finished action /etc/backup.d/10-ldap.ldap: WARNING
Debug: check_perms /etc/backup.d
Debug: perms: drwxrwx---
Debug: gperm: rwx
Debug: wperm: ---
Debug: check_perms /etc/backup.d/20-databases.mysql
Debug: perms: -rw-------
Debug: gperm: ---
Debug: wperm: ---
Info: >>>> starting action /etc/backup.d/20-databases.mysql (because of 
--now)
Debug: yes
Info: Initializing hotcopy method
.
.
.
Info: <<<< finished action /etc/backup.d/20-databases.mysql: SUCCESS
Debug: send report to root
Info: FINISHED: 2 actions run. 0 fatal. 0 error. 1 warning.


Note that the following command line apparently succeeded when executed 
at a commandline:

/usr/sbin/slapcat -f /etc/ldap/slapd.conf -b dc=teamworkgroup,dc=com

--------------------
10-ldap.ldap (many comments stripped for brevity)

backupdir = /var/backups/ldap
conf = /etc/ldap/slapd.conf
databases = all
compress = yes
restart = no
method = slapcat
# passwordfile =
# binddn =


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages backupninja depends on:
ii  bash                      3.1-5          The GNU Bourne Again SHell
ii  dialog                    1.0-20060221-1 Displays user-friendly dialog boxe
ii  gawk                      1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr
ii  mawk                      1.3.3-11       a pattern scanning and text proces

backupninja recommends no packages.

-- no debconf information


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

Reply via email to