overlayfs: handle v3.18 overlay union type

Bug #1398569 reported by Andy Whitcroft on 2014-12-02
This bug affects 3 people
Affects Status Importance Assigned to Milestone
schroot (Debian)
Fix Released
schroot (Ubuntu)
Andy Whitcroft
Nominated for Trusty by Mathew Hodson

Bug Description


* The kernel changed the name of overlayfs to overlay and added the workdir
  option to the mount options.

* See https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ef94b1864d1ed5be54376404bb23d22ed0481feb

* This causes an error when running schroot:
  schroot --option=union-type=overlay
  E: /etc/schroot/chroot.d/click-ubuntu-sdk-15.04-armhf: line 12 [click-ubuntu-sdk-15.04-armhf] union-type: Unknown filesystem union type ‘overlay’

[Test Case]

* Try to run a schroot with option union-type=overlay:
  schroot --option=union-type=overlay

[Regression Potential]

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package schroot - 1.6.10-1ubuntu1

schroot (1.6.10-1ubuntu1) vivid; urgency=low

  * overlayfs: handle v3.18 backwards compatible v1 mode workdir
    requirement. (LP: #1398523)
  * overlayfs: handle v3.18 overlay union type. (LP: #1398569)
 -- Andy Whitcroft <email address hidden> Wed, 03 Dec 2014 11:24:31 +0000

Changed in schroot (Ubuntu):
status: New → Fix Released
Andy Whitcroft (apw) on 2014-12-16
Changed in schroot (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Andy Whitcroft (apw)
Roger Leigh (rleigh) wrote :

If any of these changes require merging upstream, please could you forward a patch to the Debian BTS or open a PR against https://github.com/codelibre-net/schroot


Michael Greene (commod0re) wrote :

I'm glad to see this was already fixed almost a year ago, but the version of schroot that is available in 14.04.3 with kernel 3.19.0-25-generic (schroot 1.6.8-1ubuntu1) is broken without it.

Is there a plan to push 1.6.10-1ubuntu1 to at least trusty-backports maybe?

summary: - schroot overlay v2 support
+ overlayfs: handle v3.18 overlay union type
tags: added: trusty
description: updated
Mathew Hodson (mathew-hodson) wrote :

This was fixed in Vivid. To fix this for Trusty, someone needs to create a debdiff for a Trusty SRU and follow the stable release update procedure here: https://wiki.ubuntu.com/StableReleaseUpdates

description: updated
Changed in schroot (Debian):
status: Unknown → Fix Released
GabrieLucas (gabitogol) wrote :

Hi, developers using Ubuntu 14.04 trying to install ubuntu-sdk are still facing this bug.

I post my trace when opening ubuntu-sdk


I´m looking for a fix and have been searching in the pending ubuntu stable release updates.

Can anyone create the debdiff for the Trusty SRU?


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.