Bug#848204: liblz4.so.1 is required for booting, but install in /usr/lib

2016-12-14 Thread Michael Biebl
Am 15.12.2016 um 05:11 schrieb Guo Yixuan:

> Thank you for the reply. The reason might be that I have initramfs-tools at
> 0.120 and the behaviour change was introduced at 0.121.

That could be it, yes.

It also looks like you are using a custom kernel (4.8.11-1-miz), so make
sure to build that kernel with initramfs-tools support.

Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#848204: liblz4.so.1 is required for booting, but install in /usr/lib

2016-12-14 Thread 郭溢譞
Package: liblz4-1
Version: 0.0~r131-2
Severity: important

Hello,

In a recent reboot, I found that my system got stuck at cryptsetup part
(I have encrypted / and /usr), with an error message from /bin/ps saying
that liblz4.so.1 is not found.

It appears that /bin/ps is linked to liblz4, and is required early
during booting, but liblz4 is installed in
  /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
thus unavailable before /usr is mounted.

$ aptitude why procps liblz4-1:amd64
i   procps  Dependslibprocps6
i A libprocps6  Dependslibsystemd0 (>= 209)
i A libsystemd0 PreDepends liblz4-1 (>= 0.0~r113)

After booting to recovery mode and copying
  /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
to
  /lib/x86_64-linux-gnu/liblz4.so.1,
the system boots normally again.

Therefore, please considering install the library to /lib instead of
/usr/lib.

Thanks,
Yixuan



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.11-1-miz (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages liblz4-1:amd64 depends on:
ii  libc6  2.24-8

liblz4-1:amd64 recommends no packages.

liblz4-1:amd64 suggests no packages.

-- no debconf information