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 507556 - postinstall scriptlet of oprofile fails
Summary: postinstall scriptlet of oprofile fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: oprofile
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: beta
: ---
Assignee: William Cohen
QA Contact: Alexander Todorov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-23 10:15 UTC by Alexander Todorov
Modified: 2010-07-02 19:40 UTC (History)
3 users (show)

Fixed In Version: oprofile-0.9.5-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 501357
Environment:
Last Closed: 2010-07-02 19:40:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alexander Todorov 2009-06-23 10:15:33 UTC
+++ This bug was initially created as a clone of Bug #501357 +++

Description of problem:
The postinstall scriptlet of oprofile fails during installation
of Fedora 11 (rawhide).

Version-Release number of selected component (if applicable):
oprofile-0.9.4-6.fc11

How reproducible:
Depends on the exact package mix.  Always happens if oprofile
gets installed before shadow-utils .

Steps to Reproduce:
1. Install Fedora 11 OS, with oprofile included.
2. grep -A 2 "Installing oprofile" /root/install.log
  
Actual results:
Installing oprofile-0.9.4-6.fc11.i586
/var/tmp/rpm-tmp.aoVzhx: line 1: groupadd: command not found
/var/tmp/rpm-tmp.aoVzhx: line 3: useradd: command not found

Expected results:
No error message in /root/install.log .

Additional info:
Examination of the postinstall scriptlet also shows the problem.
Fix is to add these to oprofile.spec:

    Requires(pre): /usr/sbin/groupadd
    Requires(pre): /usr/sbin/useradd

--- Additional comment from fedora-triage-list on 2009-06-09 12:03:44 EDT ---


This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Alexander Todorov 2009-06-23 10:17:18 UTC
happens when installing @everything

Comment 3 William Cohen 2009-07-16 19:11:59 UTC
Added the following line to the oprofile.spec:

Requires(pre): shadow-utils

oprofile-0.9.4-12 being put through koji build system for F-10, F-11, and
rawhide. 

The fix for bz#501357 should also fix this.

Comment 4 William Cohen 2009-08-17 19:57:28 UTC
Could someone verify oprofile-0.9.4-12 fixes this problem.

Comment 5 William Cohen 2009-09-23 13:31:10 UTC
This correction is in the RHEL6 builds now. Some just needs to verifies that the patch fixes the problem.

Comment 6 releng-rhel@redhat.com 2009-11-02 23:13:30 UTC
Fixed in 'oprofile-0.9.5-1.el6', included in compose 'RHEL6.0-20091102.0'.
Moving to ON_QA.

Comment 8 releng-rhel@redhat.com 2010-07-02 19:40:20 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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