Hi Serge !
I am pretty sure it matters. If gawk and mawk are installed the same
time, the user has to decide what awk is the default. If he uses mawk as
default via /etc/alternatives, /usr/bin/awk points to
/etc/alternatives/awk which points to /usr/bin/mawk. If bacula depends
on gawk (as quoted i
Is the fix really that simple ?
Actually make_catalog_backup_awk holds the first line:
#!/usr/bin/gawk -f
which is obviously correct. Durung the bacula call mawk got involved (it
was a server installation). I guess the callee does a command like "awk
-f /etc/bacula/scripts/make_catalog_backup_aw
Public bug reported:
Binary package hint: bacula-director-mysql
the awk script /etc/bacula/scripts/make_catalog_backup_awk fails due to
the missing gensub function if gawk is not installed and used.
thanks for processing
Fred
** Affects: bacula (Ubuntu)
Importance: Undecided
Statu