Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1165043 - facts feature should not be enabled by default
facts feature should not be enabled by default
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Capsule (Show other bugs)
6.0.4
Unspecified Unspecified
unspecified Severity medium (vote)
: Unspecified
: Unused
Assigned To: orabin
Sachin Ghai
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-18 03:17 EST by Ohad Levy
Modified: 2017-02-23 15:48 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:19:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 8347 None None None 2016-04-22 12:57 EDT
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description Ohad Levy 2014-11-18 03:17:28 EST
I dont think it makes any sense to enable it by default, as its only used by discovery, for the rest it could be considered security concern?

also, a configuration file template is missing?
Comment 1 Ohad Levy 2014-11-18 03:17:29 EST
Created from redmine issue http://projects.theforeman.org/issues/8347
Comment 4 Bryan Kearney 2014-11-18 04:05:24 EST
Upstream bug assigned to orabin@redhat.com
Comment 5 Bryan Kearney 2014-11-20 12:05:32 EST
Moving to POST since upstream bug http://projects.theforeman.org/issues/8347 has been closed
-------------
Ori Rabin
Applied in changeset commit:fc67f916fdcd2290612b134aef916a93924df576.
Comment 8 Sachin Ghai 2015-03-11 06:57:12 EDT
Verified with:
sat6.1 beta snap5
Satellite-6.1.0-RHEL-7-20150303.0


By default, its set to false. 

--
[root@dhcp201-171 settings.d]# cat /etc/foreman-proxy/settings.d/facts.yml 
---
:enabled: false
--
Comment 9 Sachin Ghai 2015-03-11 07:00:40 EDT
Hey Orabin.. Could you please confirm if anything else QE needs to check ?
Comment 10 orabin 2015-03-15 05:19:42 EDT
I would also do this:

1. start the smart-proxy (without changing the config file)
2. add the smart-proxy to foreman
3. check that 'facts' feature is not in the list of features

This should be enough but you can also add:

4. change the configuration to:
---
:enabled: true
--
5. restart the proxy
6. refresh features of the proxy
7. check that facts is now one of the features
Comment 11 Sachin Ghai 2015-03-16 02:33:54 EDT
Verified with: 
sat6.1 beta snap6 compose2 (Satellite-6.1.0-RHEL-6-20150311.1).

By default facts feature set to false.

--
# cat /etc/foreman-proxy/settings.d/facts.yml 

:enabled: false

--

Restarted the foreman-proxy service, and UI doesn't show the facts features on refreshing features.

later, I enabled the facts feature if it works and on enabling it I can see it on UI.
Comment 12 Bryan Kearney 2015-08-11 09:33:58 EDT
This bug is slated to be released with Satellite 6.1.
Comment 13 errata-xmlrpc 2015-08-12 01:19:12 EDT
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://access.redhat.com/errata/RHSA-2015:1592

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