[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#376765: dpkg-reconfigure xserver-xorg issues strange warning about /etc/X11/X



On Mon, Aug 14, 2006 at 01:21:05PM +0200, Alejandro Exojo wrote:
> I don't fully understand the purpose of lines 1631 to 1637 of 
> xserver-xorg.postinst (in version 1:7.0.23), and it seems I'm not the only 
> one (see the comment "why, why, why, why, why, why, why are we md5suming 
> this? -daniels") but there are some obvious errors: the md5sums, are 
> calculated not on the file, but on the _name_ of the file. See the attached 
> patch.

Um, that would mean that the link would be seen as a custom link every
single time the X server binary was changed.  The correct fix would be
to cat the link target in there, not the MD5 sum (which actually makes
it longer in all but the most utterly pathological of cases, thus neatly
defeating the point of summing it in the first place ...).

Attachment: signature.asc
Description: Digital signature


Reply to: