From owner-freebsd-ports@FreeBSD.ORG Sun Jun 10 18:55:39 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30BD21065673 for ; Sun, 10 Jun 2012 18:55:39 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 65B2D8FC0A for ; Sun, 10 Jun 2012 18:55:38 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id VAA20682 for ; Sun, 10 Jun 2012 21:55:37 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SdnIW-00006Q-Lx for freebsd-ports@FreeBSD.ORG; Sun, 10 Jun 2012 21:55:36 +0300 Message-ID: <4FD4EDA7.40703@FreeBSD.org> Date: Sun, 10 Jun 2012 21:55:35 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit Cc: Subject: pkg_delete and +DEINSTALL X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2012 18:55:39 -0000 While pkgng is growing momentum I have a small suggestion for outgoing pkg_* tools. It seems that pkg_delete performs something like exec(+DEINSTALL, ...). I think that it would be better to do exec(/bin/sh, +DEINSTALL, ...). Rationale: - no need to set x bit on +DEINSTALL - no need to allow exec on /var/db filesystem The problem is discovered by actually using noexec mount option. -- Andriy Gapon