From owner-freebsd-ports@FreeBSD.ORG Mon Nov 10 11:43:56 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ADAA75C7 for ; Mon, 10 Nov 2014 11:43:56 +0000 (UTC) Received: from mail-yk0-x233.google.com (mail-yk0-x233.google.com [IPv6:2607:f8b0:4002:c07::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 60E3A856 for ; Mon, 10 Nov 2014 11:43:56 +0000 (UTC) Received: by mail-yk0-f179.google.com with SMTP id 131so4064231ykp.10 for ; Mon, 10 Nov 2014 03:43:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:mime-version:content-type; bh=dwpwK3OKeDnPwONYSyhUKVHTwcStkuLFzhuMCavrNc8=; b=QZnCv1NSR26WvK93oBqV0W/7N/Ll9TT1G/vQf4Qh9l0i8ItSKZfOXDs/ifIVRR36aT 2nVCyJbqWt8gXGfeu/Heg7L5iNSUazZpoX4sosJqqgHGTF4H74Sy3hkQcQUjkOTkNpbA PlTPLagcw13j8fnnhJSARhVHvcKoV4bWtVDD8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:organization:mime-version:content-type; bh=dwpwK3OKeDnPwONYSyhUKVHTwcStkuLFzhuMCavrNc8=; b=dVVXfwyVywvPj3a49pP2JKH6Z+FpKi0FoxXhN4EgzfyYboJBPMS9jTy27wI58LFCJn O9k+cMDdUTERBRHbTfnIwRpy/fDJR1kqfcENaTRfXzgwzQI7T7gIf6l/BRt5OmNf9vhi kEsPyFN9UgYm0crvtoSIwCMKOR92RrvaMErTZfuSUwt7BvHfA0gg8A88WT9kEr2fvEZT VOgNnQrXrVuu92tt9Y6KSQqBfwsJEWzZZkT2Mthv3cqGfuqxBKAzJ11E27Ywo17lPN8c VAS2MzwzfBcGjrGHQgSBPD5l5fPCM4cFvqhAJ0c1JZ/WJU4kMpLRscGL8sJeP1nXnGuX l4Ag== X-Gm-Message-State: ALoCoQlXjN4O70J97fgEFHIzL8l4/s+B/9RL0m3xvHLcrrYDJZcYF4AWUC6eGv54qV3MCdEWIcZ0 X-Received: by 10.170.113.9 with SMTP id f9mr32286441ykb.79.1415619835194; Mon, 10 Nov 2014 03:43:55 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPSA id g6sm9158640yhb.10.2014.11.10.03.43.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Nov 2014 03:43:54 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3jbr2K6rCWz3DlVq for ; Mon, 10 Nov 2014 06:43:53 -0500 (EST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.4 at scorpio.seibercom.net Date: Mon, 10 Nov 2014 06:43:47 -0500 From: Jerry To: FreeBSD Ports Subject: Re: postfix catch-22... Message-ID: <20141110064347.46c3080a@scorpio> In-Reply-To: <54608CF8.4000301@freebsd.org> References: <54608CF8.4000301@freebsd.org> Reply-To: FreeBSD Ports Organization: seibercom NET X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/WgbZoAkxNqbb98C4kFkDlf_"; protocol="application/pgp-signature" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2014 11:43:56 -0000 --Sig_/WgbZoAkxNqbb98C4kFkDlf_ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 10 Nov 2014 10:01:28 +0000, Matthew Seaman stated: >Dear maintainer, > >Had an issue with updating from 2.11.1_4,1 to 2.11.3_1,1: it looks like >you can't win with the ownership of /var/spool/postfix: > >On restart after updating the package: > >{{{ >smtp-2:/var/spool/postfix:# service postfix restart >postfix/postfix-script: stopping the Postfix mail system >postsuper: fatal: scan_dir_push: open directory defer: Permission denied >postfix/postfix-script: fatal: Postfix integrity check failed! >}}} > >Googling shows this to be a problem with the ownership of >/var/spool/postfix. One 'chown postfix /var/spool/postfix' later, and >postfix will now at least start, but it clearly isn't happy about it. > >{{{ >smtp-2:/var/spool/postfix:# chown postfix . >smtp-2:/var/spool/postfix:# service postfix restart >postfix/postfix-script: fatal: the Postfix mail system is not running >postfix/postfix-script: warning: not owned by root: /var/spool/postfix >postfix/postfix-script: starting the Postfix mail system >}}} > >{{{ >smtp-2:/var/spool/postfix:# postfix check >postfix/postfix-script: warning: not owned by root: /var/spool/postfix >smtp-2:/var/spool/postfix:# ls -ld /var/spool/postfix >drwx------ 16 postfix postfix 16 Nov 10 00:27 /var/spool/postfix/ >}}} > >It seems from the pkg-plist that postfix:postfix and 0700 are the >intended ownership and permissions: > >https://svnweb.freebsd.org/ports/head/mail/postfix/pkg-plist?r1=3D372370&r= 2=3D372369&pathrev=3D372370 > >However updating via pkg(8) didn't seem to pick up the ownership change >on /var/spool/postfix -- it got the chmod to 0700 though. > >pkg(8) not behaving quite right aside, I'm not convinced that >postfix:postfix and 0700 is correct for /var/spool/postfix -- it used to >be root:postfix and move 0755, which seems to allow postfix to run >without complaint: > >{{{ >smtp-2:/var/spool/postfix:# chmod 755 . >smtp-2:/var/spool/postfix:# chown root . >smtp-2:/var/spool/postfix:# postfix check >smtp-2:/var/spool/postfix:# service postfix restart >postfix/postfix-script: stopping the Postfix mail system >postfix/postfix-script: starting the Postfix mail system >}}} > > Cheers, > > Matthew > mail_version =3D 2.12-20141020 reported error with file permissions also; although it did start. --=20 Jerry --Sig_/WgbZoAkxNqbb98C4kFkDlf_ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUYKT5AAoJEElTsHIJnX8eZ4QH/17SdWgZniIaBhmew5gFKVve h1Q3Hi0R1NCnng6LuQ/rWzvVRVr/qtJl6tKKW5r8kKcRU7d7dWirujjTE7dT73/S +xzaRHOKrHLRB3c29aeDw3E3nQwP6EhbQZ/Cud3Hu3Qk5b9rkh4p6OlMApe0mnld f7katnHegOg9q5ZHrjBMx86wdN6WtmAjs3WjWt9ljCsGtNeA5bFAKevTmoL4SaU/ TOs0o2vmGKOffIFl0YUJ3L6jmZpol3i0F5XvnUkMseWCjwYsc66dNF4o5E2XaRun 3SlCSi2IGR6GAJ1dehXrmXOwFNWs5ZRJWOe9ln1KVpqADWbdGnMEwKpI1RwHWlg= =AFux -----END PGP SIGNATURE----- --Sig_/WgbZoAkxNqbb98C4kFkDlf_--