summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-11-29 16:38:46 +0100
committerGitHub <noreply@github.com>2018-11-29 16:38:46 +0100
commit401faa3533280b05fee972e0c64885caf4b31e4c (patch)
treefebc63c1b0a46948cc3af8d23cbc6596f73b8f3d /units
parentf781c8fe78785829bc2270b38500fcc337a4f483 (diff)
parentfe1bff158e66bd4cc05e435ab29af830b8f3b3ac (diff)
downloadsystemd-401faa3533280b05fee972e0c64885caf4b31e4c.tar.gz
Merge pull request #10357 from poettering/import-fs
machinectl import-fs command and other fixes
Diffstat (limited to 'units')
-rw-r--r--units/var-lib-machines.mount7
1 files changed, 6 insertions, 1 deletions
diff --git a/units/var-lib-machines.mount b/units/var-lib-machines.mount
index 5da0c6fa32..3658199cc7 100644
--- a/units/var-lib-machines.mount
+++ b/units/var-lib-machines.mount
@@ -7,8 +7,13 @@
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
+# This unit is required for pre-240 versions of systemd that automatically set
+# up /var/lib/machines.raw as loopback-mounted btrfs file system. Later
+# versions don't do that anymore, but let's keep minimal compatibility by
+# mounting the image still, if it exists.
+
[Unit]
-Description=Virtual Machine and Container Storage
+Description=Virtual Machine and Container Storage (Compatibility)
ConditionPathExists=/var/lib/machines.raw
[Mount]