You mean that taking 127.0.0.1 is not advisable? It also have another side
effect that only one node will come up with 127.0.0.1.
My opinion is : Have everything as current behavior(avoid crash of course),
insert a logic in between to take IP address of eth0 if configured IP is not
matching with any IP addresses available on all interfaces and send syslog
intimating the same.
If eth0 is also not available, maintain the same behavior.
---
** [tickets:#1152] osafdtmd segfaults**
**Status:** review
**Milestone:** future
**Created:** Mon Oct 06, 2014 06:28 AM UTC by Hans Feldt
**Last Updated:** Mon Oct 06, 2014 07:17 AM UTC
**Owner:** Hans Feldt
starting opensaf with an invalid IP address in dtmd.conf osafdtmd segafaults:
(gdb) run -n
Starting program: /home/uabhafe/local/lib/opensaf/osafdtmd -n
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff7fd4b00 (LWP 5688)]
Program received signal SIGSEGV, Segmentation fault.
0x00000000004065fb in dtm_validate_listening_ip_addr
(config=config@entry=0x61b9c0 <_dtms_cb>) at dtm_read_config.c:140
140 if (if_addr->ifa_addr->sa_family == AF_INET) {
(gdb) info locals
if_addrs = <optimized out>
if_addr = 0x6306d0
tmp = 0x0
(gdb) p *if_addr
$2 = {ifa_next = 0x630788, ifa_name = 0x630774 "tun0", ifa_flags = 69841,
ifa_addr = 0x0, ifa_netmask = 0x0, ifa_ifu = {ifu_broadaddr = 0x0, ifu_dstaddr
= 0x0}, ifa_data = 0x630e00}
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets