[PR #576] [MERGED] fix: execute systemctl daemon-reload after /etc/fstab changes #584

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

📋 Pull Request Information

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

Base: masterHead: fix-encrypt-systemd-reload


📝 Commits (1)

  • a75f88b fix: execute systemctl daemon-reload after /etc/fstab changes

📊 Changes

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

View changed files

📝 bin/admin/setup-encryption.sh (+8 -0)

📄 Description

Hi,

Most servers using systemd require a sytemctl daemon-reload after making changes to /etc/fstab because systemd generates systemd-mounts for all mount points under the hood.

Without the daemon-reload, I'm getting this warning:

mount: (hint) your fstab has been modified, but systemd still uses the old version; 
use 'systemctl daemon-reload' to reload.

🔄 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/576 **Author:** [@jon4hz](https://github.com/jon4hz) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 9/5/2025 **Merged by:** [@speed47](https://github.com/speed47) **Base:** `master` ← **Head:** `fix-encrypt-systemd-reload` --- ### 📝 Commits (1) - [`a75f88b`](https://github.com/ovh/the-bastion/commit/a75f88b5670d4df34c9153f2519dac3f003223e5) fix: execute systemctl daemon-reload after /etc/fstab changes ### 📊 Changes **1 file changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `bin/admin/setup-encryption.sh` (+8 -0) </details> ### 📄 Description Hi, Most servers using systemd require a `sytemctl daemon-reload` after making changes to `/etc/fstab` because systemd generates systemd-mounts for all mount points under the hood. Without the daemon-reload, I'm getting this warning: ``` mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload. ``` --- <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:37 +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#584
No description provided.