Comment 3 for bug 2067252

Revision history for this message
Simon Fels (morphis) wrote :

You both are right :-)

The problem is in the way of how we check for an extension to be supported

func (c *clientImpl) HasExtension(name string) bool {
 if c.serviceStatus == nil {
  status, _, err := c.RetrieveServiceStatus()
  if err != nil {
   return false
  }
  c.serviceStatus = status
 }
        ....
}

RetrieveServiceStatus returns an error here but we hide that error. The reason it returns an error is that this is the first time the underlying HTTP client attempts to connect to the unix domain socket as Gary is describing. This can be fixed either by what Gary descries or by running amc as root as Michele did. The actual problem is though that we hide the connection error.