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

[BUG] systemd unit file is world inaccesible, creates log spam #144

Open
leba-atr opened this issue Feb 12, 2024 · 0 comments
Open

[BUG] systemd unit file is world inaccesible, creates log spam #144

leba-atr opened this issue Feb 12, 2024 · 0 comments

Comments

@leba-atr
Copy link

Describe the bug

systemd complains about the wazuh-dashboard unit file being world unreadable. This spams the journal every couple of seconds with an entry like this:

Feb 11 05:07:10 XXXXXXX systemd[1]: Configuration file /etc/systemd/system/wazuh-dashboard.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.

To Reproduce
Steps to reproduce the behavior:

  1. open journalctl -e, there should be a message every couple of seconds

Expected behavior
There is no such error message

OpenSearch Version
The one packaged with the wazuh-indexer v4.7.2

Dashboards Version
v4.7.2

Plugins
n/a

Screenshots
see above for the error message

Host/Environment (please complete the following information):

  • OS: RHEL 8
  • Install method: RPM (but also affects DEB)

Additional context

%attr(640, root, root) "/etc/systemd/system/wazuh-dashboard.service"

chmod 640 $(TARGET_DIR)/etc/systemd/system/wazuh-dashboard.service

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

No branches or pull requests

1 participant