Solved No files in /etc after make installworld

I've just noticed that there are no files in /etc after running install buildworld. Directories appear but they are not populated apart from /etc/mail which contains mailer.conf.

I'm not yet sufficiently familiar with the make buildworld process to know where to look to see if the files have been created by make buildworld or maybe the files are more or less copied from /usr/src/etc to $DESTDIR...

In any case my /etc has not been populated, and I can't figure out why not....
 
Sometime ago I've been told not to use make distribution but use mergemaster(8) instead. The reason for it was that make distribution would destroy any existing files whereas mergemaster(8) would neatly merge them.
 
Both have there usecases. If you want to populate a freshly created jail with /etc you should use make distribution. Mergemaster is the preferred method for upgrading and merging files (eg source upgrades).
 
My own jail scripts have been using mergemaster(8) for quite a few years now. It works just fine even if /etc/ is complete empty (as it does with a newly created world).
 
Back
Top