Skip to content

[DOCS] Beacon inotify install instructions do not work #63693

Closed as not planned
Closed as not planned

Description

@joshmcorreia

Description
The Beacon inotify install instructions do not work

According to the documentation, inotify can be installed by running

salt myminion pkg.install python-inotify

but this causes the following error to show up in the systemctl logs:

$ sudo systemctl status salt-minion
...
Feb 09 20:20:39 ip-10-0-0-248 salt-minion[1319]: [WARNING ] No validate function found for inotify, running basic beacon validation.
Feb 09 20:20:39 ip-10-0-0-248 salt-minion[1319]: [WARNING ] Unable to process beacon inotify
Feb 09 20:20:40 ip-10-0-0-248 salt-minion[1319]: [WARNING ] No validate function found for inotify, running basic beacon validation.
Feb 09 20:20:40 ip-10-0-0-248 salt-minion[1319]: [WARNING ] Unable to process beacon inotify

I have tried installing it by running

sudo salt '*' pip.install python-inotify

but then I receive the following error

ip-10-0-0-248:
    ----------
    pid:
        1602
    retcode:
        1
    stderr:
        ERROR: Could not find a version that satisfies the requirement python-inotify (from versions: 0.6-test, 0.6-test.linux-x86_64)
        ERROR: No matching distribution found for python-inotify
    stdout:

What is the proper way to install this?

Suggested Fix
Update the documentation to include how to properly install the python-inotify package

Type of documentation
Salt documentation

Location or format of documentation
https://docs.saltproject.io/en/latest/topics/beacons/index.html#id2

Activity

  1. added
    documentation
    on Feb 9, 2023
  2. OrangeDog commented on Feb 10, 2023

    @OrangeDog
    Contributor

    That won't work for onedir. This should:

    salt myminion pip.install pyinotify

    The inotify beacon requires Pyinotify on the minion

    That example is wrong for most systems anyway, as the package you'd want is python3-inotify.

  3. added
    severity-high
    and removed on Feb 13, 2023
  4. Ch3LL commented on Mar 20, 2023

    @Ch3LL
    Contributor

    @joshmcorreia did you see @OrangeDog 's comment? Did that resolve the issue for you?

  5. joshmcorreia commented on Mar 22, 2023

    @joshmcorreia
    ContributorAuthor

    @joshmcorreia did you see @OrangeDog 's comment? Did that resolve the issue for you?

    Yes that resolved the issue, but the documentation still needs to be updated to reflect that.

  6. joshmcorreia commented on Mar 22, 2023

    @joshmcorreia
    ContributorAuthor

    I would make a PR myself but I'm unfamiliar with how it would affect the non-onedir releases.

  7. added this to the Sulphur v3006.26 milestone on Jun 25, 2026
  8. dwoz commented on Oct 28, 2026

    @dwoz
    Contributor

    Closing — consolidated into #70585. The checkbox for this item is in the appropriate theme section of that tracker. Please pick up the sub-item there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Beacondocumentationseverity-hightime-estimate-sprint

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions