From owner-freebsd-stable@freebsd.org Wed Aug 30 13:15:15 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29B3BE01D82; Wed, 30 Aug 2017 13:15:15 +0000 (UTC) (envelope-from peixotocassiano@gmail.com) Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com [IPv6:2607:f8b0:400d:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D412B6CBD1; Wed, 30 Aug 2017 13:15:14 +0000 (UTC) (envelope-from peixotocassiano@gmail.com) Received: by mail-qk0-x22d.google.com with SMTP id a77so27594439qkb.1; Wed, 30 Aug 2017 06:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AF0FnDIIAfE6sXeuI5tje0jc1+guNiMqwxAPq93cFXA=; b=p1ZGPhqt4jZJzbkKySBYkPMjCktAkp8872UwRo8NrsGuSeQlLrcGM6kD2wzhn6NAuP +rqs1ypuLdui+ZAqy7C9YaFMloSxa9694Qdl9AEvfo+guWsobo9dmkNii76+eJgJWSa6 jBQJtfhbq4WnMP3a32tmMwvwbKiFdvEd/xk6R5J1uN24SGVuL4ZW7FjFcWL96RP9ozHa yL0MZHeB8VnS/4ltLZ9G7hY6nF5Q3jOCXt28jx4VGCNHr9LRpN9vqFbdx+6sCYkJGcFj 4EBSTEhjVfdlMWr6c/wf2mnC1lJiMTSyd6IrPIdRAsWoVhPaqG2n/p6CKUDYY7AfqDqy wltw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AF0FnDIIAfE6sXeuI5tje0jc1+guNiMqwxAPq93cFXA=; b=czQjtu1xwvgWUTfjvEIFW1WYI1b49BR6h9acVP9W19GhThPNGKzu1LI+WWTq6P31GD jZSlcnYFoiDNJc/XXLI60vKEl76UmsDyRBBjsjIXTKmEsIcTBraxJoJF8G70hV0itM1W iU918tJ04Obb62k+smq+J0B7o3BABqwEyY1uluVwt+XekjjNbSrMUfeQa6++kQMS5OL5 O+4u6Le2uUzclQwoZLMFcKcOKGrN2veQzqyAVZKf1GIMc2PbGK/rsVCvXo7ldLvpUjXo O0Du0LiVkskLQjesKY/LKiYOttcjTWIFjRv2Uey4OzcJ2p3IBX+heoTNYQqZH7OXMPg/ CcAA== X-Gm-Message-State: AHYfb5hSmtYa2QdbB691thN0RvUTXWXyMEUPo1tWMu92cnb9VDVNqVTt m5WT6fyaSgtBKGXrkILhcz5Pzkukf/Ke X-Received: by 10.55.97.76 with SMTP id v73mr1584232qkb.90.1504098913900; Wed, 30 Aug 2017 06:15:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.38.129 with HTTP; Wed, 30 Aug 2017 06:15:13 -0700 (PDT) In-Reply-To: References: <4c16c960-3b4a-75ab-41ed-51c8109b940a@FreeBSD.org> <20170830124855.ph5cca5pwjd2pphf@ivaldir.net> From: Cassiano Peixoto Date: Wed, 30 Aug 2017 10:15:13 -0300 Message-ID: Subject: Re: pkg issue after FreeBSD 11 upgrade To: Franco Fichtner Cc: Baptiste Daroussin , freebsd-stable@freebsd.org, Matthew Seaman , "freebsd-ports@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 13:15:15 -0000 Hi Franco, Thank you. You know what I'm suffering. As I said in my last email I think it would be an option to enable/disable. I just upgraded my customers servers to FreeBSD 11 and I just realized it. I think when more admins who maintain this kind of port (needing to restart services), as soon as they migrate they will face the same problem. On Wed, Aug 30, 2017 at 10:01 AM, Franco Fichtner wrote: > Hi Cassiano, > > > On 30. Aug 2017, at 2:55 PM, Cassiano Peixoto > wrote: > > > > Why it used to work on FreeBSD 10? It stopped worked on FreeBSD 11 only. > > It was a later 10.x change as far as I know. > > > Is there some flag to disable it? Or some hack that I could do? > > No. At OPNsense we use a patch to revert the behaviour. > > https://github.com/opnsense/ports/blob/master/ports-mgmt/ > pkg/files/patch-libpkg_scripts.c > > > Cheers, > Franco