Hi all,
I want to enable FANOTIFY in alpine linux VM, I see it's disabled by
default. A few articles suggested I can enable this and build a custom
kernel, is there any other way to enable this on a running VM, without
building kernel?
I tried searching for linux kernel modules which can be enabled on runtime,
but couldn't find one.
Thanks
On Thu Apr 6, 2023 at 11:09 AM CEST, cyber psych wrote:
> Hi all,>> I want to enable FANOTIFY in alpine linux VM, I see it's disabled by> default. A few articles suggested I can enable this and build a custom> kernel, is there any other way to enable this on a running VM, without> building kernel?
it is already enabled in linux-lts and linux-virt, in edge and 3.17.
>> I tried searching for linux kernel modules which can be enabled on runtime,> but couldn't find one.>> Thanks
Didn't notice that, thanks @alice
On Thu, Apr 6, 2023 at 2:50 PM alice <alice@ayaya.dev> wrote:
> On Thu Apr 6, 2023 at 11:09 AM CEST, cyber psych wrote:> > Hi all,> >> > I want to enable FANOTIFY in alpine linux VM, I see it's disabled by> > default. A few articles suggested I can enable this and build a custom> > kernel, is there any other way to enable this on a running VM, without> > building kernel?>> it is already enabled in linux-lts and linux-virt, in edge and 3.17.>> >> > I tried searching for linux kernel modules which can be enabled on> runtime,> > but couldn't find one.> >> > Thanks>>
On Thu Apr 6, 2023 at 11:49 AM CEST, cyber psych wrote:
> Didn't notice that, thanks @alice
for future reference, since you might want to know how to find if a running
kernel has something enabled:
$ doas modprobe configs
$ zcat /proc/config.gz | grep CONFIG_FAN
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
this will correspond to the currently running kernel configuration.
Thanks. Yeah I did that, I was using 3.16 and so it showed me that it was
disabled. Didn't check on the latest version.
On Thu, 6 Apr, 2023, 3:25 pm alice, <alice@ayaya.dev> wrote:
> On Thu Apr 6, 2023 at 11:49 AM CEST, cyber psych wrote:> > Didn't notice that, thanks @alice>> for future reference, since you might want to know how to find if a running> kernel has something enabled:>> $ doas modprobe configs> $ zcat /proc/config.gz | grep CONFIG_FAN> CONFIG_FANOTIFY=y> CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y>> this will correspond to the currently running kernel configuration.>