Skip to content

s6-linux-init: warning: parent wrote to fd 3! #564

@frankgreco

Description

@frankgreco

Before trying to minimally repro, I want to just see if there's anything I'm missing. I'm seeing s6-linux-init: warning: parent wrote to fd 3! at the very startup. I'm using s6-rc with this structure

❯ tree s6-rc.d
s6-rc.d
├── orchestrator
│   ├── dependencies.d
│   │   └── base
│   ├── finish
│   ├── run
│   └── type
├── user
│   └── contents.d
│       ├── orchestrator
│       ├── workergo
│       ├── workerjs
│       └── workerpy
├── workergo
│   ├── dependencies.d
│   │   └── base
│   ├── finish
│   ├── run
│   └── type
├── workerjs
│   ├── dependencies.d
│   │   └── base
│   ├── finish
│   ├── run
│   └── type
└── workerpy
    ├── dependencies.d
    │   └── base
    ├── finish
    ├── run
    └── type

11 directories, 20 files

I'm not sure if it's related but I am performing an echo in every run script 👇🏼

#!/command/with-contenv sh

echo "{\"level\":\"info\",\"ts\":$(date +%s),\"msg\":\"starting component orchestrator\",\"component\":\"s6\"}"
/app/orchestrator/bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions