should add-shell handle that case? How else can the rbash entry be created?
Christian Perrier writes:
> Package: bash
> Version: 3.1-1
> Severity: important
>
> I hesitated tagging this as RC because it currently breaks unstable installs
> with D-I....but I leave this up to you, Mathias.
>
> Installing bash with debootstrap fails:
>
> Dec 11 09:22:10 debootstrap: Setting up bash (3.1-1) ...
> Dec 11 09:22:10 debootstrap: cat:
> Dec 11 09:22:10 debootstrap: /etc/shells
> Dec 11 09:22:10 debootstrap: : No such file or directory
> Dec 11 09:22:10 debootstrap:
> Dec 11 09:22:10 debootstrap: Either another instance of /usr/sbin/add-shell is running, or it was previously interrupted.
> Dec 11 09:22:10 debootstrap: Please examine /etc/shells.tmp to see if it should be moved onto /etc/shells.
> Dec 11 09:22:10 debootstrap: Setting up login (4.0.13-7) ...
> Dec 11 09:22:10 debootstrap: dpkg: error processing bash (--configure):
> Dec 11 09:22:10 debootstrap: subprocess post-installation script returned error exit status 1
> Dec 11 09:22:11 debootstrap:
> Dec 11 09:22:11 debootstrap: Setting up lsb-base (3.0-12) ...
> Dec 11 09:22:11 debootstrap: Setting up passwd (4.0.13-7) ...
> Dec 11 09:22:14 debootstrap:
> Dec 11 09:22:14 debootstrap: Setting up initscripts (2.86.ds1-6) ...
> Dec 11 09:22:16 debootstrap:
> Dec 11 09:22:16 debootstrap: Setting up sysvinit (2.86.ds1-6) ...
> Dec 11 09:22:16 debootstrap: sysvinit: creating /dev/initctl
> Dec 11 09:22:19 debootstrap: init:
> Dec 11 09:22:19 debootstrap: timeout opening/writing control channel /dev/initctl
> Dec 11 09:22:19 debootstrap:
> Dec 11 09:22:19 debootstrap: Setting up debconf-i18n (1.4.62) ...
> Dec 11 09:22:19 debootstrap: Setting up debconf (1.4.62) ...
> Dec 11 09:22:20 debootstrap:
> Dec 11 09:22:20 debootstrap: Errors were encountered while processing:
> Dec 11 09:22:20 debootstrap: bash
>
> This can be reproduced with debootstrap itself. It breaks all installs of
> unstable with Debian Installer, also.
Message-ID: <email address hidden>
Date: Sun, 11 Dec 2005 11:14:41 +0100
From: Matthias Klose <email address hidden>
To: Christian Perrier <email address hidden>, <email address hidden>, <email address hidden>
CC: <email address hidden>
Subject: Re: Bug#342855: bash: Fails to install through debootstrap
clone 342855 -1
reassign 342855 debianutils
thanks
should add-shell handle that case? How else can the rbash entry be created?
Christian Perrier writes:
> Package: bash
> Version: 3.1-1
> Severity: important
>
> I hesitated tagging this as RC because it currently breaks unstable installs
> with D-I....but I leave this up to you, Mathias.
>
> Installing bash with debootstrap fails:
>
> Dec 11 09:22:10 debootstrap: Setting up bash (3.1-1) ...
> Dec 11 09:22:10 debootstrap: cat:
> Dec 11 09:22:10 debootstrap: /etc/shells
> Dec 11 09:22:10 debootstrap: : No such file or directory
> Dec 11 09:22:10 debootstrap:
> Dec 11 09:22:10 debootstrap: Either another instance of /usr/sbin/add-shell is running, or it was previously interrupted.
> Dec 11 09:22:10 debootstrap: Please examine /etc/shells.tmp to see if it should be moved onto /etc/shells.
> Dec 11 09:22:10 debootstrap: Setting up login (4.0.13-7) ...
> Dec 11 09:22:10 debootstrap: dpkg: error processing bash (--configure):
> Dec 11 09:22:10 debootstrap: subprocess post-installation script returned error exit status 1
> Dec 11 09:22:11 debootstrap:
> Dec 11 09:22:11 debootstrap: Setting up lsb-base (3.0-12) ...
> Dec 11 09:22:11 debootstrap: Setting up passwd (4.0.13-7) ...
> Dec 11 09:22:14 debootstrap:
> Dec 11 09:22:14 debootstrap: Setting up initscripts (2.86.ds1-6) ...
> Dec 11 09:22:16 debootstrap:
> Dec 11 09:22:16 debootstrap: Setting up sysvinit (2.86.ds1-6) ...
> Dec 11 09:22:16 debootstrap: sysvinit: creating /dev/initctl
> Dec 11 09:22:19 debootstrap: init:
> Dec 11 09:22:19 debootstrap: timeout opening/writing control channel /dev/initctl
> Dec 11 09:22:19 debootstrap:
> Dec 11 09:22:19 debootstrap: Setting up debconf-i18n (1.4.62) ...
> Dec 11 09:22:19 debootstrap: Setting up debconf (1.4.62) ...
> Dec 11 09:22:20 debootstrap:
> Dec 11 09:22:20 debootstrap: Errors were encountered while processing:
> Dec 11 09:22:20 debootstrap: bash
>
> This can be reproduced with debootstrap itself. It breaks all installs of
> unstable with Debian Installer, also.