On Fri, Jun 21, 2024 at 11:43:14PM +0100, Jo MacMahon wrote: > Hello, > > I recently needed to restore the file `/var/unbound/etc/unbound.conf`, which > is in the base system, to its original version, and assumed I could get it > out of one of the file sets, most likely `base75.tgz`. However the file is > not present in base75.tgz and none of the other sets look like they ought to > have it in. In the end I found the file I needed on GitHub, but I was curious > as to how it gets put in my system if it's not in a file set. > > I noticed the same with `/etc/ssh/sshd_config`. > > Are they generated after install time somehow? Or on first run of the > service? I don't think I had run unbound(8) before. > > Jo >
Once upon a time the config files were in a separate set. These days they are in the base tarball, packaged in ./var/sysmerge/etc.tgz. So on installed systems /var/sysmerge has tarballs with the originals. See sysmerge(8) -Otto