SHA256
1
0
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:
Franck Bui 2018-01-15 10:27:52 +00:00 committed by Git OBS Bridge
parent 834026bfeb
commit 5af38b9aa6
2 changed files with 21 additions and 0 deletions

View File

@ -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.

View File

@ -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