Bug#953562: Possibly causes unbootable state

2020-03-15 Thread Marco d'Itri
On Mar 15, Timo Kluck  wrote:

> Thanks for the suggestion. I ended up doing something similar in
> parallel (apologies for ubuntu-specific instructions):
Then this is not interesting.

-- 
ciao,
Marco


signature.asc
Description: PGP signature


Bug#953562: Possibly causes unbootable state

2020-03-15 Thread Timo Kluck
>> I'll attempt to recover with a live cd and can post updates here if that's
>> useful.
> chroot and run ldconfig, for a start.
Thanks for the suggestion. I ended up doing something similar in
parallel (apologies for ubuntu-specific instructions):

1. boot into the live cd (I used ubuntu 18.04)
2. mount the hard drive (the live cd's graphical session also supports
encrypted drives)
3. copy the live cd's libcrypt.so.1 to the mounted hard drive
4. boot into normal (ie. not live cd) recovery mode and select the
dpkg option. The configure step now completes without issue
5. boot normally

I don't think there's any remaining artefacts: dpkg also replaced the
temporary libcrypt.so.1 with the symlink that it's supposed to be.



Bug#953562: Possibly causes unbootable state

2020-03-15 Thread Marco d'Itri
On Mar 15, Timo Kluck  wrote:

> I'll attempt to recover with a live cd and can post updates here if that's
> useful.
chroot and run ldconfig, for a start.

-- 
ciao,
Marco


signature.asc
Description: PGP signature


Bug#953562: Possibly causes unbootable state

2020-03-15 Thread Timo Kluck
I'd like to report that this is the possible cause of my system being
unbootable at the moment.

I run Ubuntu Focal on a Dell laptop and run regular `dist-upgrade`s. The
latest one seems to have triggered the corner case described above.

Booting fails to get to my desktop. Ubuntu's recovery mode gets to the menu
where "dpkg" and "root shell" are options. Choosing the former, I see log
messages about lib6 configuration failing because perl cannot load because
of libcrypt.so. This is why I suspect this bug as the root cause.

The root shell also fails to start but the logs disappear too quickly.

I'll attempt to recover with a live cd and can post updates here if that's
useful.

Thank you!