Package: libkolab-perl Version: 2.2.1-20081212-1 Severity: important Tags: patch
--- Please enter the report below this line. --- when running "kolab_bootstrap -b" for the first time in a fresh lenny system, it breaks with the following error: cannot mkdir : Datei oder Verzeichnis nicht gefunden at /usr/sbin/kolab_bootstrap line 214, <STDIN> line 1. It looks like the parent directory (/var/lib/kolab/backups/) should be created first. This problem can be fixed with the attached patch. Thanks for your work, Lars --- System information. --- Architecture: i386 Kernel: Linux 2.6.26-1-686
--- /usr/sbin/kolab_bootstrap 2008-12-30 14:48:39.000000000 +0100 +++ kolab_bootstrap 2008-12-30 14:51:26.000000000 +0100 @@ -211,6 +211,8 @@ } my $epochseconds = timelocal(gmtime); my $backupdir="$Kolab::config{'backupdir'}/backup".$epochseconds; + # create the backup base directory, if necessary + mkdir("$Kolab::config{'backupdir'}",0700) unless (-e "$Kolab::config{'backupdir'}"); mkdir($backupdir,0700) || die "cannot mkdir : $!"; print "creating backup of LDAP repository\n";