Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Jan Beich
Jan Beich writes: > grarpamp writes: > >> BSD community can definitely volunteer to make benchmark of >> its shell vs others, determine if and where improvements to make. >> Many apps never get checked for obvious speedups, >> if so it might become fastest shell even with the new features. > > L

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Jan Beich
grarpamp writes: > BSD community can definitely volunteer to make benchmark of > its shell vs others, determine if and where improvements to make. > Many apps never get checked for obvious speedups, > if so it might become fastest shell even with the new features. Like https://github.com/shellsp

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Baptiste Daroussin
On Wed, Sep 22, 2021 at 10:03:40PM +0200, Alban Hertroys wrote: > > > On 22 Sep 2021, at 10:36, Baptiste Daroussin wrote: > > > > Hello, > > > > TL;DR: this is not a proposal to deorbit csh from base!!! > > (…) > > > Recently our sh(1) has receive update to make it more user friendly in > > i

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Chris
On 2021-09-22 12:26, Marek Zarychta wrote: W dniu 22.09.2021 o 19:46, Warner Losh pisze: On Wed, Sep 22, 2021 at 9:35 AM John Baldwin wrote: On 9/22/21 1:36 AM, Baptiste Daroussin wrote: Hello, TL;DR: this is not a proposal to deorbit csh from base!!! For years now, csh is the default root

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Juraj Lutter
> On 22 Sep 2021, at 10:36, Baptiste Daroussin wrote: > Hello, > > TL;DR: this is not a proposal to deorbit csh from base!!! > > > This makes it a usable shell by default, which is why I would like to propose > to > make it the default shell for root starting FreeBSD 14.0-RELEASE (not MFCed

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread grarpamp
> propose to make it the default shell for root starting FreeBSD 14.0-RELEASE Make it so. The whole rest of rc, pkg, base scripts and subsystems use a lot of sh, not csh. So this is a good compatibility, consistancy, and gotcha-removing update, needed for decades. Even "bash" is a majority spoke

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Alban Hertroys
> On 22 Sep 2021, at 10:36, Baptiste Daroussin wrote: > > Hello, > > TL;DR: this is not a proposal to deorbit csh from base!!! (…) > Recently our sh(1) has receive update to make it more user friendly in > interactive mode: > * command completion (thanks pstef@) > * improvement in the emacs

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Marek Zarychta
W dniu 22.09.2021 o 19:46, Warner Losh pisze: > On Wed, Sep 22, 2021 at 9:35 AM John Baldwin wrote: > >> On 9/22/21 1:36 AM, Baptiste Daroussin wrote: >>> Hello, >>> >>> TL;DR: this is not a proposal to deorbit csh from base!!! >>> >>> For years now, csh is the default root shell for FreeBSD, csh

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Tom Jones
On Wed, Sep 22, 2021 at 08:34:58AM -0700, John Baldwin wrote: > On 9/22/21 1:36 AM, Baptiste Daroussin wrote: > > Hello, > > > > TL;DR: this is not a proposal to deorbit csh from base!!! > > > > For years now, csh is the default root shell for FreeBSD, csh can be > > confusing > > as a default s

WITH_LLVM_BINUTILS: objcopy: error: invalid output format: 'efi-app-x86_64' *** [boot1.efi]

2021-09-22 Thread FreeBSD User
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello list, Trying to "crosscompile" a 13-STABLE appliance on 14-CURRENT ( FreeBSD 14.0-CURRENT #8 main-n249550-8db1669959ce: Wed Sep 22 05:39:53 CEST 2021 amd64) with WITH_LLVM_BINUTILS=YES set in /etc/src.conf (and a complete fresh rebuild of t

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Gary Jennejohn
On Wed, 22 Sep 2021 08:52:53 -0700 (PDT) "Rodney W. Grimes" wrote: > > On Wed, Sep 22, 2021 at 08:34:58AM -0700, John Baldwin wrote: > > > On 9/22/21 1:36 AM, Baptiste Daroussin wrote: > > > > Hello, > > > > > > > > TL;DR: this is not a proposal to deorbit csh from base!!! > > > > > > > > F

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Warner Losh
On Wed, Sep 22, 2021 at 9:35 AM John Baldwin wrote: > On 9/22/21 1:36 AM, Baptiste Daroussin wrote: > > Hello, > > > > TL;DR: this is not a proposal to deorbit csh from base!!! > > > > For years now, csh is the default root shell for FreeBSD, csh can be > confusing > > as a default shell for many

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Rodney W. Grimes
> On Wed, Sep 22, 2021 at 08:34:58AM -0700, John Baldwin wrote: > > On 9/22/21 1:36 AM, Baptiste Daroussin wrote: > > > Hello, > > > > > > TL;DR: this is not a proposal to deorbit csh from base!!! > > > > > > For years now, csh is the default root shell for FreeBSD, csh can be > > > confusing >

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Shawn Webb
On Wed, Sep 22, 2021 at 08:34:58AM -0700, John Baldwin wrote: > On 9/22/21 1:36 AM, Baptiste Daroussin wrote: > > Hello, > > > > TL;DR: this is not a proposal to deorbit csh from base!!! > > > > For years now, csh is the default root shell for FreeBSD, csh can be > > confusing > > as a default s

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread John Baldwin
On 9/22/21 1:36 AM, Baptiste Daroussin wrote: Hello, TL;DR: this is not a proposal to deorbit csh from base!!! For years now, csh is the default root shell for FreeBSD, csh can be confusing as a default shell for many as all other unix like settled on a bourne shell compatible interactive shell

Re: latest current fails to boot.

2021-09-22 Thread Johan Hendriks
On 22/09/2021 16:09, Tomoaki AOKI wrote: On Wed, 22 Sep 2021 05:47:46 -0700 David Wolfskill wrote: On Wed, Sep 22, 2021 at 02:39:37PM +0200, Johan Hendriks wrote: I did a git pull this morning and it fails to boot. I hangs at Setting hostid : 0x917bf354 This is a vm running on vmware. If i

Re: latest current fails to boot.

2021-09-22 Thread Tomoaki AOKI
On Wed, 22 Sep 2021 05:47:46 -0700 David Wolfskill wrote: > On Wed, Sep 22, 2021 at 02:39:37PM +0200, Johan Hendriks wrote: > > I did a git pull this morning and it fails to boot. > > I hangs at Setting hostid : 0x917bf354 > > > > This is a vm running on vmware. > > If i boot the old kernel from

Re: Using modern APIs in Rust on FreeBSD

2021-09-22 Thread Konstantin Belousov
On Wed, Sep 22, 2021 at 06:27:09AM +0200, Damjan Jovanovic wrote: > On Wed, Sep 22, 2021 at 6:08 AM Alan Somers wrote: > > > tldr; should the Rust ecosystem ditch FreeBSD 10 compat for new code? > > > > Rust uses FFI to talk to the OS's C library. That makes cross-compiling a > > breeze. Unfort

Re: latest current fails to boot.

2021-09-22 Thread Konstantin Belousov
On Wed, Sep 22, 2021 at 02:39:37PM +0200, Johan Hendriks wrote: > I did a git pull this morning and it fails to boot. > I hangs at Setting hostid : 0x917bf354 > > This is a vm running on vmware. > If i boot the old kernel from yesterday it boots normally. > > uname -a > FreeBSD varnish-cdn-node03

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Renato Botelho
+1 for keeping this behavior on default config On 22/09/21 06:19, Daniel Morante via freebsd-current wrote: Will history/completion continue to work the same way? (for example typing part of the command, pressing UP and having it complete based on history) On 9/22/2021 4:36 AM, Baptiste Darou

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Piotr P. Stefaniak
On 2021-09-22 10:36:45, Baptiste Daroussin wrote: Recently our sh(1) has receive update to make it more user friendly in interactive mode: * command completion (thanks pstef@) * improvement in the emacs mode, to make it behave by default like other shells * improvement in the vi mode (in particu

Re: latest current fails to boot.

2021-09-22 Thread David Wolfskill
On Wed, Sep 22, 2021 at 02:39:37PM +0200, Johan Hendriks wrote: > I did a git pull this morning and it fails to boot. > I hangs at Setting hostid : 0x917bf354 > > This is a vm running on vmware. > If i boot the old kernel from yesterday it boots normally. > > uname -a > FreeBSD varnish-cdn-node03

latest current fails to boot.

2021-09-22 Thread Johan Hendriks
I did a git pull this morning and it fails to boot. I hangs at Setting hostid : 0x917bf354 This is a vm running on vmware. If i boot the old kernel from yesterday it boots normally. uname -a FreeBSD varnish-cdn-node03 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n249518-5572fda3a2f: Tue Sep 21 14:

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Mariusz Zaborski
+1 from me. On Wed, 22 Sept 2021 at 12:31, Chris Stephan wrote: > I completely agree. It will save me the ‘/bin/sh’ at the beginning of each > ‘su -‘ session. Also, it will simplify building extra small FreeBSD images, > allowing an easier removal of ‘csh’. > > I use csh from time to time, but I

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Chris Stephan
I completely agree. It will save me the ‘/bin/sh’ at the beginning of each ‘su -‘ session. Also, it will simplify building extra small FreeBSD images, allowing an easier removal of ‘csh’. I use csh from time to time, but I do wish it would take a much more explicit action so my brain has switch

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Marek Zarychta
W dniu 22.09.2021 o 10:36, Baptiste Daroussin pisze: > Hello, > > TL;DR: this is not a proposal to deorbit csh from base!!! > > For years now, csh is the default root shell for FreeBSD, csh can be confusing > as a default shell for many as all other unix like settled on a bourne shell > compatibl

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Baptiste Daroussin
On Wed, Sep 22, 2021 at 05:19:38AM -0400, Daniel Morante via freebsd-current wrote: > Will history/completion continue to work the same way? (for example typing > part of the command, pressing UP and having it complete based on history) No, this is a csh specific behaviour. (not it can probably b

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Daniel Morante via freebsd-current
Will history/completion continue to work the same way? (for example typing part of the command, pressing UP and having it complete based on history) On 9/22/2021 4:36 AM, Baptiste Daroussin wrote: Hello, TL;DR: this is not a proposal to deorbit csh from base!!! For years now, csh is the defa

[HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread Baptiste Daroussin
Hello, TL;DR: this is not a proposal to deorbit csh from base!!! For years now, csh is the default root shell for FreeBSD, csh can be confusing as a default shell for many as all other unix like settled on a bourne shell compatible interactive shell: zsh, bash, or variant of ksh. Recently our sh