Bug 1183247

Summary: scl man does not work with old-style sriptlet-only collections
Product: [Fedora] Fedora Reporter: Honza Horak <hhorak>
Component: scl-utilsAssignee: Jan Zeleny <jzeleny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: auchytil, bkabrda, jzeleny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: scl-utils-2.0.1-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-30 04:28:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
proposed patch none

Description Honza Horak 2015-01-17 16:33:56 UTC
Description of problem:
When a collection does not support environment modules, then command `scl man sclname` does not work.

Version-Release number of selected component (if applicable):
$ rpm -q scl-utils
scl-utils-2.0-2.fc21.x86_64

How reproducible:
every-time

Steps to Reproduce:
1. $> scl man rh-mariadb100

Actual results:
Collection rh-mariadb100 doesn't exists!

Expected results:
man page is displayed.

Additional info:
running `scl enable rh-mariadb100 -- man rh-mariadb100` works.

Comment 1 Honza Horak 2015-01-17 16:35:19 UTC
Created attachment 981037 [details]
proposed patch

This patch just uses fallback_run_command in case the collection is only old-style scriptlet-only one.

Comment 2 Fedora Update System 2015-01-21 08:26:59 UTC
scl-utils-2.0.1-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/scl-utils-2.0.1-1.fc21

Comment 3 Fedora Update System 2015-01-21 08:27:20 UTC
scl-utils-2.0.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/scl-utils-2.0.1-1.fc20

Comment 4 Fedora Update System 2015-01-21 23:04:45 UTC
Package scl-utils-2.0.1-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing scl-utils-2.0.1-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-1006/scl-utils-2.0.1-2.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-01-30 04:28:48 UTC
scl-utils-2.0.1-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2015-01-30 04:44:19 UTC
scl-utils-2.0.1-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.