Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Failed to drop supplementary groups. #7

Description

@f1-outsourcing

When I add to a working config these lines, and restart haproxy ( haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg)

program api
    no option start-on-reload
    command /usr/local/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin '/usr/local/sbin/haproxy' --config-file $HAPROXY_CFG --reload-cmd '' --reload-delay 5 --userlist controller

I am getting these errors

[NOTICE] 200/133115 (2244182) : New program 'api' (2244183) forked
[NOTICE] 200/133115 (2244182) : New worker #1 (2244184) forked
[WARNING] 200/133115 (2244184) : [haproxy.main()] Failed to drop supplementary groups. Using 'gid'/'group' without 'uid'/'user' is generally useless.
expected argument for flag `-r, --reload-cmd'
[ALERT] 200/133115 (2244182) : Current program 'api' (2244183) exited with code 1 (Exit)
[ALERT] 200/133115 (2244182) : exit-on-failure: killing every processes with SIGTERM
[ALERT] 200/133115 (2244182) : Current worker #1 (2244184) exited with code 143 (Terminated)
[WARNING] 200/133115 (2244182) : All workers exited. Exiting... (1)
I0720 15:31:15.998927 2244150 executor.cpp:1013] Command exited with status 1 (pid: 2244180)

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