Bug 718173 - portreserve should depend on chkconfig
Summary: portreserve should depend on chkconfig
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: portreserve
Version: 15
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 718199 (view as bug list)
Depends On: 712362 718199
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-01 09:35 UTC by Madhavprasad Pai
Modified: 2011-07-18 22:40 UTC (History)
3 users (show)

Fixed In Version: portreserve-0.0.5-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of: 712362
Environment:
Last Closed: 2011-07-04 18:51:10 UTC
Type: ---
Embargoed:


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

Description Madhavprasad Pai 2011-07-01 09:35:43 UTC
This bug exists in portreserve-0.0.4-8.fc15.src.rpm as well

+++ 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 09:45:08 UTC
Created attachment 510832 [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 2 Tim Waugh 2011-07-01 10:35:14 UTC
Thanks.

Comment 3 Fedora Update System 2011-07-01 10:44:47 UTC
portreserve-0.0.5-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/portreserve-0.0.5-2.fc15

Comment 4 Fedora Update System 2011-07-01 10:50:26 UTC
portreserve-0.0.5-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/portreserve-0.0.5-2.fc14

Comment 5 Tim Waugh 2011-07-01 11:24:19 UTC
*** Bug 718199 has been marked as a duplicate of this bug. ***

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

Comment 7 Fedora Update System 2011-07-01 18:56:13 UTC
Package portreserve-0.0.5-2.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing portreserve-0.0.5-2.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/portreserve-0.0.5-2.fc14
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2011-07-04 18:51:00 UTC
portreserve-0.0.5-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2011-07-18 22:39:58 UTC
portreserve-0.0.5-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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