From owner-svn-src-all@freebsd.org Mon Jan 4 17:55:32 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8189A62342; Mon, 4 Jan 2016 17:55:32 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay04.stack.nl [IPv6:2001:610:1108:5010::107]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mailhost.stack.nl", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8538B1DA8; Mon, 4 Jan 2016 17:55:32 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id C34B9B8090; Mon, 4 Jan 2016 18:55:29 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id AD5E028494; Mon, 4 Jan 2016 18:55:29 +0100 (CET) Date: Mon, 4 Jan 2016 18:55:29 +0100 From: Jilles Tjoelker To: Warner Losh Cc: Colin Percival , Warner Losh , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Subject: Re: svn commit: r293115 - head/etc Message-ID: <20160104175529.GA10000@stack.nl> References: <201601031918.u03JImBs012182@repo.freebsd.org> <000001520d9553a7-b3ef495a-89d6-44ec-91c1-c4f9afc2c55b-000000@email.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 04 Jan 2016 17:55:32 -0000 On Mon, Jan 04, 2016 at 10:09:00AM -0700, Warner Losh wrote: > On Mon, Jan 4, 2016 at 10:00 AM, Colin Percival > wrote: > > On 01/03/16 11:18, Warner Losh wrote: > > > Log: > > > Use /bin/rm to remove /firstboot*. Otherwise rm -i alias is picked > > > up and can cause issues on boot with the prompts. > > Huh, I never realized that could be a problem. > It can, but it was a false positive here. /bin/sh always sources them, > so if you'd added an alias, it would be hit here. A non-interactive non-login sh does not source any startup files. Login shells source /etc/profile and ~/.profile and interactive shells source the file whose name is in the ENV environment variable. The prompt comes from trying to remove an existing file which is not writable. It can be suppressed by using rm -f instead of rm. -- Jilles Tjoelker