On Tue, Jul 24, 2012 at 10:19:20AM +0400, Alex Peshkoff wrote:
> Patch seems to be absolutely correct.

Thank you for the review. Committed to HEAD.

> Just interested - did it really try to open something like
> '/srv/firebird/172.16.114.128:tips'?

Yes, I found this in strace log:

("/usr/bin/isql", ["isql", "-ch", "UTF8", "172.16.114.1:tips"], [/* 55 vars 
*/]) = 0
22767 access("/srv/firebird/172.16.114.1:tips", R_OK) = -1 EACCES (Permission 
denied)
22767 sendto(4, "\2\0\0\0\20\0\0\0\36\0\0\0srv/firebird/172.16."..., 42, 
MSG_NOSIGNAL, NULL, 0) = 42
22767 access("/srv/firebird/172.16.114.1:tips", R_OK) = -1 EACCES (Permission 
denied)
22767 stat("/srv/firebird/172.16.114.1:tips", 0x7ffff6504e40) = -1 EACCES 
(Permission denied)
22767 open("/srv/firebird/172.16.114.1:tips", O_RDWR) = -1 EACCES (Permission 
denied)
22767 open("/srv/firebird/172.16.114.1:tips", O_RDONLY) = -1 EACCES (Permission 
denied)

The sendto() call is a query sent to nscd, probably connected to error 
message "Undefined service srv/firebird/172.16.114.1/tcp.". Apparently 
the client also parsed the string "/srv/firebird/172.16.114.1:tips" 
according to the "host/port:database" scheme.

                                                        Michal Kubeček


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to