From owner-freebsd-stable@freebsd.org Wed Aug 30 12:55:24 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 5DF9BE012F7; Wed, 30 Aug 2017 12:55:24 +0000 (UTC) (envelope-from peixotocassiano@gmail.com) Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::22f]) (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 0F0476BACD; Wed, 30 Aug 2017 12:55:24 +0000 (UTC) (envelope-from peixotocassiano@gmail.com) Received: by mail-qk0-x22f.google.com with SMTP id l65so27366081qkc.0; Wed, 30 Aug 2017 05:55:24 -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=3Ma4nnzqgRm0wWTndLhmOkASU+DqbW9BS+sm+tdMC6c=; b=s3WwfvccmgfZrVvZw5mH2VuGzfolWTkCGFBzvY4sOL8yahJtThy6n1K82g42X0uqz1 v4Goyov/8i351wsVovW/VA5i7UoFFxAmk2Zr+zDlXJB8Pxl664sGxTFsMEm/SnmgkC+w 0g3LB+DdR2+G4lD85iovsUR3++h69nMqw8Tgxx33ebxxiAd2ra/9mBPX+XCFU3skxG6U HI18EljUEai2+4xrEIHWrmkSsYUqN3pJTzuw8GcGeLEBVbjaG3nqqYy/pqF09O3MgsH+ ILSDK3DO28o9WEZgAPJOJYuzyU9RzuO0J+0ckz3oGJsYpn/bmF9Te0Xfu4++0OE+FrQ2 C3OQ== 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=3Ma4nnzqgRm0wWTndLhmOkASU+DqbW9BS+sm+tdMC6c=; b=ePmhPbs+VOpj9h2mH9aWqM7krmZgiwXVE3+bOvXgkH4obgZIsrYGMm4fJy0YUkZes4 LvASpqDGcd+0iFhCd3LpH8b5xfRa/5g3QIXvhbnTUSIgC1ZhjhGb5T1JE4LXoIMKwbS0 vSoaxRB+skKKJJOs0cO6YYzh504MeD1BHZRXIzTadfrPRfLA2jA8Ey9R/tOZWiJcAEFl qqY+myIfSlZ2s+Q7F7Wtnbd6ccKtzrWHEnbKGHUlBEgic+rFiKJj/SNAh4uDbRGwmfx+ 4MlbRG7ywo0WKxGhk3M0oksW09KAwfTb4PhRZJuh12DcPMkVgTULYn70gPq8jrQrOVJg AY+g== X-Gm-Message-State: AHYfb5jnIroXS4GCNwBQK+FY0hXxWhvZpgoYJ0u0GIKBIBMf043alZ+0 4vSY915Ty1mpsQQphGRkefIyjrE4Kg== X-Received: by 10.55.27.96 with SMTP id b93mr9975411qkb.282.1504097723006; Wed, 30 Aug 2017 05:55:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.38.129 with HTTP; Wed, 30 Aug 2017 05:55:22 -0700 (PDT) In-Reply-To: <20170830124855.ph5cca5pwjd2pphf@ivaldir.net> References: <4c16c960-3b4a-75ab-41ed-51c8109b940a@FreeBSD.org> <20170830124855.ph5cca5pwjd2pphf@ivaldir.net> From: Cassiano Peixoto Date: Wed, 30 Aug 2017 09:55:22 -0300 Message-ID: Subject: Re: pkg issue after FreeBSD 11 upgrade To: Baptiste Daroussin Cc: Matthew Seaman , freebsd-stable@freebsd.org, "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 12:55:24 -0000 Hi Baptiste, Why it used to work on FreeBSD 10? It stopped worked on FreeBSD 11 only. Cron is just an example, I manage more than 50 FreeBSD servers, and I've been using ports for years to update some configs and restart the service on all of them. Many times I need to change nginx config, ldap, etc. I just need to restart the service. Is there some flag to disable it? Or some hack that I could do? Thanks. On Wed, Aug 30, 2017 at 9:48 AM, Baptiste Daroussin wrote: > On Wed, Aug 30, 2017 at 09:00:55AM -0300, Cassiano Peixoto wrote: > > Hi Matthew, > > > > Sorry back to this subject. But I really need to restart services with a > > port. I'm quite sure there is a bug with pkg and FreeBSD 11. > > > > I made a simple port to restart cron service: > > It is not a bug, it is by design, pkg becomes the reaper of the scripts it > runs > and kills everything once the script is executed. > > btw if you install crontab in cron.d you do not need to restart the > service, > cron will figure out itself and reload what it needed. > > Bapt >