[Fedora-packaging] Re: Draft: Init Scripts

Axel Thimm Axel.Thimm at ATrpms.net
Mon Feb 19 17:33:02 UTC 2007


On Mon, Feb 19, 2007 at 11:33:21AM -0500, Bill Nottingham wrote:
> Axel Thimm (Axel.Thimm at ATrpms.net) said: 
> > > Why would changing from %config to non-%config require
> > > changes in the scriplets at all?
> > 
> > The above referred to the following part of the draft:
> > 
> > "A valid exception to this rule would be existing packages where
> >  configuration is still done via the init file. In this case, the init
> >  file could be marked as %config to preserve a users configuration upon
> >  upgrade, hopefully so that the user can migrate said configuration to
> >  a new /etc/sysconfig/<service> config file."
> > 
> > Does it make more sense now?
> 
> No. If it changes from %config (modified) to non-%config, it would
> still get moved on upgrade, unless I'm forgetting the state machine.

That's why I suggested %prein
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20070219/0ba81dd6/attachment.sig>


More information about the Fedora-packaging mailing list