[Bug 590894] Re: bacula-director crashes when nsswitch uses wins for hosts

2010-08-25 Thread Chuck Short
I have submitted this bug upstream as:

http://bugs.bacula.org/view.php?id=1629

chuck

** Bug watch added: bugs.bacula.org/ #1629
   http://bugs.bacula.org/view.php?id=1629

** Changed in: bacula (Ubuntu)
   Status: Incomplete = Confirmed

-- 
bacula-director crashes when nsswitch uses wins for hosts
https://bugs.launchpad.net/bugs/590894
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


[Bug 590894] Re: bacula-director crashes when nsswitch uses wins for hosts

2010-08-25 Thread Tomasz
There is an attachment - see on the right side of the page Bug attachments - 
debug messages and running under gdb
Thanks

-- 
bacula-director crashes when nsswitch uses wins for hosts
https://bugs.launchpad.net/bugs/590894
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


Re: [Bug 590894] Re: bacula-director crashes when nsswitch uses wins for hosts

2010-08-25 Thread Kern Sibbald

 There is an attachment - see on the right side of the page Bug
 attachments - debug messages and running under gdb

It is just as I suspected: Bacula has called gethostbyname, which then seg
faults when in the wins code.  Unless Bacula is passing bad arguments to
gethostbyname, which is highly unlikely, it is not a Bacula bug.

It seems to me that someone has reported this some time ago, so I suspect
it may not be a Ubuntu version bug.

Unless someone can show me that Bacula is doing something wrong, I'm
assuming at this point that it as an upstream OS or library bug.

Kern

-- 
bacula-director crashes when nsswitch uses wins for hosts
https://bugs.launchpad.net/bugs/590894
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


[Bug 590894] Re: bacula-director crashes when nsswitch uses wins for hosts

2010-06-27 Thread Tomasz

** Attachment added: debug messages and running under gdb
   http://launchpadlibrarian.net/50982983/baclog.txt

-- 
bacula-director crashes when nsswitch uses wins for hosts
https://bugs.launchpad.net/bugs/590894
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


[Bug 590894] Re: bacula-director crashes when nsswitch uses wins for hosts

2010-06-27 Thread Tomasz
Debugging shows problem in bacula-5.0.1/src/lib/bnet.c, function
dlist *bnet_host2ipaddrs(const char *host, int family, const char **errstr)

There are some ifdefs depending on HAVE_IPV6 that may cause this
trouble!

-- 
bacula-director crashes when nsswitch uses wins for hosts
https://bugs.launchpad.net/bugs/590894
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


[Bug 590894] Re: bacula-director crashes when nsswitch uses wins for hosts

2010-06-10 Thread Tomasz
As the subject says - this bug is about bacula-dir (one of other
components crashes also, but I don't remember which one).

Steps:
1. Enable wins hosts resolution, see attached nsswitch.
2. Install on a Windows machine a file daemon, version 2.x.
2. Prepare a job where Client=HOSTNAME-FD, where HOSTNAME-FD is the above 
mentioned machine - to be resolved with wins.
3. Run the job.

-- 
bacula-director crashes when nsswitch uses wins for hosts
https://bugs.launchpad.net/bugs/590894
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


[Bug 590894] Re: bacula-director crashes when nsswitch uses wins for hosts

2010-06-09 Thread Mathias Gug
Could you outline which bacula process crashes? Could you outline
specific steps to reproduce your issue?

** Changed in: bacula (Ubuntu)
   Importance: Undecided = Medium

** Changed in: bacula (Ubuntu)
   Status: New = Incomplete

-- 
bacula-director crashes when nsswitch uses wins for hosts
https://bugs.launchpad.net/bugs/590894
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


[Bug 590894] Re: bacula-director crashes when nsswitch uses wins for hosts

2010-06-07 Thread Tomasz

** Attachment added: output from debugging run of bacula director
   http://launchpadlibrarian.net/49830508/script.txt

** Also affects: bacula (Ubuntu)
   Importance: Undecided
   Status: New

-- 
bacula-director crashes when nsswitch uses wins for hosts
https://bugs.launchpad.net/bugs/590894
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


[Bug 590894] Re: bacula-director crashes when nsswitch uses wins for hosts

2010-06-07 Thread Tomasz
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.23foo

Now bacula works for this client as expected.

-- 
bacula-director crashes when nsswitch uses wins for hosts
https://bugs.launchpad.net/bugs/590894
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


[Bug 590894] Re: bacula-director crashes when nsswitch uses wins for hosts

2010-06-07 Thread Tomasz
** Description changed:

+ 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.

-- 
bacula-director crashes when nsswitch uses wins for hosts
https://bugs.launchpad.net/bugs/590894
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