Bug 223168

Summary: facter can't determine hostname if "which" is not installed
Product: [Fedora] Fedora Reporter: Jeffrey C. Ollie <jeff>
Component: facterAssignee: David Lutterkort <lutter>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: hbrock
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: facter-1.3.5-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-18 19:56:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeffrey C. Ollie 2007-01-18 04:40:42 UTC
Description of problem:
facter cannot determine hostname if "which" is not installed.

Version-Release number of selected component (if applicable):
facter-1.3.5-1.fc6

How reproducible:
always

Steps to Reproduce:
1. rpm -e which
2. facter 
  
Actual results:
# facter hostname domain
domain => search.other.com
hostname => 

(note that the domain is filled in from the DNS search path in /etc/resolv.conf)

Expected results:
# facter hostname domain
domain => example.com
hostname => hostname

Additional Info:
The facter package should require "which".

Comment 1 David Lutterkort 2007-01-18 19:56:51 UTC
Fixed in facter-1.3.5-3