bacula-director crashes when nsswitch uses wins for hosts
Bug #590894 reported by
Tomasz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bacula |
New
|
Undecided
|
Unassigned | ||
bacula (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When invoking "status client" for a client Bacula crashes and logs:
Bacula interrupted by signal 11: Segmentation violation
Possible cause is using wins for host name resolution. In Ubuntu 8.04 LTS there were no problems, after upgrade to 10.04 LTS it stopped working.
manual workaround:
1. ping foo
PING foo (192.168.1.23) 56(84) bytes of data.
64 bytes from foo (192.168.1.23): icmp_seq=1 ttl=128 time=0.263 ms
2. add in /etc/hosts
192.168.1.23 foo
Now bacula works for this client as expected.