Comment 35 for bug 30791

Revision history for this message
Ian Jackson (ijackson) wrote :

Created an attachment (id=5583)
hook which breaks bash when the problem occurs

I have tested another breezy->dapper upgrade and this bug has not recurred for
me.

I have a rather unfriendly suggestion to make :-). I wrote a test program
(attached, compreg.c) which is intended to replace /bin/bash. When the problem
occurs, it starts grumbling on stderr and/or failing.

If you have a machine you don't mind breaking, please
 1. make sure the compreg.dat doesn't already exist; if it does then it's too
late to see what created it.
 2. update-alternatives --rename /bin/bash
 3. cp compreg /bin/bash
 4. run all updates and installations in script or similar if possible

When the machine breaks, you'll have found the problem. To make the machine
working again, boot from a rescue disk or equivalent and un-rename bash with
update-alternatives --remove --rename /bin/bash