openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
821 stars 252 forks source link

Check that storage.mount isn't rsynced #1623

Closed mstormi closed 2 years ago

mstormi commented 2 years ago

Conditions: SD mirroring activated and 3rd partition in use as /storage. While on mirroring setup the device name in /etc/systemd/system/storage.mount is replaced on the mirror, it may subsequently get overwritten (synced) by the sdrsync service, resulting in problems when the mirror SD is being booted from.

mstormi commented 2 years ago

Fixed-by: https://github.com/openhab/openhabian/commit/080318190333609a5ac8f324e1de0c00c93b2328