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

Failure when a configuration file is not accessible for permission reason #78

Open
reech-jeanphilippe opened this issue Dec 20, 2023 · 0 comments

Comments

@reech-jeanphilippe
Copy link

When used in a sandboxed environment, the lack of permission on a configuration file leads to an error.

My use-case is Traefik running as a sandboxed systemd service, using Lego for Lets Encrypt TLS certificates generation.
When using the OVH provider, which uses this module, I have an error regarding permission on /home/traefik/.ovh.conf:

cannot get ACME client ovh: cannot load configuration: open /home/traefik/.ovh.conf: permission denied

The home directory is not accessible (ProtectHome=true), thus the loadConfig method produce an error, even using the ini.LooseLoad method.

This behaviour seems to have been introduced in this commit: 39b6ccfa1451f02114c45cd6abce2d0879a4da4f

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