Bug 718199 - portreserve should depend on chkconfig
Summary: portreserve should depend on chkconfig
Keywords:
Status: CLOSED DUPLICATE of bug 718173
Alias: None
Product: Fedora
Classification: Fedora
Component: portreserve
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 712362
Blocks: 718173
TreeView+ depends on / blocked
 
Reported: 2011-07-01 11:10 UTC by Madhavprasad Pai
Modified: 2011-07-01 13:23 UTC (History)
3 users (show)

Fixed In Version:
Clone Of: 712362
Environment:
Last Closed: 2011-07-01 11:24:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to the portreserve spec file to include chkconfig to Requires(post) and Requires(preun) (522 bytes, patch)
2011-07-01 11:11 UTC, Madhavprasad Pai
mkpai: review?
Details | Diff

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?


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