Bug 772765

Summary: jwhois has a missing dependency on lynx
Product: [Fedora] Fedora Reporter: Kurt Seifried <kseifried>
Component: jwhoisAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 16CC: redhat-bugzilla, vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-10 11:31:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kurt Seifried 2012-01-09 22:19:15 UTC
Description of problem:

jwhois (whois tool) has a missing dependency on lynx (command line web browser)

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

jwhois-4.0-19.el6.x86_64

How reproducible:

Always

Steps to Reproduce:

$ whois paas.io
[Querying http://www.io.io/cgi-bin/whois]
[HTTP: Unable to run web browser: /usr/bin/lynx: No such file or directory]

Actual results:

reports lynx is missing

Expected results:

it uses lynx to do the web page retrieval

Additional info:

jwhois.texi/jwhois.conf specifies the "browser-pathname" as "/usr/bin/lynx",
this is then used in src/http.c, so chances are lynx can be replaced with
elinks without to much trouble.

Comment 1 Robert Scheck 2012-01-10 00:04:38 UTC
Well, any text-based browser could be configured by the user in /etc/jwhois.conf. Why should jwhois add a dependency to a specific one? Why should jwhois change the default to elinks? IMHO to be closed with NOTABBUG.

Comment 2 Vitezslav Crhonek 2012-01-10 11:31:20 UTC
I agree with Robert. Kurt, just install browser you prefer and configure jwhois to use it in /etc/jwhois.conf. You can find additional explanation here:

https://bugzilla.redhat.com/show_bug.cgi?id=553567

Comment 3 Kurt Seifried 2012-01-11 22:35:00 UTC
jwhois uses lynx by default so it should have lynx as a default. Or we should add a requires like "text-based-www-browser" and add that as a provides to lynx/elinks/etc. Either way it would be nice if jwhois worked out of the box rather then being partially broken out of the box (and it seems like the trend is for DNS registrars to go more WWW based so it will only get worse).