Daniel Cross
12/12/2023, 1:43 AM/etc/%%
- the errors all specify paths ending with /
, e.g. message=Could not add inotify watch on: /etc/pki/tls/openssl.cnf/
These are not directories. What I’m wondering is, is there some way to recurse but also to tell it - once you get to the last folder stop there? Or do we just ignore inotify errors ending in /
? It’s a little hard to determine why the error is present - I have to presume it’s trying to watch something as a folder and failing, but, how would I know if I also have a limits issue?
I also wonder if it’s possible to not follow symlinks, as it ends up trying to watch things in /proc, /dev/null etc 🤔Daniel Cross
12/14/2023, 3:41 AMfile_paths_query
got around this. Tempted to look at raising an improvement for being able to use the directory
column now 🤔
"file_paths_query": {
"etc_config": [
"select DISTINCT path from file where directory LIKE '/etc%%'"
]
},