-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Debian] clickhouse-server should depend on libcap2-bin #4091
Comments
ClickHouse doesn't run at all in Docker with enabled capabilities.
|
Solved in #4136 |
Thanks for your quick feedback.
Where are they come from ? Could you please explain ? |
Hi
As we use setcap in postinst script:
# Set net_admin capabilities to support introspection of "taskstats" performance metrics from the kernel. command -v setcap >/dev/null \ && setcap cap_net_admin=+ep "${CLICKHOUSE_BINDIR}/${CLICKHOUSE_GENERIC_PROGRAM}" \ || echo "Cannot set 'net_admin' capability for clickhouse binary. This is optional. Taskstats accounting will be disabled. To enable taskstats accounting you may add the required capability later manually."
i believe we should make clickhouse-server package depends on libcap2-bin.
Otherwise the setup will be inconsistent. I got a situation when my clickhouse servers installed on 2 different machines with different initial package list ( 1 is stretch and the other is jessie ) . On my Debian Stretch node, got this warning because there's no setcap command ( belongs to libcap2-bin )
Please consider it.
Thank you
The text was updated successfully, but these errors were encountered: