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

Adjust debugging MapFile doc about systemd private tmp dir #857

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

adube
Copy link
Contributor

@adube adube commented Oct 19, 2023

When working on a Linux OS, debugging a MapFile while using the /tmp directory can be misleading for people who are not aware about systemd private directory security, i.e. putting /tmp/ms_error.txt in the MapFile does not actually output the log at that exact location on your OS system. It outputs it in a private directory generated by systemd for the service used (in my case, it was Apache).

So, this patch is about documenting this to avoid people that were unaware of that (like me) to fall in that trap again in the future.

@jmckenna
Copy link
Member

good catch, thanks @adube !

@jmckenna jmckenna added the backport branch-8-0 To backport a pull request to branch-8-0 label Oct 19, 2023
@jmckenna jmckenna merged commit 4227d4c into MapServer:main Oct 19, 2023
4 checks passed
@adube adube deleted the debugging-ms-on-linux-systemd branch October 19, 2023 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport branch-8-0 To backport a pull request to branch-8-0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants