Skip to content

inotify permission denied with default config #542

@adrianrobotka

Description

@adrianrobotka

Description of the problem

The default axosyslog config on almalinux9 logs the following:

Error start file monitor, can not register inotify watch; errno='Permission denied (13)'

SELINUX is in enforcing mode by default on AlmaLinux. It is a possible cause of the problem.

I installed the axosyslog RPM package from pkg.axoflow.io/rpm/nightly with version axosyslog-4.10.1.90.g46dd622-2+20250312T230904.x86_64

Proposed solution

Assuming that SELINUX causes the trouble, I suggest providing SELINUX/AppArmor profiles to cover the default config's needs.
Optionally adding a comment to the config file to look after these.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions