RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 726325 - Error in PREIN scriptlet: line 1: fg: no job control
Summary: Error in PREIN scriptlet: line 1: fg: no job control
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-manager
Version: 6.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Cole Robinson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 726403 726645 (view as bug list)
Depends On:
Blocks: 727606
TreeView+ depends on / blocked
 
Reported: 2011-07-28 09:09 UTC by Michal Nowak
Modified: 2013-03-08 02:12 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
: 727606 (view as bug list)
Environment:
Last Closed: 2011-12-06 16:14:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1642 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2011-12-06 00:50:37 UTC

Description Michal Nowak 2011-07-28 09:09:52 UTC
Description of problem:

Some stray `fg' command in PREIN scriptlet:

Error in PREIN scriptlet in rpm package virt-manager-0.9.0-2.el6.x86_64
/var/tmp/rpm-tmp.IQo0Wo: line 1: fg: no job control
error: %pre(virt-manager-0.9.0-2.el6.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping virt-manager-0.9.0-2.el6


Version-Release number of selected component (if applicable):

virt-manager-0.9.0-2.el6.x86_64.rpm

How reproducible:

always

Additional info:

Also the package changed from noarch to arch, is that expected?

Comment 2 Cole Robinson 2011-07-28 16:08:04 UTC
change from noarch->arch was expected to deal with lack of spice package on no x86.

This issue is caused by a lack of BuildRequires: GConf2 in the rpm specfile.

Comment 3 Cole Robinson 2011-07-28 16:15:06 UTC
*** Bug 726403 has been marked as a duplicate of this bug. ***

Comment 4 Cole Robinson 2011-07-28 18:51:56 UTC
Fixed in virt-manager-0.9.0-3.el6

Comment 5 Min Zhan 2011-08-01 07:31:08 UTC
Test with virt-manager-0.9.0-3.el6, installation still fails, So assign this bug back. Details please refer to the following:

# yum upgrade virt-manager-0.9.0-3.el6.x86_64.rpm 
...
Error in PREIN scriptlet in rpm package virt-manager-0.9.0-3.el6.x86_64
/var/tmp/rpm-tmp.fsKkfK: line 1: fg: no job control
error: %pre(virt-manager-0.9.0-3.el6.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping virt-manager-0.9.0-3.el6
virt-manager-0.8.6-4.el6.noarch was supposed to be removed but is not!
duration: 440(ms)
Installed products updated.

Failed:
  virt-manager.x86_64 0:0.9.0-3.el6

Comment 6 Michal Nowak 2011-08-01 08:58:51 UTC
No change with virt-manager-0.9.0-3.el6.x86_64:

Error in PREIN scriptlet in rpm package virt-manager-0.9.0-3.el6.x86_64
/var/tmp/rpm-tmp.iJF4T1: line 1: fg: no job control
error: %pre(virt-manager-0.9.0-3.el6.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping virt-manager-0.9.0-3.el6
virt-manager-0.8.6-4.el6.noarch was supposed to be removed but is not!

Comment 7 Cole Robinson 2011-08-01 14:18:20 UTC
*** Bug 726645 has been marked as a duplicate of this bug. ***

Comment 8 Cole Robinson 2011-08-01 14:19:56 UTC
hmm, okay I think I know the problem. I'll actually test that it's fixed this
time before pushing a build :)

Comment 9 Cole Robinson 2011-08-01 18:39:17 UTC
Should be fixed in virt-manager-0.9.0-4.el6

Comment 13 Cole Robinson 2011-08-02 14:50:56 UTC
I'm not really sure either to be honest, but either way it should be a separate bug report. Please try filing it against yum first, they will probably have a better idea if it's something that needs to change on the virt-manager side or not.

Comment 21 Cole Robinson 2011-11-07 16:40:57 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No description necessary

Comment 22 errata-xmlrpc 2011-12-06 16:14:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1642.html


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