Date: Mon, 4 Jan 2016 09:56:29 -0700 From: Warner Losh <imp@bsdimp.com> To: Allan Jude <allanjude@freebsd.org> Cc: Jan Beich <jbeich@vfemail.net>, Warner Losh <imp@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r293115 - head/etc Message-ID: <CANCZdfpOBg3xm13RJF3iatGfKK8Axk4j62Y4NCHEWz2CjpwNNw@mail.gmail.com> In-Reply-To: <568AA373.3060004@freebsd.org> References: <201601031918.u03JImBs012182@repo.freebsd.org> <7fjp-lonn-wny@vfemail.net> <CANCZdfrCGeytb_QrGJFx5fNL5cO4y%2BbsVDk97iPB0MYEB=XiKg@mail.gmail.com> <568AA373.3060004@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 4, 2016 at 9:53 AM, Allan Jude <allanjude@freebsd.org> wrote: > On 2016-01-04 11:50, Warner Losh wrote: > > > > > > On Mon, Jan 4, 2016 at 1:44 AM, Jan Beich <jbeich@vfemail.net > > <mailto:jbeich@vfemail.net>> wrote: > > > > Warner Losh <imp@FreeBSD.org> writes: > > > > > Author: imp > > > Date: Sun Jan 3 19:18:48 2016 > > > New Revision: 293115 > > > URL: https://svnweb.freebsd.org/changeset/base/293115 > > > > > > Log: > > > Use /bin/rm to remove /firstboot*. Otherwise rm -i alias is > picked > > > up and can cause issues on boot with the prompts. > > > > Why do you have ~/.profile stuff leaking into rc* boot sequence? > > > > > > Because I though they were in /root/.profile. I was going to quote > > them here. Also, all other instances of rm in the rc files I noticed > > with a quick grep has /bin/rm. > > > > Turns out it is simply rm's default behavior w/o -f to prompt, I think. > > > > Warner > > Prompting is not the default behaviour, but also check /etc/profile > I specifically did before sending. There's nothing in /etc/profile on the affected system. Nor in /root/.profile. However, the files were on a read-only filesystem which is why rm's default behavior of prompting for files it can't delete kicked in. I though there was a stray alias rm rm -i floating around, but was bad and didn't actually look to confirm until a few minutes ago. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpOBg3xm13RJF3iatGfKK8Axk4j62Y4NCHEWz2CjpwNNw>