Skip to content

s6-supervise (child): fatal: unable to exec run: Permission denied - On start #28

Closed
@jrpbuilds

Description

@jrpbuilds

When starting the container the following errors are outputted into the log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing... 
-------------------------------------
          _     _ _
         | |___| (_) ___
         | / __| | |/ _ \ 
         | \__ \ | | (_) |
         |_|___/ |_|\___/
               |_|
Brought to you by linuxserver.io
We do accept donations at:
https://www.linuxserver.io/donations
-------------------------------------
GID/UID
-------------------------------------
User uid:    1006
User gid:    500
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing... 
[cont-init.d] 30-config: exited 0.
[cont-init.d] done.
[services.d] starting services
s6-supervise (child): fatal: unable to exec run: Permission denied
s6-supervise sonarr: warning: unable to spawn ./run - waiting 10 seconds
[services.d] done.
s6-supervise (child): fatal: unable to exec run: Permission denied
s6-supervise sonarr: warning: unable to spawn ./run - waiting 10 seconds

Running:
CentOS 7 - 3.10.0-327.36.2.el7.x86_64
Docker version 1.10.3, build cb079f6-unsupported

SELinux set to permissive

Command used to created container:
docker create --name sonarr -p 8989:8989 -e PUID=1006 -e PGID=500 -v /dev/rtc:/dev/rtc:ro -v /home/sonarr:/config -v /home/media:/tv -v /home/sonarr:/downloads linuxserver/sonarr

Where 1006 is the UID of the sonarr user and 500 is the GUID of the media group (shared between all necessary containers)

Seems that it could be linked to s6-overlay? Not sure only been using docker for a few days :)

Links:
just-containers/s6-overlay#158

Let me know if any further information is required

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