VirtualBox guest additions do not install correctly
Linux alpine 4.9.54-0-hardened
Following the instructions in https://wiki.alpinelinux.org/wiki/VirtualBox\_shared\_folders:
alpine:~# apk add virtualbox-guest-additions virtualbox-guest-modules-virthardened
(1/2) Installing virtualbox-guest-additions (5.1.26-r0)
Executing virtualbox-guest-additions-5.1.26-r0.pre-install
(2/2) Installing virtualbox-guest-modules-virthardened (4.9.54-r0)
Executing busybox-1.27.1-r0.trigger
depmod: can't open 'modules.builtin': No such file or directory
Executing kmod-24-r0.trigger
depmod: WARNING: could not open /lib/modules/4.9.54-0-virthardened/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/4.9.54-0-virthardened/modules.builtin: No such file or directory
OK: 785 MiB in 105 packages
And as far as I can tell, the module isn’t loaded. Attempts to load it manually as described in the wiki page also fail:
alpine:~# modprobe -a vboxsf
modprobe: WARNING: Module vboxsf not found in directory /lib/modules/4.9.54-0-hardened
I fon’t know exactly what is going on here but the VBox module seems to be being installed into /lib/modules/4.9.54-0-virthardened rather than the location where the rest of the modules seem to be, i.e. /lib/modules/4.9.54-0-hardened
(from redmine: issue id 8021, created on 2017-10-18)