From owner-freebsd-ports@FreeBSD.ORG Sat Dec 3 08:38:52 2011 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 15042106566B; Sat, 3 Dec 2011 08:38:52 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8DAAA8FC12; Sat, 3 Dec 2011 08:38:51 +0000 (UTC) Received: by iakl21 with SMTP id l21so8644611iak.13 for ; Sat, 03 Dec 2011 00:38:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=lJgVjEhiVKVJzcUGOfPKcjaOi3DxdSafCYlFUrRowAk=; b=bkfcHEd80rzosecazAHNYsPmpCCTT81pPdH2ZjHFbp558gWZ/NjTfRsPU+52isCng3 hvGn0KX/y7cDT2RkGDiqXj1ay+gjPtK6cmr/exfrv6+iHstkJJ1hGIg8iCtGZMqqJOzy pKF2TnaOIrS96RkMhpKGbADJuiDgdbrW8nhpw= Received: by 10.50.197.167 with SMTP id iv7mr1651703igc.46.1322901531256; Sat, 03 Dec 2011 00:38:51 -0800 (PST) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.231.12.139 with HTTP; Sat, 3 Dec 2011 00:38:20 -0800 (PST) In-Reply-To: <4ED95A95.9040805@FreeBSD.org> References: <4ED8C0F1.807@FreeBSD.org> <20111202195555.GD1913@azathoth.lan> <4ED95A95.9040805@FreeBSD.org> From: Chris Rees Date: Sat, 3 Dec 2011 08:38:20 +0000 X-Google-Sender-Auth: djOZZCi7OFQe60iusXwuwQ4P2fs Message-ID: To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: Baptiste Daroussin , FreeBSD Ports ML Subject: Re: again, ports that stop daemons 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: Sat, 03 Dec 2011 08:38:52 -0000 On 2 December 2011 23:09, Andriy Gapon wrote: > on 02/12/2011 21:55 Baptiste Daroussin said the following: >> On Fri, Dec 02, 2011 at 08:38:05PM +0100, Torfinn Ingolfsen wrote: >>> On Fri, Dec 2, 2011 at 1:13 PM, Andriy Gapon wrote: >>>> >>>> Or that they simply quit doing that and instead print a message like "Port X is >>>> deinstalled but it may have some processes running, please do Y and/or Z to find >>>> them and/or stop them". >>> >>> I prefer this suggestion. >> >> I also would prefer this. > > > BTW, this part of my suggestion was inspired by the following: > http://en.opensuse.org/SDB:Zypper_usage_11.3#Check_processes > > Not sure how that feature is implemented though. A little service magic would do; [ service blargh status 2>/dev/null ] && echo "DON'T FORGET TO STOP THIS SERVICE!!!" I'll prepare a patch, as long as there's some chance of it going in ;) Chris