Skip to content

chown: /var/spool/postfix/: Operation not permitted when using persistent volume claims #97

@erc7

Description

@erc7

Deploying via helm.

Config:

persistence:
  enabled: true
  accessModes:
    - ReadWriteOnce
  size: 128Mi
  storageClass: efs-sc

Storageclass:

Name:                  efs-sc
IsDefaultClass:        Yes
Annotations:           meta.helm.sh/release-name=aws-efs-csi-driver,meta.helm.sh/release-namespace=kube-system,storageclass.kubernetes.io/is-default-class=true
Provisioner:           efs.csi.aws.com
Parameters:            basePath=/dynamic_provisioning,directoryPerms=700,fileSystemId=*******,gidRangeEnd=2000,gidRangeStart=1000,provisioningMode=efs-ap
AllowVolumeExpansion:  <unset>
MountOptions:
  tls
ReclaimPolicy:      Delete
VolumeBindingMode:  Immediate
Events:             <none>

Log:

★★★★★ POSTFIX STARTING UP ★★★★★                    
‣ INFO  Not setting any timezone for the container 
‣ INFO  Using plain log format for rsyslog.        
‣ NOTE  Using smart filter for email anonymization.
chown: /var/spool/postfix/: Operation not permitted

The persistent volume claim seems to be bound properly when creating the deployment. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions