[OpenAFS] OpenAFS 1.6.5 on OSX

Turbo Fredriksson turbo@bayour.com
Sun, 26 Apr 2015 13:31:23 +0200


On Apr 26, 2015, at 12:55 PM, Jan Iven wrote:

> Suggest ktrace / dtruss to figure out what/where "aklog" is trying to =
connect..

Only have dtruss, but I can't see anything about any connection
attempt anywhere.

Although, when comparing that of an strace on Linux, I see this from
the OSX dtruss:

 3282/0x859c:  connect_nocancel(0x4, 0x7FFF618E3798, 0x6A)               =
=3D 0 0
 3282/0x859c:  sendto_nocancel(0x4, 0x101E0FEB0, 0x1C)           =3D 28 =
0
 3282/0x859c:  recvfrom_nocancel(0x4, 0x7FFF618E37E0, 0x4)               =
=3D 4 0
 3282/0x859c:  socketpair(0x1, 0x1, 0x0)                 =3D 0 0
 3282/0x859c:  setsockopt(0x5, 0xFFFF, 0x1100)           =3D 0 0
 3282/0x859c:  sendto_nocancel(0x4, 0x101E0FED0, 0x39)           =3D 57 =
0
 3282/0x859c:  sendmsg_nocancel(0x4, 0x7FFF618E3710, 0x0)                =
=3D 1 0
 3282/0x859c:  close_nocancel(0x6)               =3D 0 0
 3282/0x859c:  recvfrom_nocancel(0x5, 0x7FFF618E3760, 0x4)               =
=3D 4 0
 3282/0x859c:  close_nocancel(0x5)               =3D 0 0
 3282/0x859c:  kevent(0x3, 0x7FFF618E39D8, 0x1)          =3D 0 0
 3282/0x859c:  kevent(0x3, 0x0, 0x0)             =3D 1 0
 3282/0x859c:  kevent(0x3, 0x0, 0x0)             =3D 1 0
 3282/0x859c:  recvfrom_nocancel(0x4, 0x7FFF618E3770, 0x1C)              =
=3D 28 0
 3282/0x859c:  recvfrom_nocancel(0x4, 0x101E3A8B0, 0x2C)                 =
=3D 44 0
 3282/0x859c:  select_nocancel(0x5, 0x7FFF618E37A0, 0x0)                 =
=3D 0 0
 3282/0x859c:  kevent(0x3, 0x7FFF618E3270, 0x1)          =3D 0 0
 3282/0x859c:  sendto_nocancel(0x4, 0x101E0FEB0, 0x1C)           =3D 28 =
0
 3282/0x859c:  close_nocancel(0x3)               =3D 0 0

Not sure what that means though.

> Perhaps MacOs uses TCP by default, Linux ses UDP, and your server-side =
firewall is closed for TCP (or something like that).

I've now enabled TCP on the kdc, but still no go.


This have bothered me for a while though. Don't know if it matters, but
still:

	celia# cat /etc/openafs/bosserver.rxbind
	127.0.0.1

So I added the -rxbind to bosserver (didn't help though):

	celia# ps | grep bos
	10762 pts/1    S+     0:00  |               \_ grep --color bos
	 8815 ?        Ss     0:00 /usr/sbin/bosserver -rxbind
--
Life sucks and then you die