-
Notifications
You must be signed in to change notification settings - Fork 69
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
logrotate: /var/log/mail #137
Comments
Having the same problem. |
Sorry I missed this issue. For potential solution #1 - the chart let's you set the securityContext for the pod. But as far as I know, that applies to all of a pod's volumeMounts. So I don't think there is anything the chart can do to change permissions per volume mount. Let me know if there is a way this can be done. For potential solution #2, you'll need to submit a bug to the docker-mailserver project. |
This addresses an issue raised docker-mailserver/docker-mailserver-helm#137
ok, I proposed the change to docker-mailserver -> docker-mailserver/docker-mailserver#4370 |
Ok great, going to close this issue then. |
logrotate wants to know which user/group should be used for rotation because by default it's world writable or writable by group which is not "root".
Raising this issue here because the mount is at https://github.com/docker-mailserver/docker-mailserver-helm/blob/master/charts/docker-mailserver/templates/deployment.yaml#L263-L267
Logrotate config is at https://github.com/docker-mailserver/docker-mailserver/blob/1a938dfb15e94f43f1af5ddaf7b8276aba92a825/target/scripts/startup/setup.d/log.sh#L13-L38
Current mount definition
Two potential solutions:
The text was updated successfully, but these errors were encountered: