Bug#928658: bilibop-lockfs: Mounting /boot fails, mount.lockfs is broken

2019-05-10 Thread quidame
Hi,

On 08/05/2019 14:57, Alan wrote:
> 
> The system fails to boot after installing bilibop-lockfs and activating it on 
> a freshly installed Debian (Buster/testing).

Yes, I reproduced it.

> Please note that this was tested on a encrypted LVM created during Debian 
> installation.

It doesn't matter. As said in the bug title, mount.lockfs is broken,
you're right. A test against mount path has not been updated, and fails
on buster fresh installs - it doesn't on buster upgraded from stretch.

The culprit test in the script expects /proc/${PPID}/exe points to
/bin/mount (i.e. the parent process of mount.lockfs is /bin/mount). But
on buster, /bin is a symlink to /usr/bin so the actual executable is
/usr/bin/mount instead.

The bug is fixed upstream now, and the fix will be released soon. A
quick workaround (tested) is to turn "/bin/mount" into "/usr/bin/mount"
in /lib/bilibop/lockfs_mount_helper (line 58).

Thank you for the report,
quidame



signature.asc
Description: OpenPGP digital signature


Bug#928658: bilibop-lockfs: Mounting /boot fails, mount.lockfs is broken

2019-05-08 Thread Alan
Package: bilibop-lockfs
Version: 0.5.5
Severity: important

Hello,

The system fails to boot after installing bilibop-lockfs and activating it on a 
freshly installed Debian (Buster/testing).

Please note that this was tested on a encrypted LVM created during Debian 
installation.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bilibop-lockfs depends on:
ii  bilibop-common   0.5.5
ii  initramfs-tools  0.133
ii  udev 241-3

Versions of packages bilibop-lockfs recommends:
ii  cryptsetup  2:2.1.0-3

Versions of packages bilibop-lockfs suggests:
pn  aufs-dkms  
pn  bilibop-device-policy  
pn  gnome-icon-theme   
ii  libnotify-bin  0.7.7-4
ii  plymouth   0.9.4-1.1

-- no debconf information