[lxc-users] Enabling fanotify in LXD container

Lai Wei-Hwa whlai at robco.com
Mon Jun 18 15:34:50 UTC 2018


I have fanotify enabled on my 16.04.4 host: 

root at R510-LXD5-SMB:~# cat /boot/config-4.4.0-128-generic |grep -i fanotify 
CONFIG_FANOTIFY=y 
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y 

In my container, boot only containers grub so I'm not sure how to check. But I'm pretty sure it's not available (fanotify_init failed) . Can someone explain: 


    1. how to enable fanotify on container 
    2. how to verify that fanotify is running 

Best Regards, 

Lai Wei-Hwa 
IT Administrator 
T. (514) 367-2252 ext 6308 C. (514) 218-7400 [ mailto:whlai at robco.com | whlai at robco.com ] 
Montreal - Toronto - Edmonton [ https://www.robco.com/ | www.robco.com ] 

ISO 9001 / 14001 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180618/b17eda2a/attachment.html>


More information about the lxc-users mailing list