Comment 10 for bug 28422

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 11 Dec 2005 11:29:22 +0100
From: Christian Perrier <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: Re: bash: Fails to install through debootstrap

reassign 342855 debianutils
severity 342855 critical
clone 342855 -1
retitle 342855 debianutils: should provide /etc/shells (breaks debootstrap install of sid, and D-I)
retitle -1 Should remove the useless shells template file and postinst code to install it
severity -1 normal
thanks

Quoting Christian Perrier (<email address hidden>):
> 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.

Some discussion on #debian-devel showed that the initial diagnosis is
wrong. Apologies, Mathias.

bash fails to install because the code to create /etc/shells is not in
debianutils postinst but still in passwd postinst:

# only install /etc/shells on package install
if test -z "$2" && test ! -f /etc/shells
then
 cp -p /usr/share/passwd/shells /etc/shells
fi

So, it seems that debianutils should embark the templates "shells"
file we have in passwd (attached), install it is
/usr/share/debianutils/shells and use it in its postinst.

I also clone this bug report to passwd because we must think about
*removing* this templates file and the now useless code in
passwd.postinst when debianutils will have made this change.

Clint, it seems we have another transition to manage...:-|