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

Unable To Load Alertmanager Config Given MacOS Big Sur Blocking /tmp/ Write Access #173

Closed
Carmezim opened this issue Apr 19, 2021 · 2 comments

Comments

@Carmezim
Copy link

Carmezim commented Apr 19, 2021

MacOS Big Sur does not allow write access to the root dir.

During validation of the alertmanager configs cortextool tries to write to /tmp/validate-configxxxxxx which is blocked by MacOS and fails with read-only file system.

Example:

ERRO[0001] server returned HTTP status 400 Bad Request: error validating Alertmanager config: 
mkdir /tmp/validate-config003623358: read-only file system  
fields.msg="error validating Alertmanager config: mkdir /tmp/validate-config003623358: read-only file system" status="400 Bad Request"

Is there a way to provide or modify the validation directory?

@Carmezim
Copy link
Author

That is a cortex issue actually

@vinitmasaun
Copy link

@Carmezim I am facing the same issue. Could you provide details on how you resolved this issue?

friedrichg pushed a commit to cortexproject/cortex-tools that referenced this issue Aug 1, 2023
Signed-off-by: ShuzZzle <niclas.schad@gmail.com>
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

2 participants