<div dir="ltr">Hello,<div style>I've been looking at git repository, and I'm a bit lost.</div><div style>In folder root/client/tools/rhncfg/config_client there are two different config files:</div><div style>rhncfgcli.conf and rhncfg-client.conf</div>
<div style>On my clients, there is only rhncfg-client.conf</div><div style>On the git repository, the variable "display_diff = True" is only in file rhncfgcli.conf. It is missing in file rhncfg-client.conf.</div>
<div style><br></div><div style>I've been making tests on file /etc/ssh/sshd_config.</div><div style>On the local file system:</div><div style><div>tu-sonialdap-q02 ~ $ ls -l /etc/ssh/sshd_config</div><div>-rw------- 1 root root 4364 Jun 13 14:21 /etc/ssh/sshd_config</div>
<div style>I set display_diff = True and run rhncfg-client from the commandline "diff /etc/ssh/sshd_config" --> it outputs the differences</div><div style>I set display_diff = False and run rhncfg-client from the commandline "diff /etc/ssh/sshd_config" --> it outputs the differences<br>
</div><div style>In the GUI, with both values, it puts "<span style="font-family:arial,sans-serif;font-size:13px">Differences exist in a file that is not readable by all. Re-deployment</span></div><span style="font-family:arial,sans-serif;font-size:13px">of configuration file is recommended"</span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">So, I create on the local filesystem of the client a file named /etc/sysconfig/rhn/rhncfgcli.conf, with the content of the git repository.</span></div>
<div style><font face="arial, sans-serif">The behaviour is the same.</font></div><div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">Should I open a bugzilla to track this?</font></div>
<div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">Thanks,</font></div><div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">Pierre</font></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/19 Pierre Casenove <span dir="ltr"><<a href="mailto:pcasenove@gmail.com" target="_blank">pcasenove@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hello<br>
I can confirm this on my setup (SW 1.9 with pgsql on rhel5). <br>
Is there any plan to have this feature working through the gui?</p>
<p dir="ltr">Pierre</p>
<div class="gmail_quote">Le 26 avr. 2013 18:38, "Snyder, Chris" <<a href="mailto:Chris_Snyder@sra.com" target="_blank">Chris_Snyder@sra.com</a>> a écrit :<div><div class="h5"><br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Was there ever any answer on this?  I haven't found anything in the archives and I'm looking for the exact same thing.<br>
<br>
Being able to see all diff output via the gui is really important for my environment.<br>
<br>
Thx<br>
Chris.<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a>] On Behalf Of Patrick Hurrelmann<br>


Sent: Wednesday, March 06, 2013 9:10 AM<br>
To: <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
Subject: [Spacewalk-list] How is the new configurable rhncfg-client diff meant to be used?<br>
<br>
Hi list,<br>
<br>
as one feature/fix for 1.9 the release notes state, that the<br>
configuration file diff is now configurable. I tried to get the idea<br>
behind it and this is what I have so far:<br>
<br>
The new option "display_diff = True" is needed in file<br>
/etc/sysconfig/rhn/rhncfg-client.conf (when one wants to allow diff on<br>
root/nonworld readable files without the need to provide the flag "-d").<br>
At least this brings back working diff of config files in cli. But I<br>
thought it would also be evaluated for the webgui. But does it is not.<br>
Diffs initiated frpm the webgui still show:<br>
<br>
"Differences exist in a file that is not readable by all. Re-deployment<br>
of configuration file is recommended."<br>
<br>
With the proper config in rhncfg-client.conf and fix from BZ#903534<br>
(this is in SW1.9). I thought this would all work and we are back to the<br>
functionality as in SW1.7.<br>
<br>
Shouldn't the new parameter display_diff be added to the default config<br>
as provided by rhncfg-client rpm? In git I can see that it is there, but<br>
not in release rpms.<br>
<a href="http://git.fedorahosted.org/cgit/spacewalk.git/tree/client/tools/rhncfg/config_client/rhncfgcli.conf" target="_blank">http://git.fedorahosted.org/cgit/spacewalk.git/tree/client/tools/rhncfg/config_client/rhncfgcli.conf</a><br>


<br>
Regards<br>
Patrick<br>
<br>
--<br>
Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg<br>
<br>
HRB 178831, Amtsgericht München<br>
Geschäftsführer: Dr. Martin Fischer, Rolf Henrich<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote></div></div></div>
</blockquote></div><br></div>