On Thu, 7 Oct 2004, Sean McNeil wrote: >> 1. How do you usually invoke mergemaster? >> 2. Do you have a .mergemasterrc file? >> 3. Do you run a MM_PRE_COMPARE_SCRIPT? >> 4. Do you have any *_BIND_* options in /etc/make.conf? >> 5. Output of 'ls -la /etc/namedb /var/named/etc/namedb' > > 1. I invoke by simply typing mergemaster. > 2. yes, the contents are: > > MM_PRE_COMPARE_SCRIPT=/usr/local/bin/mergemaster_precompare > > 3. The contents of /usr/local/bin/mergemaster_precompare are... > > #!/bin/sh > > # NOTE: No PATH needed, because mm's PATH is already draconian enough > > case "${PRE_WORLD}" in > '') > rm -f ${TEMPROOT}/etc/motd > rm -f ${TEMPROOT}/etc/hosts ${TEMPROOT}/etc/hosts.allow > rm -f ${TEMPROOT}/etc/mail/mailer.conf > rm -f ${TEMPROOT}/etc/ssl/openssl.cnf > rm -f ${TEMPROOT}/etc/namedb/PROTO.* > ${TEMPROOT}/etc/namedb/named.* \ > ${TEMPROOT}/etc/namedb/make-localhost > ;; > esac > > ARGH!!!!! That must be it. Deleting them in TEMPROOT causes them to go > away in /var/named? > > Thanks for the insight. Now, is what I did here wrong or is this an > issue with the way things are moved around? Yeah, that's what I was afraid of. The change that happened in version 1.334 of src/etc/Makefile symlinked the /etc/namedb in the temproot directory to the live directory on the system. Please try the attached patch and make sure that it works for you, then let me know the results. Doug -- This .signature sanitized for your protection
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC