-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
JUICEFS_IMMUTABLE
, mount /etc/updatedb.conf
only in mut…
…able environments (#680) * Fix usage of `UpdateDBDirName` * Introduce `JUICEFS_IMMUTABLE`, mount `/etc/updatedb.conf` only in mutable environments In immutable environments, such as Talos Linux, most host directories are read-only. As a result, for example, `FileOrCreate` for the `/etc/updatedb.conf` will fail to create an empty file. This patch introduces `JUICEFS_IMMUTABLE` as a new environment variable for both controller and node instances to handle these kinds of cases that need special attention in immutable environments.
- Loading branch information
Showing
5 changed files
with
47 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters