1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 04:19:03 +00:00

Fix propagation mode of mounts to allow Ha-Core to start (#4374)

* Fix propagation mode of mounts to allow Ha-Core to start

Change the mount propagation mode from SLAVE to RSLAVE in case of /media and /share

* Check /share and /media to use RSLAVE as a propagation mode of mount

* Fix mount propagation mode of /share and /media

* Check /share and /media for rslave propagation mode
This commit is contained in:
cociweb
2023-06-14 23:40:46 +02:00
committed by GitHub
parent 9504eff889
commit 5d1ef34f17
4 changed files with 7 additions and 7 deletions

View File

@@ -121,7 +121,7 @@ def test_addon_map_folder_defaults(
source=coresys.config.path_extern_media.as_posix(),
target="/media",
read_only=True,
propagation="slave",
propagation="rslave",
)
in docker_addon.mounts
)
@@ -133,7 +133,7 @@ def test_addon_map_folder_defaults(
source=coresys.config.path_extern_share.as_posix(),
target="/share",
read_only=True,
propagation="slave",
propagation="rslave",
)
in docker_addon.mounts
)