Bug#876225: Switch schroot to use overlay fs

2017-09-20 Thread Vagrant Cascadian
> > Subject: [PATCH] Switch schroot to use overlay fs, as aufs is no longer
> >  supported out of the box in linux 4.x kernels.

> thanks, merged and deploying now, curious what/if things will break.

Since jenkins uses "schroot -c source:" everywhere, probably nothing, as
that effectively works around the "union-type" schroot configuration.

Probably, it would be better to only use the source chroots when
updating the chroot, and make sure the union-type works correctly for
other cases. Alternately, dropping the union-type configuration and
acknowledging that these are plain directory chroots would make sense.

But that's for another patch series...


live well,
  vagrant


signature.asc
Description: PGP signature


Bug#876225: Switch schroot to use overlay fs

2017-09-19 Thread Vagrant Cascadian
Package: jenkins.debian.org
Severity: normal
Tags: patch

Branch for jenkins.debian.net "schroot-overlay" available at:

  
https://anonscm.debian.org/cgit/users/vagrant/jenkins.debian.net.git/log/?h=schroot-overlay

Patch included below for easy reference.

live well,
  vagrant

From e6fde8ffe8a01b594670e8dd1b9a9fd8a08a3f58 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian 
Date: Tue, 19 Sep 2017 13:15:19 -0700
Subject: [PATCH] Switch schroot to use overlay fs, as aufs is no longer
 supported out of the box in linux 4.x kernels.

---
 bin/schroot-create.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 5418b180..6c8bcb5b 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -275,7 +275,7 @@ sudo tee /etc/schroot/chroot.d/jenkins-"$TARGET" <<-__END__
type=directory
root-users=jenkins
source-root-users=jenkins
-   union-type=aufs
+   union-type=overlay
__END__
 
 echo "schroot $TARGET set up successfully in $SCHROOT_BASE/$TARGET - exiting 
now."
-- 
2.11.0



signature.asc
Description: PGP signature