Skip to content

Fixed hub install when PostgreSQL data or backup directory is a mount point - #2388

Open
nickanderson wants to merge 1 commit into
cfengine:masterfrom
nickanderson:ENT-14392/master
Open

Fixed hub install when PostgreSQL data or backup directory is a mount point#2388
nickanderson wants to merge 1 commit into
cfengine:masterfrom
nickanderson:ENT-14392/master

Conversation

@nickanderson

Copy link
Copy Markdown
Member

rm -rf cannot remove a mount point even after emptying it, and the package
scripts treated that non-zero exit as failure. They now check whether the
directory ended up empty instead, run initdb via a staging directory when
nested mounts such as a separate pg_wal volume survive, and tolerate
lost+found in BACKUP_DIR.

Ticket: ENT-14392
Changelog: title

… point

`rm -rf` cannot remove a mount point even after emptying it, and the package
scripts treated that non-zero exit as failure. They now check whether the
directory ended up empty instead, run initdb via a staging directory when
nested mounts such as a separate pg_wal volume survive, and tolerate
lost+found in BACKUP_DIR.

Ticket: ENT-14392
Changelog: title
@nickanderson
nickanderson force-pushed the ENT-14392/master branch 2 times, most recently from f429472 to 9d95bc0 Compare July 30, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant