Remove user=root from the dev supervisor.conf so supervisord can start#575
Merged
Merged
Conversation
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.
Contributor
cigamit
approved these changes
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Commit c8eeb60 (#559, by @cigamit) added
user=rootto the[supervisord]section oftools/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:The awx container exits right after bootstrap and
make docker-composeis broken on current main.Fix
Remove the
user=rootline. 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 upon 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.