Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1649426

Summary: Please include the mkpasswd binary.
Product: [Fedora] Fedora Reporter: Björn 'besser82' Esser <besser82>
Component: whoisAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 29CC: gerd, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: whois-5.3.2-2.fc30 whois-5.4.0-1.fc28 whois-5.4.0-1.fc29 whois-5.4.0-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-24 01:56:04 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:
Bug Depends On: 1649456    
Bug Blocks:    

Description Björn 'besser82' Esser 2018-11-13 15:28:26 UTC
Description of problem:

  The package misses the mkpasswd binary as packaged by most other
  distributions.


Version-Release number of selected component (if applicable):

  any


How reproducible:

  100%


Steps to Reproduce:
1.  Try to use mkpasswd.  Not available.


Actual results:

  The binary is not packaged and thus not available.


Expected results:

  The binary is present, when the package is installed.


Additional info:

  The mkpasswd binary is currently the only tool, that supports
  most of the new and stronger hashes supplied by libxcrypt.

  Please make it available to the users of Fedora (and RHEL maybe).

Comment 1 Petr Pisar 2018-11-13 15:49:30 UTC
I do not deliver /usr/bin/htpasswd because it's already provided by "expect" package. Does "expect" package fulfills your needs?

If not I will package htpasswd into a separate sub-package to prevent from RPM conflicts between whois and expect packages.

Comment 2 Petr Pisar 2018-11-13 15:58:31 UTC
And in Fedoras < 28 the executable is provide by httpd-tools. Why was it removed from httpd-tools where it IMHO makes more sense than in the whois?

Comment 3 Petr Pisar 2018-11-13 16:06:14 UTC
(In reply to Petr Pisar from comment #2)
> And in Fedoras < 28 the executable is provide by httpd-tools. Why was it
> removed from httpd-tools where it IMHO makes more sense than in the whois?

Scratch that. I mistaken it with htpasswd.

Comment 4 Björn 'besser82' Esser 2018-11-13 16:10:50 UTC
(In reply to Petr Pisar from comment #1)
> I do not deliver /usr/bin/htpasswd because it's already provided by "expect"
> package. Does "expect" package fulfills your needs?

The executable in the "expect" package is just a simple tcl wrapper around a call to "/usr/bin/passwd"…  :/


> If not I will package htpasswd into a separate sub-package to prevent from
> RPM conflicts between whois and expect packages.

A seperate sub-package would be nice, yes.  At least for the time I can agree with maintainer of the "expect" package whether it may drop that particular executable as it is meant to be an example by upstream.

Comment 5 Petr Pisar 2018-11-13 17:32:44 UTC
The whois' mkpasswd tool will be provided with whois-mkpasswd package and it will conflict with expect package. If we remove the tool from expect, I can rename the package to simple mkpasswd.

I will push this change into Rawhide and tomorrow with whois-5.4.0 upgrade to all Fedoras.

First I was reluctant to push it into older Fedoras because users installing /usr/bin/mkpasswd could get a different tool with a different interface. But I believe the only mkpasswd users are "except" users and these already have installed the right package.

Comment 6 Björn 'besser82' Esser 2018-11-13 17:55:42 UTC
Thank you very much, Petr!  =)

Comment 7 Fedora Update System 2018-11-14 08:45:18 UTC
whois-5.4.0-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-572eccad23

Comment 8 Fedora Update System 2018-11-14 08:45:59 UTC
whois-5.4.0-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c5e4c59b05

Comment 9 Fedora Update System 2018-11-14 08:47:33 UTC
whois-5.4.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-779b898f3c

Comment 10 Fedora Update System 2018-11-15 04:14:53 UTC
whois-5.4.0-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-779b898f3c

Comment 11 Fedora Update System 2018-11-15 04:53:46 UTC
whois-5.4.0-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-572eccad23

Comment 12 Fedora Update System 2018-11-15 06:01:55 UTC
whois-5.4.0-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c5e4c59b05

Comment 13 Fedora Update System 2018-11-24 01:56:04 UTC
whois-5.4.0-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2018-11-24 02:27:14 UTC
whois-5.4.0-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2018-11-24 03:20:55 UTC
whois-5.4.0-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.