From owner-svn-src-head@FreeBSD.ORG Wed Jul 16 16:20:25 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85F058F9; Wed, 16 Jul 2014 16:20:25 +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 6B10D28FA; Wed, 16 Jul 2014 16:20:25 +0000 (UTC) Received: from [64.201.244.132] (port=51211 helo=THEMADHATTER) by shxd.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1X7F69-000F0k-80; Tue, 15 Jul 2014 19:37:37 -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: <31BAEE0C-984C-47A5-AC4A-DCE1405C298D@emc.com> Subject: RE: svn commit: r268641 - head/usr.sbin/service Date: Wed, 16 Jul 2014 09:20:08 -0700 Message-ID: <028f01cfa111$cf809460$6e81bd20$@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/CJtU6Emg 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 16:20:25 -0000 > -----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. -- Devin