On Tue, Sep 06, 2011 at 01:48:41PM +0200, Jean-Yves Migeon wrote: > Hmmm, /etc/defaults/rc.conf should be transparent to postinstall(8), as > it gets installed via <bsd.files.mk> during build.sh. > > If the source ('-s' of postinstall(8)) is not specified at command line, > according to code it takes "/usr/src" as default. Do you have a > stale/old rc.conf(5) file in there, /usr/src/etc/defaults/rc.conf?
I have the CVS checkout there that was used to build the snapshot I installed, so yes there is a file there but no it is not stale. > Now, if this case should be handled properly is another question. There > are multiple solutions, all of them end up tweaking postinstall(8): > - raise a warning when overriding certain configuration files with older > versions (perhaps by using the CVS tags?) It's not an older version. > - make source an explicit arg to etcupdate/postinstall > - something else? Or perhaps prefer ./etc to /usr/src/etc, that would solve the issue for me at least :) Thomas