Bug 593071

Summary: jpackage-utils missing Requires on findutils
Product: Red Hat Enterprise Linux 6 Reporter: Issue Tracker <tao>
Component: jpackage-utilsAssignee: Deepak Bhole <dbhole>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: kbaxley, tao, tgummels
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: Snapshot 9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-19 16:47:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Issue Tracker 2010-05-17 18:41:20 UTC
Escalated to Bugzilla from IssueTracker

Comment 1 Issue Tracker 2010-05-17 18:41:21 UTC
Event posted on 05-17-2010 01:24pm EDT by woodard

From: 	tdhooge
To: 	Ben Woodard <woodard>
Subject: 	RHEL6 rpm post install issues
Date: 	05/17/2010 10:51:50 AM


Ben,

I ran the following commands on each rpm in RHEL6, and after every rpm , 
removed the chrooted environment and recreated it. I found a few rpms that 
don't have their dependencies correct for the post install command.

export imagedir=/tmp/testingrpms
rm -rf ${imagedir}
mkdir -p ${imagedir}/{dev,proc}
mkdir -p ${imagedir}/var/lib/{rpm,yum}
mkdir -p ${imagedir}/var/lock/rpm
mkdir -p ${imagedir}/var/log
mount -t proc none ${imagedir}/proc
rpm --root ${imagedir} --initdb

yum 
install -c /tmp/chaos.repo -y '--disablerepo=*' --enablerepo=generic --installroot /tmp/testingrpms 
RPM_package

cat /tmp/chaos.repo 
[generic]
name=generic
baseurl=file:///tftpboot/rhel6
enable=1

Where /tftpboot/rhel6 has all the RHEL6 rpms and I ran createrepo.

Here are the rpms I found with problems, followed by the error I see:

brltty-4.1-4.el6.x86_64
docbook-dtds-1.0-50.el6.noarch
docbook-simple-1.1-6.1.el6.noarch
docbook-slides-3.4.0-7.1.el6.noarch
jakarta-commons-el-1.0-18.2.el6.noarch
nss-sysinit-3.12.6-2.el6.x86_64
pam-1.1.1-2.el6.x86_64
pango-1.26.2-2.el6.x86_64
perl-TimeDate-1.16-11.1.el6.noarch
plymouth-theme-glow-0.8.0-0.2010.03.05.1.el6.x86_64
sblim-sfcb-1.3.4-9.1.el6.x86_64
sound-juicer-2.28.1-2.el6.x86_64
taskjuggler-2.4.3-3.1.el6.x86_64
vinagre-2.28.1-4.el6.x86_64

Installing     : brltty-4.1-4.el6.x86_64                                
12/12/var/tmp/rpm-tmp.iyYo4R: line 14: mkdir: command not found
/var/tmp/rpm-tmp.iyYo4R: line 15: mknod: command not found
/var/tmp/rpm-tmp.iyYo4R: line 16: chmod: command not found
/var/tmp/rpm-tmp.iyYo4R: line 17: chown: command not found

Installing     : docbook-dtds-1.0-50.el6.noarch                         
36/36/var/tmp/rpm-tmp.CzZItE: line 85: sed: command not found

Installing     : docbook-simple-1.1-6.1.el6.noarch                      
37/37/var/tmp/rpm-tmp.OVUO40: line 53: sed: command not found
/var/tmp/rpm-tmp.OVUO40: line 54: sed: command not found

Installing     : docbook-slides-3.4.0-7.1.el6.noarch                    
39/39/var/tmp/rpm-tmp.VOeVdD: line 50: sed: command not found
/var/tmp/rpm-tmp.VOeVdD: line 51: sed: command not found

Installing     : jakarta-commons-el-1.0-18.2.el6.noarch                 
34/34/var/tmp/rpm-tmp.vLjZWc: line 3: find: command not found

Installing     : nss-sysinit-3.12.6-2.el6.x86_64                        
39/39/usr/bin/setup-nsssysinit.sh: line 37: sed: command not found

Installing     : pango-1.26.2-2.el6.x86_64                              
48/48/var/tmp/rpm-tmp.Pqkx3u: line 15: sed: command not found
/var/tmp/rpm-tmp.Pqkx3u: line 17: sed: command not found
/var/tmp/rpm-tmp.Pqkx3u: line 24: /usr/bin/pango-querymodules-32: No such file 
or directory

Installing     : plymouth-theme-glow-0.8.0-0.2010.03.05.1.el6.x86_64    
54/54/usr/sbin/plymouth-set-default-theme: line 159: sed: command not found

Installing     : sound-juicer-2.28.1-2.el6.x86_64                     
176/176/var/tmp/rpm-tmp.EqF1vE: line 2: update-desktop-database: command not 
found

Installing     : taskjuggler-2.4.3-3.1.el6.x86_64                     
176/176/var/tmp/rpm-tmp.cMKsun: line 2: gtk-update-icon-cache: command not 
found

Installing     : vinagre-2.28.1-4.el6.x86_64                          
157/157/var/tmp/rpm-tmp.6s6kA4: line 1: update-desktop-database: command not 
found

Installing     : sblim-sfcb-1.3.4-9.1.el6.x86_64                        
67/67Generating SSL certificates in /etc/sfcb
unable to load 'random state'
This means that the random number generator has not been seeded
with much random data.
Consider setting the RANDFILE environment variable to point at a file that
'random' data can be kept in (the file will be overwritten).
Generating a 2048 bit RSA private key
Error Generating Key
140226692044616:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG 
not seeded:md_rand.c:531:You need to read the OpenSSL FAQ, 
http://www.openssl.org/support/faq.html
140226692044616:error:04081003:rsa routines:RSA_BUILTIN_KEYGEN:BN 
lib:rsa_gen.c:312:
chmod: cannot access `/var/tmp/sfcb.wHOGPL/*.pem': No such file or directory
cp: cannot stat `/var/tmp/sfcb.wHOGPL/cert.pem': No such file or directory
cp: cannot stat `/var/tmp/sfcb.wHOGPL/key.pem': No such file or directory
chmod: cannot access `/etc/sfcb/server.pem': No such file or directory
chmod: cannot access `/etc/sfcb/file.pem': No such file or directory
cp: cannot stat `/var/tmp/sfcb.wHOGPL/cert.pem': No such file or directory
chmod: cannot access `/etc/sfcb/client.pem': No such file or directory
/usr/bin/sfcbrepos: line 8: getopt: command not found
warning: getopt not found ...continue without syntax check
/var/tmp/rpm-tmp.PXVUEL: line 4: /sbin/chkconfig: No such file or directory


This event sent from IssueTracker by kbaxley  [LLNL (HPC)]
 issue 900363

Comment 2 Issue Tracker 2010-05-17 18:41:22 UTC
Event posted on 05-17-2010 02:39pm EDT by kbaxley

Installing     : jakarta-commons-el-1.0-18.2.el6.noarch                 
34/34/var/tmp/rpm-tmp.vLjZWc: line 3: find: command not found

Version changed from '2.1' to '6'
Ticket type set to: 'Problem'

This event sent from IssueTracker by kbaxley  [LLNL (HPC)]
 issue 900363

Comment 3 RHEL Program Management 2010-05-17 18:45:31 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Andrew Overholt 2010-05-17 19:01:03 UTC
I think the root cause is jpackage-utils missing a Requires on findutils since all jakarta-commons-el is doing in %post is %update_maven_depmap and it has a valid Requires(post) on jpackage-utils.

Moving to jpackage-utils.