- Edit scripts-systemd-fix-machines-btrfs-subvol.sh
We shouldn't be creating a /var/lib/machines subvolume if /var is already a seperate partition or subvolume. /var/lib/machines will already be excluded from snapper & similar tooling in this case. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1003
This commit is contained in:
parent
f90d4c6f80
commit
f95b0b4413
@ -74,6 +74,18 @@ if mount --fake /var/lib/machines 2>/dev/null; then
|
||||
exit
|
||||
fi
|
||||
|
||||
#
|
||||
# If there is already an entry in fstab for /var, it means that:
|
||||
#
|
||||
# - the system has a seperate /var subvolume (default from Feb 2018)
|
||||
# - the system has a seperate /var partition
|
||||
#
|
||||
# In any case we should exit
|
||||
#
|
||||
if mount --fake /var 2>/dev/null; then
|
||||
exit
|
||||
fi
|
||||
|
||||
#
|
||||
# If something is already mounted don't try to fix anything, it's been
|
||||
# done manually by the sysadmin.
|
||||
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 12:27:52 UTC 2018 - rbrown@suse.com
|
||||
|
||||
- Edit scripts-systemd-fix-machines-btrfs-subvol.sh
|
||||
|
||||
We shouldn't be creating a /var/lib/machines subvolume if /var is
|
||||
already a seperate partition or subvolume. /var/lib/machines will
|
||||
already be excluded from snapper & similar tooling in this case.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 11:04:21 UTC 2018 - fbui@suse.com
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user