Skip to content

Since 4-23-2022 image container won't start with s6-overlay-suexec: fatal: can only run as pid 1 #434

Closed
@mroth

Description

Describe Your Problem:
Since latest version pushed to Docker Hub yesterday, container wont start for me with message s6-overlay-suexec: fatal: can only run as pid 1.

Rolling back to previous tag for my architecture (2022-04-14-aarch64) appears to successfully mitigate the issue, so likely something introduced in recent commits.

Logs:

s6-overlay-suexec: fatal: can only run as pid 1
s6-overlay-suexec: fatal: can only run as pid 1
s6-overlay-suexec: fatal: can only run as pid 1
s6-overlay-suexec: fatal: can only run as pid 1
s6-overlay-suexec: fatal: can only run as pid 1
s6-overlay-suexec: fatal: can only run as pid 1
s6-overlay-suexec: fatal: can only run as pid 1
s6-overlay-suexec: fatal: can only run as pid 1
s6-overlay-suexec: fatal: can only run as pid 1

etc.

Docker Start Command:
Configured via ansible, but the syntax here is similar to docker compose so should be fairly explanatory.

  - name: Set up Homebridge container
    docker_container:
      container_default_behavior: compatibility
      name: homebridge
      image: oznu/homebridge:latest
      state: started
      network_mode: host
      # Run an init inside the container that forwards signals and reaps
      # processes. This option requires Docker API >= 1.25.
      init: yes
      restart_policy: always
      pull: yes
      volumes:
        - /config/homebridge:/homebridge
      env:
        TZ: "America/New_York"
        PGID: "1000"
        PUID: "1000"
        HOMEBRIDGE_INSECURE: "0"
        HOMEBRIDGE_DEBUG: "0"
        HOMEBRIDGE_CONFIG_UI: "1"
        HOMEBRIDGE_CONFIG_UI_PORT: "8080"

Homebridge Config:

{
    "bridge": {
        "name": "REDACTED",
        "username": "REDACTED",
        "port": 52133,
        "pin": "REDACTED",
        "advertiser": "ciao"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Hue",
            "users": {
                "REDACTED": "REDACTED"
            },
            "hosts": [
                "127.0.0.1"
            ],
            "lights": true,
            "nativeHomeKitLights": true,
            "nativeHomeKitSensors": true,
            "nupnp": true,
            "resource": true,
            "sensors": true,
            "platform": "Hue"
        },
        {
            "name": "Config",
            "port": 8080,
            "platform": "config"
        }
    ]
}

Screenshots:
N/A

Environment:

  • Host Operating System: Linux raspberrypi 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux
  • Docker Version:
Client: Docker Engine - Community
 Version:           20.10.14
 API version:       1.41
 Go version:        go1.16.15
 Git commit:        a224086
 Built:             Thu Mar 24 01:47:24 2022
 OS/Arch:           linux/arm64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.14
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.15
  Git commit:       87a90dc
  Built:            Thu Mar 24 01:45:44 2022
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.5.11
  GitCommit:        3df54a852345ae127d1fa3092b95168e4a88e2f8
 runc:
  Version:          1.0.3
  GitCommit:        v1.0.3-0-gf46b6ba
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
  • Image Tag / Type: latest

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions