NetBSD-Bugs archive

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

Re: install/50846 (etcupdate -a doesn't handle destdir properly)

The following reply was made to PR install/50846; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
Subject: Re: install/50846 (etcupdate -a doesn't handle destdir properly)
Date: Wed, 19 Jun 2019 23:08:08 +0700

     Date:        Wed, 19 Jun 2019 12:35:01 +0000 (UTC)
     From:        Valery Ushakov <>
     Message-ID:  <>
   |  the problem seems to be that we do compute the wrong file checksum
   |  before calling install_checksum() but then we would compute the right
   |  file checksum in install_checksum() itself.
 There are 3 different PRs (yours (50846), 51335, and 52109), all more
 recent that the last etcupdate commit, that at least refer to the same
 problem - with different proposals for fixes.   I will seek to find
 something that works.
   |  Come to think of it, one thing that always kinda annoyed me about it
   |  is that etcupdate always overwrite the checksum file even if the old
   |  one is the same.  Since this is exactly the place where it happens, we
   |  might want to fix this in one swoop.
 Seems reasonable, I will add that to the list.
 I'm not sure what I will do with Bill Simpson's PR (23212) from 2003
 (1.6ZD !) though, if anyone has any opinions on that one (it relates to
 what should update the /etc/moduli file) I'd love to hear them.

Home | Main Index | Thread Index | Old Index