chroot configuration strictly depends on overlayfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The kernel changed the module name from overlayfs to overlay, this needs to be taken into consideration when creating the chroot.
[Impact]
When trying to create the chroot, it fails like this:
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
E: 10mount: mount: wrong fs type, bad option, bad superblock on click-ubuntu-
E: 10mount: missing codepage or helper program, or other error
E: 10mount:
E: 10mount: In some cases useful info is found in syslog - try
E: 10mount: dmesg | tail or so.
E: click-ubuntu-
Command returned 1: schroot -c click-ubuntu-
=base DEB_TARGET_
ET_ARCH_OS=linux DEB_HOST_
64 DEB_HOST_
ueabihf DEB_HOST_
UILD_MULTIARCH=
_CPU=arm DEB_BUILD_
ERROR
This makes the autopkgtests fail, so it's blocking bug #1693226.
[Test Case]
Run the click autopkgtests.
Check that there are no errors related to the wrong fs type.
[Regression Potential]
Fixing this for artful could make it fail in previous versions.
However, this was found by the autopkgtests, so as long as the chroot tests pass in the other revisions the fix is correct.
[Other Info]
Click is now longer in active development. These tests were failing for a long time. In here we are just trying to make a small change on the name of the python module so it doesn't conflict with python3-click which is in active development and needed by snapcraft in bug #1692102.
Related branches
- Colin Watson: Approve
-
Diff: 142 lines (+28/-5)7 files modifiedclick_package/chroot.py (+11/-2)
click_package/tests/integration/helpers.py (+7/-0)
click_package/tests/integration/test_build_core_apps.py (+2/-0)
click_package/tests/integration/test_chroot.py (+2/-0)
click_package/tests/test_chroot.py (+3/-2)
debian/changelog (+2/-0)
debian/control (+1/-1)
This bug was fixed in the package click - 0.4.46+ 17.10.20170607. 3-0ubuntu1
--------------- 17.10.20170607. 3-0ubuntu1) artful; urgency=medium
click (0.4.46+
* Rename the python package this installs from click to click_package.
(LP: #1693226)
* Use the correct overlayfs module name for the chroot configuration.
(LP: #1696402)
-- Sergio Schvezov <email address hidden> Wed, 07 Jun 2017 18:53:16 +0000