svn commit: r293115 - head/etc

Warner Losh imp at bsdimp.com
Mon Jan 4 16:56:31 UTC 2016


On Mon, Jan 4, 2016 at 9:53 AM, Allan Jude <allanjude at freebsd.org> wrote:

> On 2016-01-04 11:50, Warner Losh wrote:
> >
> >
> > On Mon, Jan 4, 2016 at 1:44 AM, Jan Beich <jbeich at vfemail.net
> > <mailto:jbeich at vfemail.net>> wrote:
> >
> >     Warner Losh <imp at 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


More information about the svn-src-head mailing list