Skip to content

clamd can't connect to its own rpc interface (in some cases) #272

@haraldg

Description

@haraldg

This is a minor issue as it probably only happens in rare configurations and can easily be worked around. Nevertheless it is somewhat strange:

The machine is an amd64 linux 3.16.0 with only IPv6 connectivity. DNS is also using IPv6 - no problems there so far. Locally there is a loop back interface with 127.0.0.1

If I try to connect to clamd, eg: "clamd help" I get an error:
error: resolve: Host not found (authoritative)

The same error is also reported with "clamd -rpcconnect=127.0.0.1 help" so why is it
trying to do a host lookup?

Oddly enough "clamd -rpcconnect=::1 help" works fine.

I tried to strace clamd and had a look at the source but couldn't find anything wrong,
so maybe this is an issue with an underlying library. OTOH clamd is the only program I
have had trouble with on this machine so far, so thought I should mention this anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions