Missing unix.ko in 4.6 initrd prevents LVM boot

Bug #1585587 reported by knz on 2016-05-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Undecided
Unassigned
lvm2 (Ubuntu)
Undecided
Unassigned

Bug Description

Somehow recently the default kernel config for kernel 4.6 was changed from CONFIG_UNIX=y to CONFIG_UNIX=m.

This however prevents systems with full disk encryption to start properly, as the lvm encryption tools require unix sockets during set-up in the initrd.

The proper fix would either be to restore CONFIG_UNIX=y or to force the unix.ko module to always be included (and loaded) in the initrd. The latter is likely to be the better approach, thus filing this against initramfs-tools.

knz (knz) wrote :

Found in Ubuntu 16.10

summary: - Missing support for Unix domain sockets during boot in 4.6
+ Missing unix.ko in 4.6 initrd prevents LVM boot
knz (knz) wrote :

Workaround:

add "unix" and "unix_diag" to /etc/initramfs-tools/modules.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers