[arch-general] Linux Kernel capabilities

arnaud gaboury arnaud.gaboury at gmail.com
Fri Jul 17 10:20:39 UTC 2015


I build my own kernel with ABS.

To allow my nspawn container to load kernel modules, I must add this to
nspawn unit file:
--capability=CAP_SYS_MODULE.

Unfortunately, it doesn't work and needed modules are not loaded from
container but only from host. I realized there is no #define CAP_SYS_MODULE
  in /usr/lib/modules/4.1.2-2-ARCH/build/include/linux/capability.h.

Is this specific to the arch kernel ?

Thank you for hints.

-- 

google.com/+arnaudgabourygabx
<https://plus.google.com/_/notifications/emlink?emr=05814804238976922326&emid=CKiv-v6PvboCFcfoQgod6msAAA&path=%2F116159236040461325607%2Fop%2Fu&dt=1383086841306&ub=50>


More information about the arch-general mailing list