Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2012 11:25:02 +0200
From:      Eduardo Morras <nec556@retena.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Pull in upstream before 9.1 code freeze?
Message-ID:  <4FA882720124B385@> (added by postmaster@resmaa13.ono.com)
In-Reply-To: <20120705131518.06898223@bhuda.mired.org>
References:  <CA%2BQLa9B-Dm-=hQCrbEgyfO4sKZ5aG72_PEFF9nLhyoy4GRCGrA@mail.gmail.com> <4FF4BEED.10103@FreeBSD.org> <62039A45-92E4-4588-988D-6DF39D7B01E5@bsdimp.com> <201207050922.25815.j.mckeown@ru.ac.za> <20120705082857.GB37083@server.rulingia.com> <4FF55864.8040807@FreeBSD.org> <4FF5BE93.4010509@my.gd> <20120705170944.GA43725@DataIX.net> <20120705131518.06898223@bhuda.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 19:15 05/07/2012, Mike Meyer wrote:
>On Thu, 5 Jul 2012 13:09:44 -0400
>Jason Hellenthal <jhellenthal@dataix.net> wrote:
> > On Thu, Jul 05, 2012 at 06:19:31PM +0200, Damien Fleuriot wrote:
> > > As long as it can be toggled off system-wide, persistently (sysctl?),=
 I
> > > can't see the harm in bringing that in.
> > Haha sysctl... thats going quite a bit too far into the system for this.
>
>Yup. A sysctl (or rc.conf variable) intended specifically to control
>the behavior of shells is an even worse idea than turning this nanny
>behavior on for everyone.

Add sysctl for apps is a no-no, sysctl is for=20
system control, not userland control. The rc.conf=20
is not for that neither, it has system wide=20
configuration, not app specific config.

The best solution (for me) is leave sh untouched=20
without this functionality. Fork it and make a=20
sh++ port with this (and more) functionality ,=20
install it and use it. Is it really too much work=20
to change your default (non-root) shell? I use zsh f.ex.

Take care, if you start the system in rescue mode=20
or singleuser mode, will the new "hook" feature=20
search the unmounted partitions for ports info?=20
will it connect to internet for that? will fail miserably?

>         <mike

L

----------------------------------------------
Si la vida te da la espalda, =A1tocale el culo! =20





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FA882720124B385>