[Bugs] [Bug 1590195] /usr/sbin/gcron.py aborts with OSError

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 20 17:38:44 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1590195

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20305 committed in release-4.1 by "Niels de
Vos" <ndevos at redhat.com> with a commit message- gcron: catch OSError as well as
IOError

In case os.open() fails because the file does not exist, an OSError is
raised. To prevent the script to abort uncleanly, catch the OSError in
addition to the IOError.

Change-Id: I48e5b23e17d63639cc33db51b4229249a9887880
Fixes: bz#1590195
Signed-off-by: Niels de Vos <ndevos at redhat.com>
(cherry picked from commit 26b52694feb04c98e6c9436bcd4e23e1687f0237)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list