From owner-freebsd-rc@FreeBSD.ORG Sat Dec 24 18:53:11 2011 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29AF8106566B; Sat, 24 Dec 2011 18:53:11 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D7FEA8FC13; Sat, 24 Dec 2011 18:53:10 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so8841877obb.13 for ; Sat, 24 Dec 2011 10:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=CCZR6FWQLlfS36sk3HunLMTIltsv2bEBSXz6l1S4qJM=; b=tdGoobmx6b2tiuO1EKxHZGdi9Jq8mJu31eT1gj09cITOe8LENdS2NP9cSZ10y2AWXo B14sE5ycmx8HcFw4eMPmkHkriME99ojb7f7A6hjv82XfBlWGTL6Amfkdc/7xHq8rlebo ap253V9gQe9i4dtX46Nc7JrgiWfhNKZoP0ah8= MIME-Version: 1.0 Received: by 10.182.51.37 with SMTP id h5mr16832544obo.51.1324752790276; Sat, 24 Dec 2011 10:53:10 -0800 (PST) Received: by 10.182.152.6 with HTTP; Sat, 24 Dec 2011 10:53:10 -0800 (PST) In-Reply-To: References: <201112241230.pBOCUF3h064098@freefall.freebsd.org> <74F7E2CE-89DC-4F64-9A50-71B9FD458025@bsdimp.com> Date: Sat, 24 Dec 2011 10:53:10 -0800 Message-ID: From: Garrett Cooper To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Maxim Ignatenko , freebsd-rc@freebsd.org Subject: Re: conf/163508: [rc.subr] [patch] Add " enable" and " disable" commands to rc.subr X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 18:53:11 -0000 On Sat, Dec 24, 2011 at 9:51 AM, Warner Losh wrote: > > On Dec 24, 2011, at 10:29 AM, Maxim Ignatenko wrote: > >>> =A0If the 5% of cases are when someone has done something complicated t= o the rc.conf file, then I don't care: they won't use this interface and we= can detect this case and do nothing. >> >> Now I don't see how to distinguish cases when ${rcvar} set to default >> value in rc-script and when it's set in other file in some not obvious >> way. > > What does that matter? This is annoying (like samba) because it's a broken script s.t. I can't issue forcestop and expect it to stop properly in all cases. Thanks, -Garrett