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

> On 2016-01-04 11:50, Warner Losh wrote:
> >
> >
> > On Mon, Jan 4, 2016 at 1:44 AM, Jan Beich <jbe...@vfemail.net
> > <mailto:jbe...@vfemail.net>> wrote:
> >
> >     Warner Losh <i...@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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to