- **Milestone**: future --> never


---

** [tickets:#261] mds : tcp dtm IP address validation fails on Arch Linux with 
ARMv61**

**Status:** invalid
**Milestone:** never
**Created:** Thu May 16, 2013 08:20 AM UTC by A V Mahesh (AVM)
**Last Updated:** Wed Jun 05, 2013 06:35 AM UTC
**Owner:** A V Mahesh (AVM)

http://devel.opensaf.org/ticket/2828


The dtm CLC script lib/opensaf/clc-cli/osaf-dtm checks that the configured 
ipaddress matches any available interfaces. The output on Arch Linux is 
different then what the script is expecting.


The following change worked for me:


$if_config | grep -e "inet addr:$DTM_NODE_IP" -e "inet6 addr: $DTM_NODE_IP" 
>/dev/null 2>&1


changed to


$if_config | grep -e "inet.*$DTM_NODE_IP" -e "inet6 addr: $DTM_NODE_IP" 
>/dev/null 2>&1


Same version of ifconfig and linux kernels gives different output.
Same version of ifconfig and diff linux kernels with tcpv6 configured gives 
different output.



--------------------------------------------------------------------------------

[root@pinas opensaf_on_archlinux]# uname -a
Linux pinas 3.2.27-5-ARCH+ #1 PREEMPT Fri Sep 14 13:23:44 UTC 2012 armv6l 
GNU/Linux
[root@pinas opensaf_on_archlinux]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500


inet 192.168.0.108 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 XXXX::XXXX:XXXX:XXXX:XXXX prefixlen 64 scopeid 0x20<link>
ether XX:XX:XX:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 60023 bytes 31131911 (29.6 MiB)
RX errors 0 dropped 4 overruns 0 frame 0
TX packets 23375 bytes 3102098 (2.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0





---

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.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to