NetBSD-Bugs archive

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

Re: bin/59574: running etcupdate -s $SRC generates cruft unter $SRC



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

From: Harold Gutch <logix%foobar.franken.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/59574: running etcupdate -s $SRC generates cruft unter $SRC
Date: Tue, 5 Aug 2025 19:31:15 +0200

 On Tue, Aug 05, 2025 at 05:20:01PM +0000, Valery Ushakov via gnats wrote:
 >  I don't think srcdir mode has been used much or tested recently.  I'm
 >  not sure it makes sense to fix that, as it was supposed to be used
 >  along with make installworld (if i remember the target name right),
 >  and I'm not sure we still meaningfully support in-situ updates.
 >  
 >  You can/should use "build.sh ... distribution sets" and then
 >  
 >      etcupdate ... -s .../etc.tgz -s .../xetc.tgz
 
 Hm, I thought I had used it a number of times in srcdir mode in the
 past, but perhaps I am wrong.  It is documented on
 https://www.netbsd.org/docs/guide/en/chap-updating.html#updating-configfiles .
 
 If it's not working and should not be used, then we probably should
 remove it entirely (or at the very minimum change the documentation
 there).
 
 Looking at the small number of files that have issues, I am wondering
 if this broke only somewhat recently.  For example, the files under
 pam.d .d are exactly the ones generated from ".in" files, this got
 added in December It doesn't seem far fetched that this was working
 until (for example) a year ago.
 
 
   Harold
 


Home | Main Index | Thread Index | Old Index