Skip to content

Remove user=root from the dev supervisor.conf so supervisord can start#575

Merged
cigamit merged 1 commit into
ctrliq:mainfrom
blaipr:fix/supervisor-conf-nonroot
Jul 10, 2026
Merged

Remove user=root from the dev supervisor.conf so supervisord can start#575
cigamit merged 1 commit into
ctrliq:mainfrom
blaipr:fix/supervisor-conf-nonroot

Conversation

@blaipr

@blaipr blaipr commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Commit c8eeb60 (#559, by @cigamit) added user=root to the [supervisord] section of tools/docker-compose/supervisor.conf. The docker-compose development container runs as the invoking user (user: "1000" in the generated compose file), not root, so supervisord refuses to start:

Error: Can't drop privilege as nonroot user
For help, use /usr/local/bin/supervisord -h
make: *** [Makefile:191: supervisor] Error 2

The awx container exits right after bootstrap and make docker-compose is broken on current main.

Fix

Remove the user=root line. supervisord then runs as whatever user launched it, which is what the development container expects and matches the behavior before #559.

Verification

With this line removed, docker compose up on the generated sources brings the environment up cleanly: supervisord starts all services, /api/v2/ping/ returns 200 and the UI is reachable on port 8043.

Commit c8eeb60 (ctrliq#559) added user=root to the [supervisord] section of
tools/docker-compose/supervisor.conf, but the docker-compose development
container runs as the invoking user (uid 1000), not root. supervisord
refuses to start with "Error: Can't drop privilege as nonroot user",
so the awx container exits right after bootstrap and make docker-compose
is broken on main.

Removing the line restores the previous behavior: supervisord runs as
whatever user launched it, which is what the development container
expects.
@cigamit

cigamit commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Wrong PR mentioned? #559 doesn't touch that file. Looks like that was done way back in #76. I will have to retest the implications of removing it.

@cigamit
cigamit merged commit 9635885 into ctrliq:main Jul 10, 2026
cigamit pushed a commit that referenced this pull request Jul 17, 2026
#575)

Commit c8eeb60 (#559) added user=root to the [supervisord] section of
tools/docker-compose/supervisor.conf, but the docker-compose development
container runs as the invoking user (uid 1000), not root. supervisord
refuses to start with "Error: Can't drop privilege as nonroot user",
so the awx container exits right after bootstrap and make docker-compose
is broken on main.

Removing the line restores the previous behavior: supervisord runs as
whatever user launched it, which is what the development container
expects.

Co-authored-by: test <test@test.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants