From nobody Sun Oct 9 20:37:46 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mlv4k38nLz4fTVc for ; Sun, 9 Oct 2022 20:37:58 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [208.111.40.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mlv4j2p7bz3Z7G for ; Sun, 9 Oct 2022 20:37:57 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from chombo.houseloki.net (unknown [IPv6:2602:41:642b:600::6]) by echo.brtsvcs.net (Postfix) with ESMTPS id 9B62038D07; Sun, 9 Oct 2022 20:37:50 +0000 (UTC) Received: from [10.26.25.100] (ivy.pas.ds.pilgrimaccounting.com [10.26.25.100]) by chombo.houseloki.net (Postfix) with ESMTPSA id DFCC61731F; Sun, 9 Oct 2022 13:37:47 -0700 (PDT) Subject: Re: pkg upgrade vs building from source To: paul beard , FreeBSD-questions References: From: Mel Pilgrim Message-ID: <8ffd94e3-6113-c364-e95e-1e855c7b8440@bluerosetech.com> Date: Sun, 9 Oct 2022 13:37:46 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Mlv4j2p7bz3Z7G X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of list_freebsd@bluerosetech.com designates 208.111.40.118 as permitted sender) smtp.mailfrom=list_freebsd@bluerosetech.com X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:36236, ipnet:208.111.40.0/24, country:US]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[bluerosetech.com]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2022-10-08 8:35, paul beard wrote: > My skepticism over pkg doing what I expect grows after recent events. I > decided after I rebuilt this freebsd instance that I would say goodbye > to installing from source and allow pkg to manage it all. Surely by now, > it's mature enough to handle it. > > Reader, it is not. > > I allowed it to upgrade postfix the other day and discovered that it no > longer worked; > Oct  8 03:15:16 www postfix/smtp[65148]: warning: > unsupported SASL client implementation: cyrus > Oct  8 03:15:16 www postfix/smtp[65148]: fatal: SASL library > initialization > Oct  8 03:15:17 www postfix/master[1157]: warning: process > /usr/local/libexec/postfix/smtp pid 65148 exit status 1 > Oct  8 03:15:17 www postfix/master[1157]: warning: > /usr/local/libexec/postfix/smtp: bad command startup -- throttling > > I went to the port directory and did a deinstall/reinstall and all is > well. Postfix flush cleared out the test emails I had queued up and no > errors in maillog. No changes to teh configuration files, it just worked > properly after a proper install. When you installed postfix via pkg, did you install postfix, or postfix-sasl? The postfix port is flavoured: $ pkg search -r FreeBSD -x 'postfix(-.+)?-3.7.2' postfix-3.7.2_1,1 Secure alternative to widely-used Sendmail postfix-ldap-3.7.2_1,1 Secure alternative to widely-used Sendmail (with OpenLDAP and Cyrus SASL support) postfix-sasl-3.7.2_1,1 Secure alternative to widely-used Sendmail (with Cyrus SASL support)