Enable user namespaces in Debian kernel

I’m trying to figure out how to enable user namespaces capability in my kernel (I think CAP_SYS_USER_NS). I’m using Debian Stretch, kernel 4.6.0-1-amd64. My assumption is there is a way to turn on user namespaces and recompile the kernel. After some hours searching, I can find a post of doing this in Ubuntu (https://blog.tutum.co/2013/12/14/enabling-the-user-namespace-in-ubuntu-13-10-saucy/) but … Read more

VirtualBox Ubuntu Guest Additions not installing : modprobe vboxsf failed

I just installed this software off virtual box, i downloaded the ISO off the official ubuntu website, was the lastest LTS. I attempted to install Guest Additions using the ‘Insert Guest Additions CD Image”. Result: Verifying archive integrity… All good. Uncompressing VirtualBox 5.2.0 Guest Additions for Linux…….. VirtualBox Guest Additions installer Removing installed version 5.2.0 … Read more

Unable to install VIrtualbox, `”Specify KERN_DIR=“` — installing Virtual Box to Debian?

I am getting this error: Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop. Basically I’m doing: $ sudo /etc/init.d/vboxdrv setup Removing existing VirtualBox non-DKMS kernel modules [ OK ] Building the VirtualBox Guest Additions kernel modules The headers for the current running kernel … Read more

How to get a list of active drivers that are statically built into the linux kernel?

While I can use lsmod in order to show currently active kernel modules, how can I see which drivers are statically built into the kernel AND currently active? Answer You could do a cat /lib/modules/$(uname -r)/modules.builtin From the Kernel Documentaton modules.builtin This file lists all modules that are built into the kernel. This is used … Read more

Is it possible to make the OOM killer intervent earlier?

I try to tweak my development system to maximal reliability. I disabled swap, because for GUI usage it mostly renders the machine unresponsive in such a way not useable anymore. Nevertheless, if agressive appications eat up the memory, some mechanisms seem to kick in that making the most out of it on cost of speed. … Read more