[Pbuilder-maint] Bug#439285: Bug#439285: pbuilder login does not create a login shell
Junichi Uekawa
dancer at netfort.gr.jp
Thu Aug 23 23:07:58 UTC 2007
Hi,
> pbuilder login does:
>
> ${CHROOTEXEC} bin/bash
>
> This starts bash as a normal interactive shell, not a login shell.
> This means that it can, for example, be suspended, with unpleasant
> results. bash's exec command allows setting the invoked program's 0th
> argument with the -a option, so it would be possible to start a login
> shell with:
>
> (${CHROOTEXEC} bin/bash -c 'exec -a -bash bin/bash')
Hmm.. is adding '--login' option not enough?
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
More information about the Pbuilder-maint
mailing list