pg_basebackup ERROR: could not signal for checkpoint: Permission denied
i deployed postgres cluster in kubernetes the master node start without any issue but when replication node wants to start checkpoints it gets this error
pg_basebackup: error: could not initiate base backup: ERROR: could not signal for checkpoint: Permission denied
pg_basebackup: error: could not initiate base backup: ERROR: could not signal for checkpoint: Permission denied pg_basebackup: removing data directory "/pgdata/pg17" pg_basebackup: removing WAL directory "/pgdata/pg17_wal" 2025-12-04 10:48:59,813 ERROR: Error when fetching backup: pg_basebackup exited with code=1
i cant find this permission denied is coming from where ?? i checked all permissions and security contexts
i found it . it was related to app armor in my host .i disabled it and it works for me