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: [email protected] > Date: Mon, 8 Oct 2012 20:10:56 -0400 > From: [email protected] > Subject: Re: [Spacewalk-list] 'rhncfg-client get' downloading all config > files > > On Mon, 08 Oct 2012 18:48:27 -0400, Mullis, Josh (CCI-Atlanta) > <[email protected]> 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) > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
