Bug 718199

Summary: portreserve should depend on chkconfig
Product: [Fedora] Fedora Reporter: Madhavprasad Pai <mkpai>
Component: portreserveAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jstodola, mbanas, twaugh
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 712362 Environment:
Last Closed: 2011-07-01 11:24:18 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:
Bug Depends On: 712362    
Bug Blocks: 718173    
Attachments:
Description Flags
patch to the portreserve spec file to include chkconfig to Requires(post) and Requires(preun) mkpai: review?

Description Madhavprasad Pai 2011-07-01 11:10:07 UTC
+++ This bug was initially created as a clone of Bug #712362 +++

Description of problem:
portreserve runs '/sbin/chkconfig' in its installation scriplets, but the
package doesn't depend on chkconfig:

[root@rtt6 ~]# rpm --nogpg -q --scripts -p rpms/portreserve-0.0.4-4.el6.s390x.rpm | grep chkconfig
/sbin/chkconfig --add portreserve
  /sbin/chkconfig --del portreserve
[root@rtt6 ~]# rpm -qf /sbin/chkconfig
chkconfig-1.3.47-1.el6.s390x
[root@rtt6 ~]# rpm --nogpg -q --requires -p rpms/portreserve-0.0.4-4.el6.s390x.rpm | grep chkconfig
[root@rtt6 ~]#


It causes error messages in some cases:
...
  Installing : ncurses-libs-5.7-3.20090208.el6.s390x                      10/12 
  Installing : bash-4.1.2-8.el6.s390x                                     11/12 
  Installing : portreserve-0.0.4-4.el6.s390x                              12/12
Non-fatal POSTIN scriptlet failure in rpm package portreserve-0.0.4-4.el6.s390x
 
/var/tmp/rpm-tmp.UJ2OZ2: line 3: /sbin/chkconfig: No such file or directory
warning: %post(portreserve-0.0.4-4.el6.s390x) scriptlet failed, exit status 127


Version-Release number of selected component (if applicable):
portreserve-0.0.4-4.el6

How reproducible:
always

Steps to Reproduce:
1. yum --installroot=/root/new_install_root install portreserve

Actual results:
errors during installation

Expected results:
portreserve depends on chkconfig, no error messages during installation

--- Additional comment from mkpai on 2011-07-01 05:17:59 EDT ---

Created attachment 510825 [details]
patch to the portreserve spec file to include chkconfig to Requires(post) and Requires(preun)

patch to the portreserve spec file to include chkconfig to Requires(post) and Requires(preun)

Comment 1 Madhavprasad Pai 2011-07-01 11:11:57 UTC
Created attachment 510852 [details]
patch to the portreserve spec file to include chkconfig to Requires(post) and Requires(preun)

Comment 2 Tim Waugh 2011-07-01 11:24:18 UTC

*** This bug has been marked as a duplicate of bug 718173 ***

Comment 3 Gwyn Ciesla 2011-07-01 12:16:28 UTC
Why was the fedora-cvs flag set?