You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just a suggestion, but how about copying the module files to /tmp and then just creating a symlink to it? That way a) it'll be faster and b) the files will automatically get cleaned on next boot and you won't need a separate service to do this.
The text was updated successfully, but these errors were encountered:
Users might have a script to clean out /tmp periodically, or they might not have a tmpfs mounted on /tmp. The first case would render this package useless; the second would defeat the purpose of a move to /tmp.
If a system is running low on memory, copying potentially several hundred megabytes of files to /tmp could make the system run out of memory.
The fact that /tmp is world-writable creates major security concerns regarding how the files are copied. Specifically, the script (which runs as root) would need to be careful not to reuse an existing directory that was created by another process, or unprivileged users could potentially load arbitrary kernel modules..
You would still need to clean up the symlink on the next reboot.
This is just a suggestion, but how about copying the module files to /tmp and then just creating a symlink to it? That way a) it'll be faster and b) the files will automatically get cleaned on next boot and you won't need a separate service to do this.
The text was updated successfully, but these errors were encountered: