mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 15:36:29 +00:00
OS: Fix unmount of busy mounts (#319)
dhclient and systemd-journald will be running during shutdown and are only killed in the final shutdown fase. Unmounting the directories they use will fail. Use lazy unmouting to fix this.
This commit is contained in:
parent
e858c774d2
commit
5835b6a683
@ -9,6 +9,7 @@ What=/mnt/overlay/var/lib/NetworkManager
|
||||
Where=/var/lib/NetworkManager
|
||||
Type=none
|
||||
Options=bind
|
||||
LazyUnmount=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=hassos-bind.target
|
||||
|
@ -9,6 +9,7 @@ What=/mnt/overlay/var/log/journal
|
||||
Where=/var/log/journal
|
||||
Type=None
|
||||
Options=bind
|
||||
LazyUnmount=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=hassos-bind.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user