Bug 977810 - Config file management: diffs not shown through webui
Config file management: diffs not shown through webui
Status: NEW
Product: Spacewalk
Classification: Community
Component: Server (Show other bugs)
1.9
All Linux
unspecified Severity high
: ---
: ---
Assigned To: Tomas Lestach
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-25 07:31 EDT by pierre.casenove
Modified: 2015-10-09 04:42 EDT (History)
1 user (show)

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


Attachments (Terms of Use)

  None (edit)
Description pierre.casenove 2013-06-25 07:31:55 EDT
Description of problem:
Spacewalk 1.9 introduced the possibility to configure rhncfg-client to output the diffs on config files managed by spacewalk, even is the file is not readable by everyone.
The new option "display_diff = True" is needed in file /etc/sysconfig/rhn/rhncfg-client.conf to print the output.

This works through the CLI but does not work through the WEB UI

Moreover, in the latest spacewalk client rpms, the default rhncfg-client.conf file does not contain the parameter "display_diff = True".


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

How reproducible: Manage a non world readable file through spacewalk


Steps to Reproduce:
1. Manage (for example) sshd_config file (which is not world readable) by spacewalk
2. Schedule a config file comparison from the WEB UI
3. Once the comparison done, go to the result page

Actual results:
Message "Differences exist in a file that is not readable by all. Re-deployment
of configuration file is recommended" is printed in the web UI

Expected results: differences, is some exist.


Additional info:

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