podman/pkg/api/server
Jhon Honce c0c44ae8a3 Fix handler and systemd activation errors
On panic from handler: log warning and stack trace, report
InternalServerError to client

When using `podman system service` make determining the listening endpoint deterministic.

  // When determining _*THE*_ listening endpoint --
  // 1) User input wins always
  // 2) systemd socket activation
  // 3) rootless honors XDG_RUNTIME_DIR
  // 4) if varlink -- adapter.DefaultVarlinkAddress
  // 5) lastly adapter.DefaultAPIAddress

Fixes #5150
Fixes #5151

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-02-17 10:29:32 -07:00
..
docs.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00
handler_api.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
listener_api.go Add service endpoint 2020-01-21 16:35:45 -06:00
register_auth.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_containers.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_distribution.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_events.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_exec.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_healthcheck.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_images.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_info.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_monitor.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_ping.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_plugins.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_pods.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_swagger.go Add /swagger/ endpoint to serve swagger yaml to clients 2020-02-04 16:39:54 -07:00
register_swarm.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_system.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_version.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_volumes.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
server.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
swagger.go [CI:DOCS]add apiv2 endpoints for exec 2020-02-03 12:40:01 -06:00