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

/var/log/percona too permissive #131

Open
NielsH opened this issue Feb 12, 2025 · 0 comments
Open

/var/log/percona too permissive #131

NielsH opened this issue Feb 12, 2025 · 0 comments

Comments

@NielsH
Copy link

NielsH commented Feb 12, 2025

Hello,

We have noticed that /var/log/percona is very permissive (chmod 777) and the log files inside that directory, being mode 644, are world-readable.
This happens on our Debian 12 servers through the postinst script:

#!/bin/sh


mkdir -p /var/log/percona
chmod -R go+w /var/log/percona
systemctl daemon-reload
systemctl enable percona-telemetry-agent.service || true
systemctl start percona-telemetry-agent.service

[...]

I noticed that the postinst script in this repo is different ( https://github.com/percona/telemetry-agent/blob/main/packaging/debian/postinst ) - so I am wondering if perhaps the Debian repo wasn't updated with the new build?

We are using this version, which appears to be the latest version available on the Percona repository:

percona-telemetry-agent:
  Installed: 1.0.1-1.bookworm
  Candidate: 1.0.1-1.bookworm
  Version table:
 *** 1.0.1-1.bookworm 500
        500 http://repo.percona.com/ps-80/apt bookworm/main amd64 Packages
        100 /var/lib/dpkg/status

Could you let me know if this is something we should change on our side or if it is something that can be fixed in the repository? Or is it considered not an issue?

Cheers!
Niels

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

No branches or pull requests

1 participant