On Tue, 2004-11-30 at 12:17 +0700, Matthew Hodgett wrote:> > As for the 169.254 issue I tried to search the archives but got nothing. > I then tried to search on generic words, nothing. I then tried some > really common words like ''help'', ''initiated'', ''masq'' - nothing. I think > the index might be corrupt because I get no results from anything when I > search the archives.The htdig packager for Fedora seems to think that it is more important that people have the lastest config files than that they have the right config files. When I installed an update via ''up2date'' my htdig.conf file was renamed htdig.conf.rpmsave and a new file was installed in its place. I''ve swapped the files around and have rebuilt the index. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
Tom Eastep wrote:>On Tue, 2004-11-30 at 12:17 +0700, Matthew Hodgett wrote: > > > >>As for the 169.254 issue I tried to search the archives but got nothing. >>I then tried to search on generic words, nothing. I then tried some >>really common words like ''help'', ''initiated'', ''masq'' - nothing. I think >>the index might be corrupt because I get no results from anything when I >>search the archives. >> >> > >The htdig packager for Fedora seems to think that it is more important >that people have the lastest config files than that they have the right >config files. When I installed an update via ''up2date'' my htdig.conf >file was renamed htdig.conf.rpmsave and a new file was installed in its >place. I''ve swapped the files around and have rebuilt the index. > >-Tom > ><shameless distro plug>Mandrake''s rpmdrake gui front-end will pop up a diff window in this case -- unfortunately it can''t merge, but it does let you pick the new file or your old file. This capability is not there when using urpmi from the command line.</shameless distro plug> -- Jack at Monkeynoodle dot Org: It''s a Scientific Venture... Riding the Emergency Third Rail Power Trip Since 1996
On Tue, 2004-11-30 at 08:35 -0700, Bob Proulx wrote:> Hello Tom > > Tom Eastep wrote: > > The htdig packager for Fedora seems to think that it is more important > > that people have the lastest config files than that they have the right > > config files. When I installed an update via ''up2date'' my htdig.conf > > file was renamed htdig.conf.rpmsave and a new file was installed in its > > place. I''ve swapped the files around and have rebuilt the index. > > The packager has no choice as this is a Red Hat ''rpm'' issue natively > in the design of rpm. The rpm program just does the replacement for > anything marked as a configuration file. Sigh. I hate it too. If > you use rpm you are stuck. By comparison Debian''s ''dpkg'' handles this > problem inteligently. Why can''t rpm handle this better?It can! The Shorewall RPMs always create an ''rpmnew'' file when there is an updated configuration file and the user has modified the existing file. The packager has a choice of behavior. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
I believe that is default rpm behavior. Though it does sound like a bad one. :( Tom Eastep wrote:>On Tue, 2004-11-30 at 12:17 +0700, Matthew Hodgett wrote: > > > >>As for the 169.254 issue I tried to search the archives but got nothing. >>I then tried to search on generic words, nothing. I then tried some >>really common words like ''help'', ''initiated'', ''masq'' - nothing. I think >>the index might be corrupt because I get no results from anything when I >>search the archives. >> >> > >The htdig packager for Fedora seems to think that it is more important >that people have the lastest config files than that they have the right >config files. When I installed an update via ''up2date'' my htdig.conf >file was renamed htdig.conf.rpmsave and a new file was installed in its >place. I''ve swapped the files around and have rebuilt the index. > >-Tom > >
> I believe that is default rpm behavior. Though it does sound like a bad > one. :(You believe something wrong. As Tom already mentioned the behaviour of how config files are managed on upgrade is decided by the packager. If the updated package is expected to work with the old, user modified config, you configure the package to just produce a .rpmnew file. Otherwise if the config format has changed, the old, user modified config file will be renamed .rpmsave and a new default installed which the user then can modify to fit his or her needs. The only thing rpm doesn''t handle is merging changes from a user modified config into the new distributed default config. Simon> > Tom Eastep wrote: > >>On Tue, 2004-11-30 at 12:17 +0700, Matthew Hodgett wrote: >> >> >> >>>As for the 169.254 issue I tried to search the archives but got nothing. >>>I then tried to search on generic words, nothing. I then tried some >>>really common words like ''help'', ''initiated'', ''masq'' - nothing. I think >>>the index might be corrupt because I get no results from anything when I >>>search the archives. >>> >>> >> >>The htdig packager for Fedora seems to think that it is more important >>that people have the lastest config files than that they have the right >>config files. When I installed an update via ''up2date'' my htdig.conf >>file was renamed htdig.conf.rpmsave and a new file was installed in its >>place. I''ve swapped the files around and have rebuilt the index.
Simon Matter wrote:>>I believe that is default rpm behavior. Though it does sound like a bad >>one. :( >> >> > >You believe something wrong. As Tom already mentioned the behaviour of how >config files are managed on upgrade is decided by the packager. If the >updated package is expected to work with the old, user modified config, >you configure the package to just produce a .rpmnew file. Otherwise if the >config format has changed, the old, user modified config file will be >renamed .rpmsave and a new default installed which the user then can >modify to fit his or her needs. The only thing rpm doesn''t handle is >merging changes from a user modified config into the new distributed >default config. >I stand corrected. I have not done any packaging, so I''ll leave it at that. Mike