Skip to content
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

Status page is not working, requires root #46

Closed
tituspijean opened this issue Dec 30, 2021 · 2 comments · Fixed by #103
Closed

Status page is not working, requires root #46

tituspijean opened this issue Dec 30, 2021 · 2 comments · Fixed by #103

Comments

@tituspijean
Copy link
Member

Describe the bug

Status page in the UI requires the webapp to be run as root. It should be avoided, this issue is open as both a notification for users and investigation thread to find alternative solutions.

Context

Package version > 0.3.2~ynh1

@tituspijean tituspijean pinned this issue Dec 30, 2021
@tituspijean tituspijean changed the title Status page is not working Status page is not working, requires root Aug 3, 2022
@manuc66
Copy link

manuc66 commented May 30, 2023

Just to share the actual display :
image

@TSGeek
Copy link
Contributor

TSGeek commented May 2, 2024

Hi,
it's a capability that the service is missing to query the devices.
A workaround is to add these lines to the wireguard_ui service :
CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_NET_ADMIN CAP_NET_RAW AmbientCapabilities=CAP_DAC_READ_SEARCH CAP_NET_ADMIN CAP_NET_RAW

I'm doing a PR for that.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants