简体   繁体   中英

how to enable audit framework in arch linux 3.12 kernel?

I want to use audit framework on my latest arch linux, but running sudo auditctl -w /home/ in console gives me

Error - audit support not in kernel Cannot open netlink audit socket

I tried to enable of course audit via kernel boot params setting audit flag: GRUB_CMDLINE_LINUX_DEFAULT="quiet audit=1" but nothing changes after reboot, still the same error.

Anybody knows how to fix it?

Recompile a kernel using ABS to get audit support. You will need to add CONFIG_AUDIT=y in the config file before makepkg -s .

PS Compilation might take very long.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM