Date: Wed, 01 Apr 2020 13:39:21 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 245236] [suggestion] change the default shell for jexec Message-ID: <bug-245236-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245236 Bug ID: 245236 Summary: [suggestion] change the default shell for jexec Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: please@forget.me.uk I want to have different shells in different jails. It looks like there is a bug that prevents that. Unfortunately, this does not work: #jexec 1 /usr/local/bin/bash #echo $SHELL /bin/csh https://github.com/freebsd/freebsd/blob/master/usr.sbin/jexec/jexec.c#L132 For example, Midnight Commander has a build-in shell that relay on variable $SHELL. This means when you start mc (inside a jail) and then access shell = it would be default one ( probably /bin/csh not one that was defined ) based on: https://pushpanel.io/2020/freebsd-12-1-change-the-default-shell-for-jexec/ Would you able to make relevant changes to set it up properly? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245236-227>