From owner-freebsd-ports@FreeBSD.ORG Sat Dec 3 08:46:43 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 B0948106564A; Sat, 3 Dec 2011 08:46:43 +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 250D58FC08; Sat, 3 Dec 2011 08:46:43 +0000 (UTC) Received: by iakl21 with SMTP id l21so8655860iak.13 for ; Sat, 03 Dec 2011 00:46:42 -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:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=G0O34IAXJyc2y7ZHFjPr0jLBQ9JhEiN9NacFpEqeoFE=; b=AJPx/4Ki7i7SIq8DzxdNZBNdd3D3scK6trM36jbYRGt5oOM55ibDdfd1QCXokcd1iC 8rdK0uIfrspaYgbS7bwR9quQH//xA0W6uMZen2l9L5Iblc+KMRMfTeChb+V73kj93m3K 6RipeNI/6n4YYuESFz0iZYLvL9GWhkXVksSSs= MIME-Version: 1.0 Received: by 10.42.147.72 with SMTP id m8mr1694765icv.56.1322902002791; Sat, 03 Dec 2011 00:46:42 -0800 (PST) Sender: utisoft@gmail.com Received: by 10.231.12.139 with HTTP; Sat, 3 Dec 2011 00:46:42 -0800 (PST) Received: by 10.231.12.139 with HTTP; Sat, 3 Dec 2011 00:46:42 -0800 (PST) In-Reply-To: References: <4ED8C0F1.807@FreeBSD.org> <20111202195555.GD1913@azathoth.lan> <4ED95A95.9040805@FreeBSD.org> Date: Sat, 3 Dec 2011 08:46:42 +0000 X-Google-Sender-Auth: 6BBBI-0ZGafuFzvx5hHT7D_P0jc Message-ID: From: Chris Rees To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:46:43 -0000 On 3 Dec 2011 08:38, "Chris Rees" wrote: > > 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!!!" Ahem, sorry, forget the square brackets... d'oh > I'll prepare a patch, as long as there's some chance of it going in ;) > > Chris