forked from pool/systemd
Accepting request 563822 from home:RBrownSUSE:branches:Base:System
- 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/request/show/563822 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1003
This commit is contained in:
parent
834026bfeb
commit
5af38b9aa6
@ -74,6 +74,18 @@ if mount --fake /var/lib/machines 2>/dev/null; then
|
|||||||
exit
|
exit
|
||||||
fi
|
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
|
# If something is already mounted don't try to fix anything, it's been
|
||||||
# done manually by the sysadmin.
|
# 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
|
Wed Jan 10 11:04:21 UTC 2018 - fbui@suse.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user