[buildd-tools-devel] Bug#674040: Bug#674040: please change fallback shell handling
Roger Leigh
rleigh at codelibre.net
Wed May 23 22:52:00 UTC 2012
tags 674040 + pending
thanks
On Sun, May 20, 2012 at 09:50:52PM +0200, Peter Palfrader wrote:
> if a user's shell is not available in the chroot, schroot falls back to
> /bin/sh.
>
> That's probably ok for scripted stuff, but as an interactive shell dash
> /bin/sh is often quite limited.
>
> Please allow changing the default fallback shell in a config file, or
> just try bin/bash before bin/sh?
Fixed in git for 1.5.3. From the docs:
-s, --shell=shell
Use shell as the login shell. When running a login shell a num‐
ber of potential shells will be considered, in this order: the
command in the SHELL environment variable (if --preserve-envi‐
ronment is used, or preserve-environment is enabled), the user's
shell in the ‘passwd’ database, /bin/bash and finally /bin/sh.
This option overrides this list, and will use the shell speci‐
fied. This option also overrides the shell configuration key,
if set.
shell=shell
When running a login shell a number of potential shells will be
considered, in this order: the command in the SHELL environment
variable (if --preserve-environment is used, or preserve-envi‐
ronment is enabled), the user's shell in the ‘passwd’ database,
/bin/bash and finally /bin/sh. This setting overrides this
list, and will use the shell specified. It may be overridden
using the --shell option.
Prerelease version at http://people.debian.org/~rleigh/schroot-1.5.3.tar.xz
This also includes the groups warning fix.
Hope this meets your needs.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
More information about the Buildd-tools-devel
mailing list