On 07/14/2011 09:58 AM, Jan Pazdziora wrote: > On Thu, Jul 14, 2011 at 02:54:41PM +0200, Jan Pazdziora wrote: >> On Wed, Jul 06, 2011 at 02:05:12PM -0300, Marcelo Moreira de Mello wrote: >>> Howdy, >>> >>> Any news regarding this patch? >> Marcelo, >> >> could you explain in deeper detail what in the current (Spacewalk) >> code makes both 'all' and 'run' to be taken as True for the >> script.run action? > The reason I ask is: > > If both the current and old versions of rhncfg* observe > the /etc/sysconfig/rhn/allowed-actions/script/run file correctly, then > there would be no problem changing the touch in > KickstartFormatter.java to create the "run" file instead of "all". So > no new installation would have the "all" file there. Yes. Agreed. That what I have I thought when I submitted the first patch. > Since the rhn-actions-control only seems to create and remove the > "run" file, we could then use %post script of some of the rhncfg > package to move any existing "all" to "run", to make it consistent > with the documentation and with new kickstart. Great! Sounds goods! > Then we would also need to disable any actions based on the > /etc/sysconfig/rhn/allowed-actions/script/all file in the rhncfg* > packages, and make it only use the "run" file as its flag. OK. I'm working into this.
Cheers, mmello -- Marcelo Moreira de Mello _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel