[PR #577] [MERGED] fix: check if /home is actually mounted before exiting the script early #586

Closed
opened 2026-05-07 00:21:38 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/ovh/the-bastion/pull/577
Author: @jon4hz
Created: 9/4/2025
Status: Merged
Merged: 9/6/2025
Merged by: @speed47

Base: masterHead: fix-mount-check


📝 Commits (2)

  • 1b0b8d4 fix: check if /home is actually mounted before exiting the script early
  • 5d1aa9f fix: use mountpoint to check if /home is mounted

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 bin/admin/unlock-home.sh (+1 -1)

📄 Description

I ran into an issue where I set up a separate /home partition after initially configuring The Bastion.

I copied all content from /home without deleting it on the root disk, and because the script currently only checks if certain folders in /home exist, without actually checking if there is a mount for home, it aborted too early.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ovh/the-bastion/pull/577 **Author:** [@jon4hz](https://github.com/jon4hz) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 9/6/2025 **Merged by:** [@speed47](https://github.com/speed47) **Base:** `master` ← **Head:** `fix-mount-check` --- ### 📝 Commits (2) - [`1b0b8d4`](https://github.com/ovh/the-bastion/commit/1b0b8d4ae2f0d035c9c5b1d770a0066e29477659) fix: check if /home is actually mounted before exiting the script early - [`5d1aa9f`](https://github.com/ovh/the-bastion/commit/5d1aa9f4e8b39fb1d3ae51997b6d0793479c3997) fix: use mountpoint to check if /home is mounted ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `bin/admin/unlock-home.sh` (+1 -1) </details> ### 📄 Description I ran into an issue where I set up a separate `/home` partition after initially configuring The Bastion. I copied all content from `/home` without deleting it on the root disk, and because the script currently only checks if certain folders in `/home` exist, without actually checking if there is a mount for home, it aborted too early. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:21:38 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#586
No description provided.