From owner-svn-src-all@FreeBSD.ORG Sun Dec 20 11:58:47 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 03C58106566C; Sun, 20 Dec 2009 11:58:45 +0000 (UTC) (envelope-from nork@FreeBSD.org) Date: Sun, 20 Dec 2009 20:58:45 +0900 From: Norikatsu Shigemura To: Doug Barton Message-Id: <20091220205845.7de335cc.nork@FreeBSD.org> In-Reply-To: References: <200912200134.nBK1YCAA048942@svn.freebsd.org> <4B2DBB51.9060002@FreeBSD.org> <4B2DD2A1.8060907@FreeBSD.org> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.4; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, freebsd-rc@freebsd.org, Hajimu UMEMOTO Subject: Re: svn commit: r200743 - in head/usr.sbin: . service X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2009 11:58:47 -0000 On Sun, 20 Dec 2009 18:31:56 +0900 Hajimu UMEMOTO wrote: > > About the value this change, I think it should be same as the values > > at boot time. I cannot imagine that someone want to restart the > > system daemons under the user environment. > dougb> I can actually, especially for ports. > Yup, I often do restart the services installed from ports, too. > I meant that I don't want that the values of user environment are > inherited to the services which is started from the user environment. Yes, me too. I hope to restart daemons (installed from ports and/or system) like 'on boot'. > > Even if someone want to do > > so, he still can kick /etc/rc.d/foo, directly. > dougb> The point of adding a service(8) is to avoid needing to do that. :) > Yes, I hope so.:) > The merit of using service(8) should be that there are more additional > thing than just kicking /etc/rc.d/foo; don't inherit the values of > user environment, IMO. I always kick like 'cd /; env - HOME=/ PATH=$PATH /etc/rc.d/foo'. So I want service(8) like 'cd /; env - ...'. Thank you.