Re: diversion/conffile
>>"Josselin" == Josselin Mouette <josselin.mouette@ens-lyon.org> writes:
Josselin> le mer 20-02-2002 à 09:19, Manoj Srivastava a écrit :
>> What does dpkg do when base-files changes /etc/issue? How do
>> conffile replacement and diversions interact?
Josselin> I think it acts just as if the administrator has changed
Josselin> the file by himself. And yes, this is potentially harmful
Josselin> at the time of removal of linuxlogo.
That happens not to be the case.
Adam> Whenever the diverted conffile is modified upstream, dpkg
Adam> chokes during it's installation. Verified by trying it, and by
Adam> walking dpkg's code.
By diverting the conffile of another package, you have now
created a situation where it shall break on upgrade if the package
ever changes the conffile. At that point, the diversion shall be a
ritical bug -- and perhaps, it should already be considered one,
since the implementation is broken.
manoj
--
When the Universe was not so out of whack as it is today, and all the
stars were lined up in their proper places, you could easily count
them from left to right, or top to bottom, and the larger and bluer
ones were set apart, and the smaller yellowing types pushed off to
the corners as bodies of a lower grade ... Stanislaw Lem, "Cyberiad"
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: