Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2001 17:34:57 -0600
From:      Mike Meyer <mwm@mired.org>
To:        Forrest Aldrich <forrie@forrie.com>
Cc:        questions@freebsd.org
Subject:   Re: Mergemaster
Message-ID:  <14996.20641.427010.99254@guru.mired.org>
In-Reply-To: <82558673@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Forrest Aldrich <forrie@forrie.com> types:
> I've been using these args for mergmaster:
> 
> # mergemaster -v -t /tmp/merge.mmdd -w 120 2>&1 | tee /tmp/merge.root
> 
> We have these out-of-band console modems (serial) that we connect to, in 
> order to perform system updates.   The problem we're running into is that 
> when mergemaster scrolls stuff (diffs) across the screen (especially 
> sendmail.cf diffs), the characters cause the OOB modem to lock up.
> 
> Last night, I ended up having to travel to our co-lo and do maintenance 
> from the screens through 4am.  Not a happy camper.
> 
> I'm wondering if there is some way to suppress the build or comparison/diff 
> of certain packages... or even the scrolling diff output of mergemaster.
> 
> For example, we build and maintain our own sendmail and named.  Even though 
> we have /etc/make.conf configured not to build sendmail, we still run into 
> the need to diff when performing mergemaster.   It seems there must be a 
> way to avoid this.
> 
> I'm sure I'm not the only one bitten by this little problem.  Luckily it 
> doesn't happen a lot, but when it does (at 4:00am) it really does :)

Mergemaster has hooks to run scripts before hand. You can use that to
either autoinstall some files, or delete some from the temporary root
tree (I'm not sure if the latter will work).

If the problem is the output of diff, you might try using setting the
nvironment variable DIFF_OPTIONS to something that is safe for your
modems. If mergemaster does things that muck with that, setting
DIFF_FLAG might change it's mind.

	<mike

--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14996.20641.427010.99254>