Quoting Fred Baumgarten (<email address hidden>):
> 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_awk" which is even wrong if
> mawk has precendence over gawk by using /etc/alternatives/awk. I guess
> you need to inspect a bit deeper.
I'm not convinced this matters. If mawk /etc/alternatives/awk points to
mawk, then mawk is installed. If mawk is not installed, then 'awk' will
run gawk, since we are depending on gawk being installed.
> there the /usr/bin/awk needs to be changed to /usr/bin/gawk as well.
Quoting Fred Baumgarten (<email address hidden>): backup_ awk holds the first line: scripts/ make_catalog_ backup_ awk" which is even wrong if es/awk. I guess
> Is the fix really that simple ?
>
> Actually make_catalog_
>
> #!/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/
> mawk has precendence over gawk by using /etc/alternativ
> you need to inspect a bit deeper.
I'm not convinced this matters. If mawk /etc/alternativ es/awk points to
mawk, then mawk is installed. If mawk is not installed, then 'awk' will
run gawk, since we are depending on gawk being installed.
> there the /usr/bin/awk needs to be changed to /usr/bin/gawk as well.
Again, not convinced.