[systemd-bugs] [Bug 89975] New: --template in systemd-nspawn should support overlayfs too

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 10 09:18:46 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89975

            Bug ID: 89975
           Summary: --template in systemd-nspawn should support overlayfs
                    too
           Product: systemd
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: gdamjan at gmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

The --template option in systemd-nspawn will take a filesystem, make a btrfs
snapshot of it, and run the container in the snapshot, then destroy the
snapshot when it's over.

The same functionality could be implemented with overlay(fs) in kernels newer
or equal than 3.18, for systems not running on btrfs. The base filesystem would
be the read-only lower layer of the overlay, and the write layer can be in a
tmpfs or anywhere else on the real filesystem.


Additionally, the overlay(fs) now also supports more than one read-only layer.

Also food for thought, it might be an interesting option to have the write
layer persistent - but that would diverge from the btrfs usage.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150410/9a1513f3/attachment.html>


More information about the systemd-bugs mailing list