Missing unix.ko in 4.6 initrd prevents LVM boot

Bug #1585587 reported by knz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Undecided
Unassigned
lvm2 (Ubuntu)
New
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.

Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.