From owner-svn-src-head@FreeBSD.ORG Wed Jul 16 19:49:05 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5B535EF; Wed, 16 Jul 2014 19:49:05 +0000 (UTC) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A39B2BD9; Wed, 16 Jul 2014 19:49:04 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hi2so6828525wib.4 for ; Wed, 16 Jul 2014 12:49:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=CXgaZMbzBeytw8A2OBbmF8h6tTyoxDfPSH/drRdCLoU=; b=J0onPvVKEHwxRFh+L5jNndxNYoKoyYgZgTQi3kFAx0Cw6y/HwbIT53oaMr/BnTCTm2 T4siTbjq+kpTtrsBbdE+mNivcMQNjufQBW4CgzmMCu2UYWVZ417yvNnad0p4s1eePYnx e+ZGcVn8V+uVfigShklJParFaloOMQG8nLt8n7CTY64SuFOvMXkOHtq7cqQLGGCNxkaA ktWba+3bXRulyGGRXfEBgJopM3lompw1akaka4OOchPNdQvAaHDd/zh/GQUz7WPKGUKG hMAHIurrwkebSDlo4XJX0ESZmVkCnY3TGiqWYmtmTteMZ9x/MOpHYwq2bwHXdkay2DXF v9Lg== X-Received: by 10.194.92.115 with SMTP id cl19mr39211685wjb.29.1405540141656; Wed, 16 Jul 2014 12:49:01 -0700 (PDT) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by mx.google.com with ESMTPSA id x3sm12507135wia.11.2014.07.16.12.48.59 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 16 Jul 2014 12:48:59 -0700 (PDT) Date: Wed, 16 Jul 2014 21:48:47 +0200 From: Mateusz Guzik To: Devin Teske Subject: Re: svn commit: r268773 - head/usr.sbin/service Message-ID: <20140716194847.GA23168@dft-labs.eu> References: <201407161902.s6GJ2VMG048945@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201407161902.s6GJ2VMG048945@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2014 19:49:05 -0000 On Wed, Jul 16, 2014 at 07:02:31PM +0000, Devin Teske wrote: > Author: dteske > Date: Wed Jul 16 19:02:30 2014 > New Revision: 268773 > URL: http://svnweb.freebsd.org/changeset/base/268773 > > Log: > Revert previous revision (r268461) for reasons documented in PR. > To use tmux in an rc.d script, use the new-session flag "-d". > To use screen in an rc.d script, use the "-dm" flag. > If you really need to launch an attached session, manually > export TERM=xterm (FreeBSD 9.0 or higher) or export TERM=cons25 > for older releases. > > Reported by: bdrewery > Discussed on: src-committers, svn-src-all, svn-src-head > PR: bin/191869 > > Modified: > head/usr.sbin/service/service.sh > > Modified: head/usr.sbin/service/service.sh > ============================================================================== > --- head/usr.sbin/service/service.sh Wed Jul 16 18:52:21 2014 (r268772) > +++ head/usr.sbin/service/service.sh Wed Jul 16 19:02:30 2014 (r268773) > @@ -139,7 +139,7 @@ cd / > for dir in /etc/rc.d $local_startup; do > if [ -x "$dir/$script" ]; then > [ -n "$VERBOSE" ] && echo "$script is located in $dir" > - exec env -i HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin TERM="$TERM" $dir/$script $* > + exec env -i HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin $dir/$script $* > fi > done > > Thank you. -- Mateusz Guzik