diff -ruN e-smith-backup-2.4.0.old/root/etc/e-smith/events/actions/workstation-backup-dar e-smith-backup-2.4.0/root/etc/e-smith/events/actions/workstation-backup-dar --- e-smith-backup-2.4.0.old/root/etc/e-smith/events/actions/workstation-backup-dar 2013-07-14 13:50:42.000000000 -0700 +++ e-smith-backup-2.4.0/root/etc/e-smith/events/actions/workstation-backup-dar 2013-07-14 13:56:10.000000000 -0700 @@ -282,12 +282,15 @@ $mntbkdir = $mntdir . '/' . $id; my $catalog = "$mntbkdir/dar-catalog"; -unless ( -e $catalog) +unless ( -e $catalog) # Create an empty catalog if none found { system("/usr/bin/dar_manager", "-Q", "-C", "$catalog") == 0 or ldie("Unable to create dar_manager catalog.\n"); } +# sleep added to ensure the creation of a valid catalog +sleep 1; + # find available backups for the server find { wanted => \&$setbackuplist, untaint => 1 }, $mntbkdir ;