From owner-freebsd-questions@FreeBSD.ORG Tue Oct 23 04:00:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 893FB16A41A for ; Tue, 23 Oct 2007 04:00:56 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id 2E12713C480 for ; Tue, 23 Oct 2007 04:00:56 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-68-175-8-11.hvc.res.rr.com [68.175.8.11]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id l9N40pQ0001288; Tue, 23 Oct 2007 00:00:52 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id l9N40jgr001309; Tue, 23 Oct 2007 00:00:45 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id l9N40ia6001307; Tue, 23 Oct 2007 00:00:44 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200710230400.l9N40ia6001307@himinbjorg.tucs-beachin-obx-house.com> To: keramida@ceid.upatras.gr (Giorgos Keramidas) Date: Tue, 23 Oct 2007 00:00:44 -0400 (EDT) In-Reply-To: <20071022124626.GC1776@kobe.laptop> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "Tuc at T-B-O-H.NET" , freebsd-questions@freebsd.org Subject: Re: Want to upgrade sendmail in next OS release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2007 04:00:56 -0000 > > I can afford the time to start/stop sendmail here and there, but I > > have to schedule the maintenance window to upgrade this particular > > machine. > > I see. I'd still go for the maintenance window option, unless there is > a _very_ pressing need to upgrade Sendmail *today* because of a security > update, but you have a point :) > Absolutely going to do the proper "bring to the next level" on it as soon as I can schedule a good maintenance window. > > % The following files make up the sendmail build/install/runtime > % infrastructure in FreeBSD: > % > % Makefile.inc1 > % bin/Makefile > % bin/rmail/Makefile > % contrib/sendmail/ > % [...] > As for the merging myself . I was just hoping I could cvsup , rebuild what was necessary as if it was a "sendmail security alert", and go. I didn't realize everything that went into the point to get it to that point, and what could be missed/broken/etc. > > Interesting bits of that list are: > > lib/libmilter/Makefile > lib/libsm/Makefile > lib/libsmdb/Makefile > lib/libsmutil/Makefile > libexec/mail.local/Makefile > libexec/smrsh/Makefile > usr.bin/vacation/Makefile > usr.sbin/editmap/Makefile > usr.sbin/mailstats/Makefile > usr.sbin/makemap/Makefile > usr.sbin/praliases/Makefile > usr.sbin/sendmail/Makefile > usr.sbin/mailwrapper/Makefile > I did recompile sm/smutil . We currently aren't actively using milters (Wrote one previously, but not using it anymore), and the libsmdb is possibly something that could have bitten me. As for the rest of the stuff, not parts that either I needed, or felt were critical enough to the process. But something to be very aware of next time, even for another program. > > For future upgrades of Sendmail, it would probably be a good idea to > upgrade the libraries *first* and only when you are done building the > new libraries to install everything. > The libsm and libsmutil appeared not to by dynamic but static libs, so compiling them first brought me to be able to compile sendmail itself. I did a test to see if it would compile without it, it wouldn't. My instructions DID have me build them first though. > > It may be possible to build everything with MAKEOBJDIRPREFIX='/usr/obj', > and install in one go when you are done with everything, but that's > something you should probably experiment a bit with -- preferrably in a > test machine, before you do the same on a live system. > Isn't /usr/obj where things go anyway? I'm confused as to why your telling me. If your trying to get to that I should have done a buildworld, but then just a "make install" in certain directories.. Then yes, it was probably bad form, but I couldn't see making tar to be able to compile sendmail. :) > > > In the mean time, I got bored, so I did just that. Seems to be working > > fine, has processed about 15K emails since. > > Neat :) > Still didn't solve my issue.. Turns out to be an issue with /dev/console and the kernel. I tried to post here about it, but no replies... So took it to "arch" where I found alot of discussion of it via Google. Thanks for all the insight, Tuc