From owner-svn-src-head@FreeBSD.ORG Wed Jul 16 19:06:45 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 0A607DD; Wed, 16 Jul 2014 19:06:45 +0000 (UTC) Received: from shxd.cx (unknown [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2B032805; Wed, 16 Jul 2014 19:06:44 +0000 (UTC) Received: from 50-196-156-133-static.hfc.comcastbusiness.net ([50.196.156.133]:51635 helo=THEMADHATTER) by shxd.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1X7Hh9-000J19-KB; Tue, 15 Jul 2014 22:23:59 -0700 From: To: "'O'Connor, Daniel'" , "'Adrian Chadd'" References: <201407150218.s6F2Itj8044531@svn.freebsd.org> <53C56BE9.9050304@FreeBSD.org> <20140715191553.GA31990@dft-labs.eu> <011a01cfa09b$928b4710$b7a1d530$@FreeBSD.org> <20140716050817.GA6122@lonesome.com> <31BAEE0C-984C-47A5-AC4A-DCE1405C298D@emc.com> In-Reply-To: Subject: RE: svn commit: r268641 - head/usr.sbin/service Date: Wed, 16 Jul 2014 12:06:30 -0700 Message-ID: <031c01cfa129$0db39e00$291ada00$@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHOLaehGAwRwf+WS/ay3he7mLcSrwIdqyYRAXy+1UkB4SBdqgE/l8gdASBH+AACQIi/CAEs4yDjm0uwAXA= Content-Language: en-us Sender: devin@shxd.cx Cc: 'Mateusz Guzik' , svn-src-all@freebsd.org, 'Bryan Drewery' , src-committers@freebsd.org, svn-src-head@freebsd.org, 'Mark Linimon' , 'Devin Teske' 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:06:45 -0000 > -----Original Message----- > From: Devin Teske [mailto:devin@shxd.cx] > Sent: Wednesday, July 16, 2014 9:20 AM > To: 'O'Connor, Daniel'; 'Adrian Chadd' > Cc: 'Mark Linimon'; 'Mateusz Guzik'; 'svn-src-all@freebsd.org'; 'Bryan > Drewery'; 'src-committers@freebsd.org'; 'svn-src-head@freebsd.org'; 'Devin > Teske' > Subject: RE: svn commit: r268641 - head/usr.sbin/service > > > > > -----Original Message----- > > From: owner-src-committers@freebsd.org [mailto:owner-src- > > committers@freebsd.org] On Behalf Of O'Connor, Daniel > > Sent: Wednesday, July 16, 2014 1:58 AM > > To: Adrian Chadd > > Cc: Mark Linimon; Mateusz Guzik; svn-src-all@freebsd.org; Bryan Drewery; > > src-committers@freebsd.org; svn-src-head@freebsd.org; Devin Teske > > Subject: Re: svn commit: r268641 - head/usr.sbin/service > > > > > > On 16 Jul 2014, at 14:49, Adrian Chadd wrote: > > > On 15 July 2014 22:08, Mark Linimon wrote: > > >> On Tue, Jul 15, 2014 at 07:13:44PM -0700, dteske@FreeBSD.org wrote: > > >>> destroying all vestiges of that environment purely for the sake of > > >>> saying "it's clean" seems counter to the UNIX pathos. > > >> > > >> I think you mean "ethos" here, but frankly I like it better this way. > > > > > > I'm a bit confused by this thread. > > > > > > screen and tmux are interactive processes. They're not designed to be > > > run as UNIX services. > > > > > > Why is this even happening? > > > > The mine craft server port uses tmux so you can fiddle with the MC console > > later. > > > > Neither screen nor tmux cares if TERM is set when it is run, e.g. > > > > [midget 18:25] ~ >env -i /usr/local/bin/tmux new-session -d > > [midget 18:25] ~ >tmux ls > > 0: 1 windows (created Wed Jul 16 18:25:33 2014) [241x38] > > > > [midget 18:26] ~ >env -i /usr/local/bin/screen -d -m > > [midget 18:26] ~ >screen -ls > > There are screens on: > > 30081..midget (Detached) > > 3 Sockets in /tmp/screens/S-darius. > > > > Looks like "-d" is the magic that needs to be used in rc.d scripts. > > Thanks! I'll start spreading that knowledge and reverse r268641. Reverted. Thanks much! -- Devin