Bug 750075 - Regression for --shell <cmd>
Summary: Regression for --shell <cmd>
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 14
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-30 17:36 UTC by Jan Kratochvil
Modified: 2011-11-26 23:06 UTC (History)
2 users (show)

Fixed In Version: mock-1.1.17-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-11 01:22:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix broken argument handling for --shell (2.79 KB, patch)
2011-10-31 14:35 UTC, Clark Williams
no flags Details | Diff

Description Jan Kratochvil 2011-10-30 17:36:57 UTC
Description of problem:
My nightly scripts stopped working producing
bash: no job control in this shell
since 2011-10-26 which was the upgrade of mock in F-14.

Version-Release number of selected component (if applicable):
PASS: mock-1.1.15-1.fc14.noarch
FAIL: mock-1.1.16-1.fc14.noarch

How reproducible:
Always.

Steps to Reproduce:
# mock -r fedora-16-x86_64 --shell 'echo foo'

Actual results:
INFO: mock.py version 1.1.16 starting...
State Changed: init plugins
INFO: selinux disabled
State Changed: start
State Changed: lock buildroot
State Changed: shell
<mock-chroot>[root@host1 /]# _

Expected results:
INFO: mock.py version 1.1.15 starting...
State Changed: init plugins
INFO: selinux disabled
State Changed: start
State Changed: lock buildroot
foo
State Changed: unlock buildroot
State Changed: end

Additional info:
This is a regression due to a rebase.  F-14 is a stable release.
Could you backport specific fixes instead of rebasing?  We all do so.
How is F-14 different from Rawhide this way?

Comment 1 Clark Williams 2011-10-31 14:18:32 UTC
This might be a combination bug, i.e the rework of --shell combined with the pty rework from previously. 

(In reply to comment #0)
> 
> Additional info:
> This is a regression due to a rebase.  F-14 is a stable release.
> Could you backport specific fixes instead of rebasing?  We all do so.
> How is F-14 different from Rawhide this way?

It's easier for me to keep all the mock's in lock-step rather than freeze one on a particular release.

Comment 2 Clark Williams 2011-10-31 14:35:00 UTC
Created attachment 530987 [details]
fix broken argument handling for --shell

This patch brings back proper argument handling for the --shell option

Comment 3 Jan Kratochvil 2011-10-31 14:51:34 UTC
(In reply to comment #1)
> It's easier for me to keep all the mock's in lock-step rather than freeze one
> on a particular release.

That would be really easier for everyone. :-)  Anyway thanks for the fix.

Comment 4 Fedora Update System 2011-11-01 15:40:01 UTC
mock-1.1.17-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mock-1.1.17-1.fc15

Comment 5 Fedora Update System 2011-11-01 15:41:26 UTC
mock-1.1.17-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mock-1.1.17-1.fc16

Comment 6 Fedora Update System 2011-11-01 15:42:40 UTC
mock-1.1.17-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/mock-1.1.17-1.fc14

Comment 7 Fedora Update System 2011-11-01 15:44:01 UTC
mock-1.0.24-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/mock-1.0.24-1.el5

Comment 8 Fedora Update System 2011-11-01 15:45:25 UTC
mock-1.1.17-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.17-1.el6

Comment 9 Fedora Update System 2011-11-02 00:05:05 UTC
Package mock-1.0.24-1.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing mock-1.0.24-1.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2011-4823
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2011-11-11 01:22:23 UTC
mock-1.1.17-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2011-11-26 19:23:28 UTC
mock-1.1.17-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2011-11-26 19:24:46 UTC
mock-1.0.24-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2011-11-26 23:01:56 UTC
mock-1.1.17-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2011-11-26 23:06:18 UTC
mock-1.1.17-1.fc15 has been pushed to the Fedora 15 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.