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

/etc/apt/trusted.gpg.d/newrelic-infra.gpg may need to be made readable #16463

Open
phillip-odam opened this issue Mar 8, 2024 · 1 comment
Open
Assignees
Labels
content requests related to docs site content

Comments

@phillip-odam
Copy link

Concerning https://docs.newrelic.com/docs/infrastructure/install-infrastructure-agent/linux-installation/install-infrastructure-monitoring-agent-linux/

At least for Ubuntu 22.04 (where UMASK seems to default to 027), right after executing curl -fsSL https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/newrelic-infra.gpg I think the command sudo chmod a+r /etc/apt/trusted.gpg.d/newrelic-infra.gpg is needed.

Without the read permission change when executing sudo apt-get update the following is output W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/newrelic-infra.gpg are ignored as the file is not readable by user '_apt' executing apt-key. And so attempts to install newrelic-infra fail.

@phillip-odam phillip-odam added the content requests related to docs site content label Mar 8, 2024
@github-actions github-actions bot added this to Hero to triage in Docs PRs and Issues Mar 8, 2024
Copy link

github-actions bot commented Mar 8, 2024

Hi @phillip-odam 👋

Thank you for filing an issue! We'll triage your issue and let you know if we have questions, and then route it to the appropriate team so we can get it solved.

@bradleycamacho bradleycamacho moved this from Hero to triage to In progress in Docs PRs and Issues Mar 8, 2024
@bradleycamacho bradleycamacho self-assigned this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content requests related to docs site content
Projects
Development

No branches or pull requests

2 participants