Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMount /lib/modules via COW for StandaloneVM #333
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
marmarek
Mar 8, 2015
Member
Comment by marmarek on 3 Sep 2011 14:54 UTC
http://git.qubes-os.org/gitweb/?p=marmarek/core.git;a=commit;h=ac917ef1d82341608b4750ada6bdb43a7cc98282
|
Comment by marmarek on 3 Sep 2011 14:54 UTC |
marmarek
assigned
rootkovska
Mar 8, 2015
marmarek
added this to the Release 1 Beta 2 milestone
Mar 8, 2015
marmarek
added
enhancement
C: core
P: major
labels
Mar 8, 2015
marmarek
closed this
Mar 8, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
marmarek commentedMar 8, 2015
Reported by joanna on 16 Aug 2011 11:16 UTC
Currently /lib/modules is mounted as R/O. This is problematic in the following scenario:
A user creates a "wififun" Standalone VM to which she delegates one or more WiFi devices. Then, to get the actual "fun" out of this setup, she wants to use "injection", so she must patch some of the WiFi kernel modules. This is normally done by downloading the bleeding edge compat-wireless package, applying some patches from aircrack-ng, and then doing make && make install that copies the new modules into /lib/modules/XXX/. Obviously this won't work in our setup. A temp workaround is to do umount /lib/modules and then do make install. But this requires doing umount on each VM start, and the reload of all the WiFi stack modules.
It should be simple to backup /lib/modules device with a CoW (perhaps located on the same device where we keep swap and root cow?). This would also be more in-line with the philosophy of the Standalone VM -- i.e. that the fs modifications aree persistent.
Migrated-From: https://wiki.qubes-os.org/ticket/333