Solved No files in /etc after make installworld

balanga

Son of Beastie

Reaction score: 217
Messages: 4,024

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....
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,989
Messages: 38,443

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.
 

Duffyx

Active Member

Reaction score: 44
Messages: 121

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).
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,989
Messages: 38,443

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).
 
Top