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.
16 lines
283 B
SYSTEMD
16 lines
283 B
SYSTEMD
[Unit]
|
|
Description=NetworkManager persistent data
|
|
Requires=mnt-data.mount
|
|
After=mnt-data.mount
|
|
Before=NetworkManager.service
|
|
|
|
[Mount]
|
|
What=/mnt/overlay/var/lib/NetworkManager
|
|
Where=/var/lib/NetworkManager
|
|
Type=none
|
|
Options=bind
|
|
LazyUnmount=yes
|
|
|
|
[Install]
|
|
WantedBy=hassos-bind.target
|