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

Drupal Pod is crashing when we enable Readonly file system as True without error #258

Open
vikramdevops123 opened this issue Feb 18, 2024 · 3 comments

Comments

@vikramdevops123
Copy link

vikramdevops123 commented Feb 18, 2024

Drupal kubernates Pod is crashing when we enable Read only file system as True without error.

As part of pen test, it has been identified to enabled the flag , but no luck pod is crashing without any error.

Drupal Deployment file :

image

docker file:

image

Error:

image

image

Can you pls help us as earliest. we have added correct mount point but still it is crashing.

mount point :

image

@mstenta
Copy link

mstenta commented Feb 18, 2024

Drupal writes to the /tmp directory as well, so you may need to mount that as a volume. There may be other directories as well, but it looks like you got most of the ones that come to mind.

Please report back with the final list of directories needed if you figure this out. I'm curious.

@tianon
Copy link
Member

tianon commented Feb 20, 2024

I'd also recommend checking the container logs -- they probably contain clues as to why it's failing to start.

@vikramdevops123
Copy link
Author

no errors in logs :(

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

3 participants