This is due to a change in the behavior of tar's --no-recursion option. In either 1.28 or 1.29, it was changed to only apply to all options *following* it. Since the flexbackup command line has --files-from before --no-recursion, the --no-recursion is effectively ignored. (See also bug #829738)

Changing the order restores the correct behavior (see attached patch).
--- /usr/bin/flexbackup 2018-03-07 21:51:57.950379925 +0100
+++ /usr/bin/flexbackup 2018-03-07 21:52:17.418333887 +0100
@@ -1405,11 +1405,11 @@
     $cmd .= "| ";
 
     $cmd .= "$::path{tar} --create ";
+    $cmd .= "--no-recursion ";
     $cmd .= "--null ";
     $cmd .= "--files-from=- ";
     $cmd .= "--ignore-failed-read ";
     $cmd .= "--same-permissions ";
-    $cmd .= "--no-recursion ";
     $cmd .= "--totals ";
     if ($cfg::label ne 'false') {
        if (length($title) > $::tar_max_label) {

Reply via email to