Red Hat Bugzilla – Bug 977810
Config file management: diffs not shown through webui
Last modified: 2015-10-09 04:42:50 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
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.