[Spacewalk-list] 'rhncfg-client get' downloading all config files

Mullis, Josh (CCI-Atlanta) Josh.Mullis at cox.com
Thu Oct 18 22:36:12 UTC 2012


Thanks for your input Giovanni.
These are good ideas as well.

I am certainly willing to work on the code to get this working.
Let me know if you find what file needs to be modified.


Thanks
-josh


From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Giovanni Torres
Sent: Tuesday, October 09, 2012 6:43 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] 'rhncfg-client get' downloading all config files

Mistakes using that command are indeed unforgiving.  I always thought that the get option could use additional arguments as well, for example, rhcfg-client get [missing | modified | etc] . My idea was that I could have a system pull down any missing files during boot and then I could manually inspect any modified files later.  I wrote a small wrapper to do this, but it would be convenient if this was officially supported.

Giovanni

> To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
> Date: Mon, 8 Oct 2012 20:10:56 -0400
> From: mpatton at inforelay.com<mailto:mpatton at inforelay.com>
> Subject: Re: [Spacewalk-list] 'rhncfg-client get' downloading all config    files
>
> On Mon, 08 Oct 2012 18:48:27 -0400, Mullis, Josh (CCI-Atlanta)
> <Josh.Mullis at cox.com<mailto:Josh.Mullis at cox.com>> wrote:
>
> > Which file needs to be modified to change the "get" function of
> > "rhncfg-client" to require a "--all" flag or something similar?
> > When "rhncfg-client get" is run, it grabs all files in all config
> > channels which in my opinion can be dangerous.
>
> Come now, this is Linux. We design systems to deliberately allow dangerous
> functionality and when you get bit by our unsafe designs, we laugh and
> point at you and cluck our tongues at your noob misfortune. /sarc
>
> rhn-actions-control --disable-deploy
>
> is the closest thing but it doesn't stop anything but the SCHEDULED
> deployment of files which is a different animal. 'rhncfg-client' should be
> handled with extreme care, much like glicerin and 'rm -fr'.
>
> --
> Cloud Services Architect, Senior System Administrator
> InfoRelay Online Systems (www.inforelay.com<http://www.inforelay.com>)
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121018/f5e014cc/attachment.htm>


More information about the Spacewalk-list mailing list