On 21.06.2011, at 12:22, Daniel Baumann wrote:
> Package: squeak-vm
> Version: 1:4.4.7.2357-1
>
> Please use gethostbyaddr instead of getaddrinfo - gethostbyaddr doesn't
> work correctly on any newer system (>=squeeze) which results in
> squeak-vm logging with the *local* ip (127.0.0.1) instead of the hostname.
>
> upgrading from lenny to squeeze and facing that hundreds of squeak
> images and all of them logging with 127.0.0.1 instead of their hostname
> is a major pita.
>
> Regards,
> Daniel
Actually, squeak-vm already supports both styles of address resolution. In your Squeak image you need to switch to the new primitives.
See e.g.
http://lists.squeak.org/pipermail/squeak-dev/2011-May/160017.htmlIf you have a SocketPlugin patch to make the old primitives work better, please submit it upstream (Squeak's vm-dev list). This would allow to use old Squeak images unchanged.
- Bert -