[pkg-bacula-devel] Bug#742914: bacula-common: bsmtp: bsmtp.c:377 Fatal gethostbyname for myself failed "backup.DOMAIN.TLD": ERR=Success

Raoul Bhatia raoul at bhatia.at
Fri Mar 28 21:55:34 UTC 2014


Package: bacula-common
Version: 5.2.6+dfsg-9
Severity: important


> # /usr/sbin/bsmtp -h backup -f "(Bacula) <root>" -s "Bacula: Backup OK of backup-fd Full" root
> bsmtp: bsmtp.c:377 Fatal gethostbyname for myself failed "backup.DOMAIN.TLD": ERR=Success

This happens on an IPv6 only host.

The current workaround is to add "backup.DOMAIN.TLD" to /etc/hosts, e.g.
+ 127.0.1.1       backup.DOMAIN.TLD

I think this problem might be solved with a more recent Bacula version.

Cheers,
Raoul
PS. I'm actually using Ubuntu but as Ubuntu syncs Bacula from the
Debian repository, I'm also filing this bug here.

Filed for Ubuntu as
https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1299249
-- 
DI (FH) Raoul Bhatia M.Sc.     |   E-Mail.  raoul at bhatia.at
Software Development and       |   Web.     http://raoul.bhatia.at/
System Administration          |   Tel.     +43 699 10132530



More information about the pkg-bacula-devel mailing list