Bug 712848 - wpa_supplicant should depend on chkconfig
Summary: wpa_supplicant should depend on chkconfig
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: wpa_supplicant
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 6.8
Assignee: Lubomir Rintel
QA Contact: Ken Benoit
URL:
Whiteboard:
Depends On:
Blocks: 1275424
TreeView+ depends on / blocked
 
Reported: 2011-06-13 11:17 UTC by Jan Stodola
Modified: 2016-05-10 19:30 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 19:30:49 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0742 0 normal SHIPPED_LIVE wpa_supplicant bug fix and enhancement update 2016-05-10 22:29:55 UTC

Description Jan Stodola 2011-06-13 11:17:28 UTC
Description of problem:
wpa_supplicant runs 'chkconfig' in its installation scriplet, but the
package doesn't depend on chkconfig:

[root@rtt5 rpms]# rpm --nogpg -q --scripts -p wpa_supplicant-0.6.8-10.el6.s390x.rpm 
postinstall scriptlet (using /bin/sh):
if [ $1 = 1 ]; then
        chkconfig --add wpa_supplicant
fi
preuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
        service wpa_supplicant stop > /dev/null 2>&1
        killall -TERM wpa_supplicant >/dev/null 2>&1
        /sbin/chkconfig --del wpa_supplicant
fi

[root@rtt5 rpms]# rpm --nogpg -q --requires -p wpa_supplicant-0.6.8-10.el6.s390x.rpm | grep chkconfig
[root@rtt5 rpms]#

It causes error messages in some cases:
...
  Installing : python-libs-2.6.6-20.el6.s390x                             45/47 
  Installing : python-2.6.6-20.el6.s390x                                  46/47 
  Installing : 1:wpa_supplicant-0.6.8-10.el6.s390x                        47/47
Non-fatal POSTIN scriptlet failure in rpm package 1:wpa_supplicant-0.6.8-10.el6.s390x
 
/var/tmp/rpm-tmp.GHzq8F: line 2: chkconfig: command not found
warning: %post(wpa_supplicant-1:0.6.8-10.el6.s390x) scriptlet failed, exit status 127


Version-Release number of selected component (if applicable):
wpa_supplicant-0.6.8-10.el6

How reproducible:
always

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

Actual results:
errors during installation

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

Comment 1 RHEL Program Management 2011-10-07 16:12:25 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 7 Ken Benoit 2016-02-03 13:49:53 UTC
Installed RHEL-6.8-20160125.0 on a test system and checked the dependencies for wpa_supplicant. chkconfig-0:1.3.49.5-1.el6 was listed as one of the dependencies. Marking as verified.

Comment 9 errata-xmlrpc 2016-05-10 19:30:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0742.html


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