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. ah yes - i just took a look at bacula-dir.conf in /etc/bacula, there it is: RunBeforeJob = "/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v cat1=MyCatalog /etc/bacula/bacula-dir.conf" there the /usr/bin/awk needs to be changed to /usr/bin/gawk as well. greetings, Fred -- bacula misses requirement of gawk https://bugs.launchpad.net/bugs/645082 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs