Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not complain about lack of fanotify too loudly #279

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

bobrik
Copy link
Contributor

@bobrik bobrik commented Sep 28, 2023

People get confused by the word "error" and it's not really an error if fanotify is not available (#277, #278). Let's adjust the log message accordingly.

Before:

Error attaching fanotify, using on-demand resolution instead: error calling fanotify_mark for "/sys/fs/cgroup": no such device

After:

Using on-demand resolution for cgroups (fanotify not available)

People get confused by the word "error" and it's not really an error
if fanotify is not available. Let's adjust the log message accordingly.

Before:

```
Error attaching fanotify, using on-demand resolution instead: error calling fanotify_mark for "/sys/fs/cgroup": no such device
```

After:

```
Using on-demand resolution for cgroups (fanotify not available)
```
@bobrik bobrik merged commit 03da190 into cloudflare:master Sep 28, 2023
11 checks passed
@bobrik bobrik deleted the ivan/fanotify-no-error branch September 28, 2023 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant