Bug 1241826 - mock fails to umount /root/proc
Summary: mock fails to umount /root/proc
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mock
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-10 07:50 UTC by Marko Myllynen
Modified: 2015-10-07 04:06 UTC (History)
7 users (show)

Fixed In Version: 1.2.13-2.fc22 mock-1.2.13-2.fc21 mock-1.2.13-2.el7 mock-1.2.13-2.el6
Clone Of:
Environment:
Last Closed: 2015-09-23 04:10:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log (10.28 KB, text/plain)
2015-07-10 07:50 UTC, Marko Myllynen
no flags Details
root.log (175.58 KB, text/plain)
2015-07-10 07:51 UTC, Marko Myllynen
no flags Details
state.log (1.32 KB, text/plain)
2015-07-10 07:51 UTC, Marko Myllynen
no flags Details
old.log (152.55 KB, text/plain)
2015-08-20 14:00 UTC, Marko Myllynen
no flags Details
new.log (123.50 KB, text/plain)
2015-08-20 14:00 UTC, Marko Myllynen
no flags Details

Description Marko Myllynen 2015-07-10 07:50:13 UTC
Description of problem:
On RHEL 7 + updates + kernel-3.10.0-287.el7.x86_64 and the only configuration changes being enabling SCM integration, build fails with:

$ mock -r default --scm-enable --scm-option package=yum-plugin-noproxy -vvv
...
DEBUG: umount: /var/lib/mock/epel-7-x86_64/root/sys: not mounted
DEBUG: Child return code was: 32
DEBUG: child environment: None
DEBUG: Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64/root/proc'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG: umount: /var/lib/mock/epel-7-x86_64/root/proc: not mounted
DEBUG: Child return code was: 32

I'll attach complete logs.

Version-Release number of selected component (if applicable):
mock-1.2.10-1.el7.noarch

Comment 1 Marko Myllynen 2015-07-10 07:50:57 UTC
Created attachment 1050537 [details]
build.log

Comment 2 Marko Myllynen 2015-07-10 07:51:18 UTC
Created attachment 1050538 [details]
root.log

Comment 3 Marko Myllynen 2015-07-10 07:51:40 UTC
Created attachment 1050539 [details]
state.log

Comment 4 Miroslav Suchý 2015-08-19 10:12:41 UTC
Can you try new mock? At least in version 1.2.11.
I believe this was fixed in commit 710757c.

Comment 5 Marko Myllynen 2015-08-20 13:59:15 UTC
Seems that even basics don't work anymore. With the default target set to epel-7 and configuration unchanged except for few SCM options, this worked with 1.2.10 (produced both src and bin RPMs) but fails with 1.2.12 (no bin RPM):

$ sudo rm -rf /var/cache/mock/* /var/lib/mock/*
$ groups
users mock
$ mock -r default --scm-enable --scm-option package=yum-plugin-noproxy -vvv
...

Attaching complete output from both runs.

Comment 6 Marko Myllynen 2015-08-20 14:00:01 UTC
Created attachment 1065282 [details]
old.log

Comment 7 Marko Myllynen 2015-08-20 14:00:32 UTC
Created attachment 1065283 [details]
new.log

Comment 8 Miroslav Suchý 2015-09-04 09:18:01 UTC
I believe this was fixed by commit 16a8c44.

Comment 9 Fedora Update System 2015-09-16 20:01:42 UTC
mock-1.2.13-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16053

Comment 10 Fedora Update System 2015-09-16 20:04:44 UTC
mock-1.2.13-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16054

Comment 11 Fedora Update System 2015-09-16 20:06:44 UTC
mock-1.2.13-2.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16056

Comment 12 Fedora Update System 2015-09-16 20:08:27 UTC
mock-1.2.13-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8114

Comment 13 Fedora Update System 2015-09-16 20:09:33 UTC
mock-1.2.13-2.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8115

Comment 14 Marko Myllynen 2015-09-17 11:21:51 UTC
Works now with mock-1.2.13-2.el7, thanks!

Comment 15 Fedora Update System 2015-09-17 21:29:56 UTC
mock-1.2.13-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16054

Comment 16 Fedora Update System 2015-09-18 05:20:52 UTC
mock-1.2.13-2.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16056

Comment 17 Fedora Update System 2015-09-18 16:24:55 UTC
mock-1.2.13-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16053

Comment 18 Fedora Update System 2015-09-19 03:19:46 UTC
mock-1.2.13-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8115

Comment 19 Fedora Update System 2015-09-19 03:21:36 UTC
mock-1.2.13-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8114

Comment 20 Fedora Update System 2015-09-23 04:09:12 UTC
mock-1.2.13-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2015-09-24 08:23:18 UTC
mock-1.2.13-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 22 Fedora Update System 2015-10-05 22:50:20 UTC
mock-1.2.13-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.

Comment 23 Fedora Update System 2015-10-07 03:04:51 UTC
mock-1.2.13-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 24 Fedora Update System 2015-10-07 04:04:17 UTC
mock-1.2.13-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.