Bug#813360: Overlayfs available on newer Linux kernel only

2016-02-17 Thread Luca Falavigna
Improved patch attached. -- Cheers, Luca diff --git a/bin/sbuild-createchroot b/bin/sbuild-createchroot index 2371999..4bfb73f 100755 --- a/bin/sbuild-createchroot +++ b/bin/sbuild-createchroot @@ -307,10 +307,23 @@ root-groups=root,sbuild profile=sbuild EOF } else { + +# Determine whether

Bug#813360: [buildd-tools-devel] Bug#813360: Overlayfs available on newer Linux kernel only

2016-02-02 Thread Luca Falavigna
Control: tags -1 + patch 2016-02-01 16:41 GMT+01:00 Johannes Schauer : > You initially offered a patch - I'd definitely welcome one :) Attached :) -- Cheers, Luca union-type_runtime.patch Description: Binary data

Bug#813360: [buildd-tools-devel] Bug#813360: Overlayfs available on newer Linux kernel only

2016-02-01 Thread Johannes Schauer
Hi, Quoting Luca Falavigna (2016-02-01 16:34:11) > A dumb method could be checking whether the filesystem is listed in > /proc/filesystems: > $ cat /proc/filesystems | grep overlay > nodev overlay > $ > > But I think it will return nothing if overlay module is not loaded via > modprobe first, and

Bug#813360: [buildd-tools-devel] Bug#813360: Overlayfs available on newer Linux kernel only

2016-02-01 Thread Luca Falavigna
2016-02-01 12:32 GMT+01:00 Johannes Schauer : > does there exist an easy way to detect at run-time whether overlayfs is > available on the system? A dumb method could be checking whether the filesystem is listed in /proc/filesystems: $ cat /proc/filesystems | grep overlay nodev overlay $ But I th

Bug#813360: [buildd-tools-devel] Bug#813360: Overlayfs available on newer Linux kernel only

2016-02-01 Thread Johannes Schauer
Hi, Quoting Luca Falavigna (2016-02-01 10:09:37) > Beside the fact overlayfs is available since 3.18 Linux kernels, which > makes a little bit harder to backport latest sbuild (for instance, > Jessie has 3.16), this change could cause issues on systems where > overlayfs is not available (thinking

Bug#813360: Overlayfs available on newer Linux kernel only

2016-02-01 Thread Luca Falavigna
Package: sbuild Version: 0.67.0-1 Severity: minor Since version 0.67.0, sbuild create directory chroots using overlayfs. Beside the fact overlayfs is available since 3.18 Linux kernels, which makes a little bit harder to backport latest sbuild (for instance, Jessie has 3.16), this change could c