Comment 32 for bug 1611078

Revision history for this message
dt9394 (dknyvice) wrote :

I notice container upgrade from 14.04 to 16.04 do not have /lib/modules directory. It caused snap install error when /lib/modules do not exist in the container.

- Run configure hook of "core" snap if present (run hook "configure": cannot perform operation: mount --rbind /lib/modules /tmp/snap.rootfs_5c56PD//lib/modules: No such file or directory)

solution: mkdir /lib/modules

proposed solution: create /lib/modules when lxd container detected.