Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
salt.22692
enhance-logging-when-inotify-beacon-is-missing-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File enhance-logging-when-inotify-beacon-is-missing-pyino.patch of Package salt.22692
From ae0e25cd1a451e6079fe3f66ca4ade613e210303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?= <psuarezhernandez@suse.com> Date: Fri, 18 Jun 2021 13:09:22 +0100 Subject: [PATCH] Enhance logging when inotify beacon is missing pyinotify (bsc#1186310) --- salt/beacons/inotify.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/salt/beacons/inotify.py b/salt/beacons/inotify.py index 422c9c4559..3f31d8321b 100644 --- a/salt/beacons/inotify.py +++ b/salt/beacons/inotify.py @@ -50,7 +50,9 @@ log = logging.getLogger(__name__) def __virtual__(): if HAS_PYINOTIFY: return __virtualname__ - return False + err_msg = "pyinotify library is missing" + log.error("Unable to load inotify beacon: {}".format(err_msg)) + return False, err_msg def _get_mask(mask): -- 2.31.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor