New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount /lib/modules via COW for StandaloneVM #333

Closed
marmarek opened this Issue Mar 8, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 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

@marmarek

This comment has been minimized.

Show comment
Hide comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment