Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Include package for setcap #9

Closed
SuperQ opened this issue Jan 11, 2018 · 3 comments
Closed

Include package for setcap #9

SuperQ opened this issue Jan 11, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@SuperQ
Copy link
Collaborator

SuperQ commented Jan 11, 2018

On default Debian (minimal) the libcap2-bin package is not installed, causing the service to not startup due to the /sbin/setcap command in the systemd unit.

@paulfantom paulfantom added the bug Something isn't working label Jan 11, 2018
@paulfantom
Copy link
Member

paulfantom commented Jan 11, 2018

I'm thinking about removing this line from systemd file and just setting capability with ansible capabilities module after changing file permission of blackbox_exporter binary to 0750 and ownership to blackbox-exp system user.
It could solve this problem but I don't know if this won't cause any security related issue. @SuperQ what do you think?

@SuperQ
Copy link
Collaborator Author

SuperQ commented Jan 11, 2018

Yes, setting capabilities with ansible sounds great.

@lock
Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants