Bug 1217516

Summary: Need to integrate LXC fix to EPEL 7 - LXC rpm
Product: [Fedora] Fedora EPEL Reporter: Vishnu Ganth <vishnuganth>
Component: lxcAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: karlthered, sagarun, thomas.moschny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lxc-1.0.7-4.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-11 18:22:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch pulling 38b34913 to fix bdev.c erroring on not finding 'overlayfs'
none
SRPM with patch, tested working none

Description Vishnu Ganth 2015-04-30 14:28:28 UTC
Description of problem:
The name of the overlay filesystem changed from overlayfs to overlay at some point. Support for this was added in commit 38b3491 - https://github.com/lxc/lxc/commit/38b34913fad2a4bcc842c2c377c0cb7bb90abe0f, which was made after the release of lxc 1.0.7. It looks like this change should be available in LXC releases 1.1.1 and later.

Since Centos - 7.1 kernel is not compatible with LXC - 1.1.1, need to integrate this fix to the LXC 1.0.7 rpm in EPEL repository.

Comment 1 Mike Goodwin 2015-10-08 01:29:43 UTC
Stack exchange link explaining the issue further: http://stackoverflow.com/questions/29941305/lxc-clone-not-working-with-overlayfs-in-centos-7

>[#] > lxc-clone -B overlayfs -s container2 container3
>lxc_container: bdev.c: overlayfs_mount: 2237 No such device - overlayfs: error mounting /data/main/lxc/container2/rootfs onto /usr/lib64/lxc/rootfs options upperdir=/data/main/lxc/container3/delta0,lowerdir=/data/main/lxc/container2/rootfs,workdir=/data/main/lxc/container3/olwork
>clone failed

Comment 2 Mike Goodwin 2015-10-08 04:08:29 UTC
Created attachment 1080842 [details]
Patch pulling 38b34913 to fix bdev.c erroring on not finding 'overlayfs'

Comment 3 Mike Goodwin 2015-10-08 04:09:38 UTC
Created attachment 1080843 [details]
SRPM with patch, tested working

Comment 4 Thomas Moschny 2015-10-24 18:34:32 UTC
This is actually upstream commit 388db0d9 (on the stable-1.0) branch, and will be in 1.0.8.

However, as there is a pending security update, I think I'll include the fix.

Comment 5 Fedora Update System 2015-10-25 09:05:19 UTC
lxc-1.0.7-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-3cdbf28493

Comment 6 Fedora Update System 2015-10-26 21:19:52 UTC
lxc-1.0.7-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update lxc'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-3cdbf28493

Comment 7 Fedora Update System 2015-11-11 18:22:24 UTC
lxc-1.0.7-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.